/external/easymock/src/org/easymock/ |
Capture.java | 23 * Will contain what was captured by the <code>capture()</code> matcher. Knows
24 * if something was captured or not (allows to capture a null value).
27 * Type of the captured element
38 * Default constructor. Only the last element will be captured
55 * Will reset capture to a "nothing captured yet" state
62 * @return true if something was captured
69 * Return captured value
72 * if nothing was captured yet or if more than one value was
73 * captured
74 * @return The last captured value [all...] |
CaptureType.java | 19 * Defines how arguments will be captured by a <tt>Capture</tt> object
|
/external/llvm/lib/Analysis/ |
CaptureTracking.cpp | 1 //===--- CaptureTracking.cpp - Determine whether a pointer is captured ----===// 10 // This file contains routines that help determine which pointers are captured. 11 // A pointer value is captured if the function makes a copy of any part of the 12 // pointer that outlives the call. Not being captured means, more or less, that 29 : ReturnCaptures(ReturnCaptures), Captured(false) {} 31 void tooManyUses() { Captured = true; } 35 bool captured(Use *U) { function in struct:__anon8839::SimpleCaptureTracker 39 Captured = true; 45 bool Captured; 49 /// PointerMayBeCaptured - Return true if this pointer value may be captured [all...] |
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
p12.cpp | 10 (void)[this](){}; // expected-error{{'this' cannot be captured in this context}} 29 (void)[this](){}; // expected-error{{'this' cannot be captured in this context}} 46 [i] {}(); // expected-error{{variable 'i' cannot be implicitly captured in a lambda with no capture-default specified}} 68 auto m4 = [&,j] { // expected-error{{variable 'j' cannot be implicitly captured in a lambda with no capture-default specified}} 69 int x = n; // expected-error{{variable 'n' cannot be implicitly captured in a lambda with no capture-default specified}} 71 x += i; // expected-error{{variable 'i' cannot be implicitly captured in a lambda with no capture-default specified}}
|
p8.cpp | 11 (void)[=, this] () {}; // expected-error {{'this' cannot be explicitly captured}} 26 (void)[=, this]{ }; // expected-error{{'this' cannot be explicitly captured}}
|
blocks.mm | 5 (void)[var] { }; // expected-error{{__block variable 'var' cannot be captured in a lambda}} 7 (void)[=] { var = 17; }; // expected-error{{__block variable 'var' cannot be captured in a lambda}} 10 void conversion_to_block(int captured) { 11 int (^b1)(int) = [=](int x) { return x + captured; }; 13 const auto lambda = [=](int x) { return x + captured; };
|
/external/clang/test/SemaCXX/ |
lambda-expressions.cpp | 14 [](){(void)Member;}; // expected-error {{'this' cannot be implicitly captured in this context}} 19 []{[this]{};};// expected-error {{'this' cannot be implicitly captured in this context}} 21 []{Overload();}; // expected-error {{'this' cannot be implicitly captured in this context}} 23 []{(void)typeid(Overload(.5f));};// expected-error {{'this' cannot be implicitly captured in this context}} 28 [this] () {}; // expected-error {{'this' cannot be captured in this context}} 49 []() { return a; }; // expected-error {{variable 'a' cannot be implicitly captured in a lambda with no capture-default specified}} expected-note {{begins here}} 54 []() { return [&]() { return a; }; }; // expected-error {{variable 'a' cannot be implicitly captured in a lambda with no capture-default specified}} expected-note {{lambda expression begins here}} 55 []() { return ^{ return a; }; };// expected-error {{variable 'a' cannot be implicitly captured in a lambda with no capture-default specified}} expected-note {{lambda expression begins here}} 56 []() { return [&a] { return a; }; }; // expected-error 2 {{variable 'a' cannot be implicitly captured in a lambda with no capture-default specified}} expected-note 2 {{lambda expression begins here}} 67 [=]() { return c; }; // expected-error {{unnamed variable cannot be implicitly captured in a lambda expression}} [all...] |
/frameworks/base/services/java/com/android/server/am/ |
ThumbnailHolder.java | 22 Bitmap lastThumbnail; // Last thumbnail captured for this item. 23 CharSequence lastDescription; // Last description captured for this item.
|
/external/clang/test/SemaTemplate/ |
instantiate-typeof.cpp | 6 [] { __typeof(buffer) x; }(); // expected-error {{variable 'buffer' with variably modified type cannot be captured in a lambda expression}}
|
/cts/tests/tests/webkitsecurity/assets/ |
debugger-activation-crash.html | 7 var v1, v2, v3, v4, v5, v6, v7, v8, v9, v10; // Make a lot of potentially captured variables. 18 // At this point, we should have 100 activations that captured 1 variable 19 // but think they captured 10. If so, GC should make them crash.
|
debugger-activation-crash2.html | 7 var v1, v2, v3, v4, v5, v6, v7, v8, v9, v10; // Make a lot of potentially captured variables. 22 // At this point, closures[0] captured 1 variable but thinks it captured 10.
|
/external/clang/test/SemaObjC/ |
warn-retain-cycle.m | 9 [x setBlock: // expected-note {{block will be retained by the captured object}} 11 x.block = // expected-note {{block will be retained by the captured object}} 14 [x addBlock: // expected-note {{block will be retained by the captured object}} 42 x->owner.strong = ^{ (void) x; }; // expected-warning {{retain cycle}} expected-note {{block will be retained by an object strongly retained by the captured object}} 43 x.owner.strong = ^{ (void) x; }; // expected-warning {{retain cycle}} expected-note {{block will be retained by an object strongly retained by the captured object}} 57 self.owner.strong = ^{ (void) owner; }; // expected-warning {{retain cycle}} expected-note {{block will be retained by an object strongly retained by the captured object}} 63 owner.strong = ^{ (void) owner; }; // expected-warning {{retain cycle}} expected-note {{block will be retained by an object strongly retained by the captured object}} 65 owner.strong = ^{ ^{ (void) owner; }(); }; // expected-warning {{retain cycle}} expected-note {{block will be retained by an object strongly retained by the captured object}} 67 owner.strong = ^{ (void) sizeof(self); // expected-note {{block will be retained by an object strongly retained by the captured object}} 75 owner.strong = ^{ (void) owner; }; // expected-warning {{retain cycle}} expected-note {{block will be retained by an object strongly retained by the captured object} [all...] |
/external/littlemock/src/com/google/testing/littlemock/ |
ArgumentCaptor.java | 29 /** Gets the last value captured, or null if no value has been captured. */ 32 /** Gets the list of all values that have been captured. */
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
TraceOptions.java | 29 /** Flag indicating whether Framebuffer should be captured on eglSwap() */ 32 /** Flag indicating whether Framebuffer should be captured on glDraw*() */ 35 /** Flag indicating whether texture data should be captured on glTexImage*() */
|
/external/llvm/include/llvm/Analysis/ |
CaptureTracking.h | 10 // This file contains routines that help determine which pointers are captured. 23 /// PointerMayBeCaptured - Return true if this pointer value may be captured 36 /// to see whether anything was captured. 41 /// capturing instructions that will not be passed into captured(). 51 /// captured - Information about the pointer was captured by the user of 54 virtual bool captured(Use *U) = 0;
|
/external/chromium/chrome/browser/userfeedback/proto/ |
dom.proto | 4 // Messages containing DOM data captured from the browser. 13 // Data captured from HTMLDocument DOM object. 26 // Data captured from HTMLElement DOM object. 45 // Data captured from DOM Navigator object.
|
/external/clang/test/FixIt/ |
fixit-recursive-block.c | 7 void (^arc_fail)() = ^() { // expected-warning {{block pointer variable 'arc_fail' is uninitialized when captured by block}} \
|
/external/easymock/src/org/easymock/internal/matchers/ |
Captures.java | 32 public Captures(Capture<T> captured) {
33 this.capture = captured;
|
/external/clang/include/clang/Sema/ |
ScopeInfo.h | 156 // are captured by reference, and other variables are captured by copy. 161 // The variable being captured (if we are not capturing 'this'), 177 /// \brief The type as it was captured, which is in effect the type of the 206 /// \brief Retrieve the location at which this variable was captured. 228 /// CaptureMap - A map of captured variables to (index+1) into Captures. 232 /// zero if 'this' is not captured. 261 /// \brief Determine whether the C++ 'this' is captured. 264 /// \brief Retrieve the capture of C++ 'this', if it has been captured. 266 assert(isCXXThisCaptured() && "this has not been captured"); [all...] |
/external/chromium/base/ |
message_pump_glib_x.h | 26 // was captured and being processed by GDK (when |false|). 40 // Update the lookup table and flag the events that should be captured and 65 // was captured and being processed by GDK (when |false|).
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
AlignFeatures.h | 81 int reference_frame_index; // Index of the reference frame from all captured frames 82 int num_frames_captured; // Total number of frames captured (different from frame_number) 83 double average_tx_per_frame; // Average pixel translation per captured frame
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
AlignFeatures.h | 81 int reference_frame_index; // Index of the reference frame from all captured frames 82 int num_frames_captured; // Total number of frames captured (different from frame_number) 83 double average_tx_per_frame; // Average pixel translation per captured frame
|
/external/compiler-rt/BlocksRuntime/tests/ |
nestedimport.c | 39 printf("%s: error, Global not set to captured value\n", argv[0]);
|
/external/chromium/chrome/browser/chromeos/login/ |
camera_controller.h | 22 // Called when new frame was captured by camera. 44 // Returns the last captured frame from the camera.
|
/external/chromium/chrome/browser/ui/views/tabs/ |
native_view_photobooth_win.h | 47 // Creates a mostly off-screen window to contain the HWND to be captured. 53 // The current HWND being captured.
|