/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
t049treeparserbWalker.g | 8 {this.capture($ID+", "+$INT)}
|
t049treeparserfWalker.g | 8 {this.capture($ID);}
|
t049treeparsergWalker.g | 8 {this.capture($ID);}
|
t049treeparseriWalker.g | 7 {this.capture($ID+", "+x);}
|
t052importM2.g | 6 s : label=a[3] {this.capture($label.y);} ;
|
t049treeparserhWalker.g | 8 {this.capture($ID+", "+$b.text);}
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/delegation/ |
import.rb | 21 def capture(t) method in class:TestImportedGrammars 22 @didr_master.capture(t) 25 a : B { capture("S.a") } ; 53 def capture(t) method in class:TestImportedGrammars 54 @master_2.capture(t) 57 a[x] returns [y] : B {capture("S.a"); $y="1000";} ; 66 s : label=a[3] {capture($label.y)} ; 84 def capture(t) method in class:TestImportedGrammars 85 @master_3.capture(t) 89 capture("whatevs" 118 def capture(t) method 131 def capture(t) method 162 def capture(t) method 175 def capture(t) method 209 def capture(t) method 237 def capture(t) method 265 def capture(t) method 290 def capture(t) method [all...] |
/external/clang/test/OpenMP/ |
atomic_messages.c | 198 // Test for atomic capture 199 #pragma omp atomic capture 200 // expected-error@+2 {{the statement for 'atomic capture' must be a compound statement of form '{v = x; x binop= expr;}', '{x binop= expr; v = x;}', '{v = x; x = x binop expr;}', '{v = x; x = expr binop x;}', '{x = x binop expr; v = x;}', '{x = expr binop x; v = x;}' or '{v = x; x = expr;}', '{v = x; x++;}', '{v = x; ++x;}', '{++x; v = x;}', '{x++; v = x;}', '{v = x; x--;}', '{v = x; --x;}', '{--x; v = x;}', '{x--; v = x;}' where x is an l-value expression with scalar type}} 203 #pragma omp atomic capture 204 // expected-error@+2 {{the statement for 'atomic capture' must be an expression statement of form 'v = ++x;', 'v = --x;', 'v = x++;', 'v = x--;', 'v = x binop= expr;', 'v = x = x binop expr' or 'v = x = expr binop x', where x and v are both l-value expressions with scalar type}} 207 #pragma omp atomic capture 208 // expected-error@+2 {{the statement for 'atomic capture' must be an expression statement of form 'v = ++x;', 'v = --x;', 'v = x++;', 'v = x--;', 'v = x binop= expr;', 'v = x = x binop expr' or 'v = x = expr binop x', where x and v are both l-value expressions with scalar type}} 211 #pragma omp atomic capture 212 // expected-error@+2 {{the statement for 'atomic capture' must be an expression statement of form 'v = ++x;', 'v = --x;', 'v = x++;', 'v = x--;', 'v = x binop= expr;', 'v = x = x binop expr' or 'v = x = expr binop x', where x and v are both l-value expressions with scalar type}} 215 #pragma omp atomic capture [all...] |
atomic_messages.cpp | 334 T capture() { function 336 // Test for atomic capture 337 #pragma omp atomic capture 338 // expected-error@+2 {{the statement for 'atomic capture' must be a compound statement of form '{v = x; x binop= expr;}', '{x binop= expr; v = x;}', '{v = x; x = x binop expr;}', '{v = x; x = expr binop x;}', '{x = x binop expr; v = x;}', '{x = expr binop x; v = x;}' or '{v = x; x = expr;}', '{v = x; x++;}', '{v = x; ++x;}', '{++x; v = x;}', '{x++; v = x;}', '{v = x; x--;}', '{v = x; --x;}', '{--x; v = x;}', '{x--; v = x;}' where x is an l-value expression with scalar type}} 341 #pragma omp atomic capture 342 // expected-error@+2 {{the statement for 'atomic capture' must be an expression statement of form 'v = ++x;', 'v = --x;', 'v = x++;', 'v = x--;', 'v = x binop= expr;', 'v = x = x binop expr' or 'v = x = expr binop x', where x and v are both l-value expressions with scalar type}} 345 #pragma omp atomic capture 346 // expected-error@+2 {{the statement for 'atomic capture' must be an expression statement of form 'v = ++x;', 'v = --x;', 'v = x++;', 'v = x--;', 'v = x binop= expr;', 'v = x = x binop expr' or 'v = x = expr binop x', where x and v are both l-value expressions with scalar type}} 349 #pragma omp atomic capture 350 // expected-error@+2 {{the statement for 'atomic capture' must be an expression statement of form 'v = ++x;', 'v = --x;', 'v = x++;', 'v = x--;', 'v = x bi (…) 506 int capture() { function [all...] |
atomic_ast_print.cpp | 21 #pragma omp atomic capture 23 #pragma omp atomic capture 36 #pragma omp atomic seq_cst capture 38 #pragma omp atomic capture seq_cst 55 // CHECK-NEXT: #pragma omp atomic capture 57 // CHECK-NEXT: #pragma omp atomic capture 70 // CHECK-NEXT: #pragma omp atomic seq_cst capture 72 // CHECK-NEXT: #pragma omp atomic capture seq_cst 86 // CHECK-NEXT: #pragma omp atomic capture 88 // CHECK-NEXT: #pragma omp atomic capture [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
CallbackHandlerTest.java | 65 Mockito.verify(mEmengencyListener).setEmergencyCallsOnly(captor.capture()); 85 Mockito.verify(mSignalCallback).setWifiIndicators(enableArg.capture(), 86 statusArg.capture(), qsArg.capture(), inArg.capture(), outArg.capture(), 87 descArg.capture()); 121 Mockito.verify(mSignalCallback).setMobileDataIndicators(statusArg.capture(), 122 qsArg.capture(), typeIconArg.capture(), qsTypeIconArg.capture(), inArg.capture() [all...] |
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
p14.cpp | 3 template<typename T> void capture(const T&); 17 (void)[nc] { }; // expected-error{{capture of variable 'nc' as type 'NonCopyable' calls private copy constructor}} 19 ncr.foo(); // expected-error{{capture of variable 'ncr' as type 'NonCopyable' calls private copy constructor}} 49 capture(array[0]); 63 capture(a); 64 capture(b); 99 void capture(X &x) { function in namespace:rdar14468891 100 [x]() {}(); // expected-error{{by-copy capture of value of abstract type 'rdar14468891::X'}} 108 auto& y = param; // expected-error{{by-copy capture of variable 'param' with incomplete type 'const rdar15560464::X'}}
|
p13.cpp | 5 void g1(int = ([i]{ return i; })()); // expected-error{{lambda expression in default argument cannot capture any entity}} 6 void g2(int = ([i]{ return 0; })()); // expected-error{{lambda expression in default argument cannot capture any entity}} 7 void g3(int = ([=]{ return i; })()); // expected-error{{lambda expression in default argument cannot capture any entity}}
|
/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).
29 public class Capture<T> implements Serializable {
40 public Capture() {
45 * Constructor allowing to select the capture type
48 * capture type
50 public Capture(CaptureType type) {
55 * Will reset capture to a "nothing captured yet" state
123 throw new IllegalArgumentException("Unknown capture type: " + type);
|
/frameworks/base/core/java/android/hardware/camera2/ |
CameraCaptureSession.java | 28 * A configured capture session for a {@link CameraDevice}, used for capturing images from the 35 * reprocessable capture session. Once created, the session is active until a new session is 38 * <p>All capture sessions can be used for capturing images from the camera but only reprocessable 39 * capture sessions can reprocess images captured from the camera in the same session previously. 53 * <p>Any capture requests (repeating or non-repeating) submitted before the session is ready will 54 * be queued up and will begin capture once the session becomes ready. In case the session cannot be 56 * capture requests are discarded.</p> 64 * but will still complete all of its in-progress capture requests as normal, before a newly 112 * used as a target of a capture request in the first session, prepare cannot be called on it 146 * for the lifetime of the capture session, to minimize latency of captures and to reduc 247 public abstract int capture(@NonNull CaptureRequest request, method in class:CameraCaptureSession [all...] |
package.html | 23 per the request, and then outputs one capture result metadata packet, 41 <p>To capture or stream images from a camera device, the application 43 android.hardware.camera2.CameraCaptureSession camera capture session} 60 {@link android.graphics.SurfaceTexture}). Capture of JPEG images or 74 capture parameters needed by a camera device to capture a single 76 should be used as targets for this capture. The CameraDevice has a 84 capture session either for a one-shot {@link 85 android.hardware.camera2.CameraCaptureSession#capture capture} or fo [all...] |
/frameworks/av/include/media/ |
Visualizer.h | 38 * The length of the capture can be retrieved or specified by calling respectively 40 * is half of the specified capture size but both sides of the spectrum are returned yielding in a 41 * number of bytes equal to the capture size. The capture size must be a power of 2 in the range 43 * In addition to the polling capture mode, a callback mode is also available by installing a 47 * When data capture is not needed any more, the Visualizer should be disabled. 59 CAPTURE_WAVEFORM = 0x00000001, // capture callback returns a PCM wave form 78 // maximum capture size in samples 80 // minimum capture size in samples 82 // maximum capture rate in millihert [all...] |
/external/libpcap/ |
chmod_bpf | 9 # group can use programs that capture or send raw packets. 13 # so only that user and the super-user can capture or send raw 16 # admin group can capture packets.
|
pcap-sita.h | 2 * pcap-sita.h: Packet capture interface for SITA WAN devices
|
pcap.3pcap.in | 24 pcap \- Packet Capture library 34 The Packet Capture library 35 provides a high level interface to packet capture systems. All packets 40 .SS Opening a capture handle for reading 41 To open a handle for a live capture, given the name of the network or 42 other interface on which the capture should be done, call 47 To obtain a list of devices that can be opened for a live capture, call 80 which is the handle used for reading packets from the capture stream or 81 the ``savefile'', and for finding out information about the capture 86 The options that can be set on a capture handle includ [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/ |
Mocks.java | 19 import static org.easymock.EasyMock.capture; 31 import org.easymock.Capture; 51 final Capture<IClasspathEntry[]> capturedEntries = new Capture<IClasspathEntry[]>(); 52 Capture<IPath> capturedOutput = new Capture<IPath>(); 67 javaProject.setRawClasspath(capture(capturedEntries), isA(IProgressMonitor.class)); method 70 javaProject.setRawClasspath(capture(capturedEntries), capture(capturedOutput), method 74 final Capture<String> capturedCompliance = new Capture<String>() 103 javaProject.setOption(eq(JavaCore.COMPILER_COMPLIANCE), capture(capturedCompliance)); method 105 javaProject.setOption(eq(JavaCore.COMPILER_SOURCE), capture(capturedSource)); method 108 capture(capturedTarget)); method [all...] |
/external/littlemock/src/com/google/testing/littlemock/ |
ArgumentCaptor.java | 22 * Simple capture object for use in tests. 26 * @param <T> the type we are going to capture 35 /** Use this argument captor to perform the capture. */ 36 public T capture(); method in interface:ArgumentCaptor
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/testcases/ |
Camera2SurfaceViewTestCase.java | 158 * Start camera preview by using the given request, preview size and capture 169 * capture is available. 203 * @throws CameraAccessException When create capture request from camera fails 227 * Setup still (JPEG) capture configuration and start preview. 232 * @param previewRequest The capture request to be used for preview 233 * @param stillRequest The capture request to be used for still capture 235 * @param stillSz The still capture size 236 * @param resultListener Capture result listener 237 * @param imageListener The still capture image listene [all...] |
/external/clang/test/CodeGenCXX/ |
captured-statements.cpp | 32 // CHECK-1: %[[Capture:struct\.anon[\.0-9]*]] = type { %struct.Foo*, %struct.TestClass* } 36 // CHECK-1: getelementptr inbounds %[[Capture]], %[[Capture]]* %{{[^,]*}}, i32 0, i32 0 38 // CHECK-1: getelementptr inbounds %[[Capture]], %[[Capture]]* %{{[^,]*}}, i32 0, i32 1 39 // CHECK-1: call void @[[HelperName:[A-Za-z0-9_]+]](%[[Capture]]* 45 // CHECK-1: getelementptr inbounds %[[Capture]], %[[Capture]]* {{[^,]*}}, i32 0, i32 1 47 // CHECK-1: getelementptr inbounds %[[Capture]], %[[Capture]]* {{[^,]*}}, i32 0, i32 [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
OneCameraImpl.java | 108 /** Set the total capture result once it's been received. */ 115 * Returns whether the capture is complete (which is the case once the 116 * image and capture result are both present. 125 /** If true, will write data about each capture request to disk. */ 151 * <li>{@link #CAPTURE}</li> 157 /** Capture request (purely for logging). */ 158 CAPTURE, 174 /** Keep PictureCallback for last requested capture. */ 208 if (request.getTag() == RequestTag.CAPTURE 242 if (request.getTag() == RequestTag.CAPTURE) { [all...] |