Home
last modified time | relevance | path

Searched refs:capture (Results 1 – 25 of 1042) sorted by relevance

12345678910>>...42

/external/python/pybind11/tests/
Dtest_call_policies.py11 def test_keep_alive_argument(capture): argument
13 with capture:
15 assert capture == "Allocating parent."
16 with capture:
20 capture
26 with capture:
29 assert capture == "Releasing parent."
31 with capture:
33 assert capture == "Allocating parent."
34 with capture:
[all …]
Dtest_numpy_vectorize.py8 def test_vectorize(capture): argument
12 with capture:
14 assert capture == "my_func(x:int=1, y:float=2, z:float=3)"
15 with capture:
17 assert capture == "my_func(x:int=1, y:float=2, z:float=3)"
18 with capture:
21 capture
27 with capture:
36 capture
44 with capture:
[all …]
Dtest_factory_constructors.py305 def test_no_placement_new(capture): argument
308 with capture:
311 found = re.search(r"^operator new called, returning (\d+)\n$", str(capture))
314 with capture:
317 assert capture == "operator delete called on " + found.group(1)
319 with capture:
322 found = re.search(r"^operator new called, returning (\d+)\n$", str(capture))
325 with capture:
328 assert capture == "operator delete called on " + found.group(1)
353 def test_reallocation_a(capture, msg): argument
[all …]
Dtest_virtual_functions.py10 def test_override(capture, msg): argument
38 with capture:
41 capture
55 with capture:
58 capture
64 with capture:
66 assert capture == "ExtendedExampleVirt::run_bool()"
67 with capture:
69 assert capture == "ExtendedExampleVirt::pure_virtual(): Hello world"
72 with capture:
[all …]
Dtest_pytypes.py24 def test_list(capture, doc): argument
25 with capture:
32 capture.unordered
46 def test_none(capture, doc): argument
51 def test_set(capture, doc): argument
55 with capture:
59 capture.unordered
76 def test_dict(capture, doc): argument
80 with capture:
84 capture.unordered
[all …]
/external/clang/test/OpenMP/
Datomic_messages.cpp336 T capture() { in capture() function
339 #pragma omp atomic capture in capture()
343 #pragma omp atomic capture in capture()
347 #pragma omp atomic capture in capture()
351 #pragma omp atomic capture in capture()
355 #pragma omp atomic capture in capture()
359 #pragma omp atomic capture in capture()
363 #pragma omp atomic capture in capture()
367 #pragma omp atomic capture in capture()
371 #pragma omp atomic capture in capture()
[all …]
Datomic_messages.c199 #pragma omp atomic capture in captureint()
203 #pragma omp atomic capture in captureint()
207 #pragma omp atomic capture in captureint()
211 #pragma omp atomic capture in captureint()
215 #pragma omp atomic capture in captureint()
219 #pragma omp atomic capture in captureint()
223 #pragma omp atomic capture in captureint()
227 #pragma omp atomic capture in captureint()
231 #pragma omp atomic capture in captureint()
235 #pragma omp atomic capture in captureint()
[all …]
Datomic_capture_codegen.cpp83 #pragma omp atomic capture in main()
88 #pragma omp atomic capture in main()
92 #pragma omp atomic capture in main()
97 #pragma omp atomic capture in main()
116 #pragma omp atomic capture in main()
132 #pragma omp atomic capture in main()
137 #pragma omp atomic capture in main()
153 #pragma omp atomic capture in main()
169 #pragma omp atomic capture in main()
185 #pragma omp atomic capture in main()
[all …]
/external/llvm-project/clang/test/OpenMP/
Datomic_messages.cpp340 T capture() { in capture() function
343 #pragma omp atomic capture in capture()
347 #pragma omp atomic capture in capture()
351 #pragma omp atomic capture in capture()
355 #pragma omp atomic capture in capture()
359 #pragma omp atomic capture in capture()
363 #pragma omp atomic capture in capture()
367 #pragma omp atomic capture in capture()
371 #pragma omp atomic capture in capture()
375 #pragma omp atomic capture in capture()
[all …]
Datomic_messages.c209 #pragma omp atomic capture in captureint()
213 #pragma omp atomic capture in captureint()
217 #pragma omp atomic capture in captureint()
221 #pragma omp atomic capture in captureint()
225 #pragma omp atomic capture in captureint()
229 #pragma omp atomic capture in captureint()
233 #pragma omp atomic capture in captureint()
237 #pragma omp atomic capture in captureint()
241 #pragma omp atomic capture in captureint()
245 #pragma omp atomic capture in captureint()
[all …]
Datomic_capture_codegen.cpp88 #pragma omp atomic capture in main()
93 #pragma omp atomic capture in main()
97 #pragma omp atomic capture in main()
102 #pragma omp atomic capture in main()
121 #pragma omp atomic capture in main()
137 #pragma omp atomic capture in main()
142 #pragma omp atomic capture in main()
158 #pragma omp atomic capture in main()
174 #pragma omp atomic capture in main()
190 #pragma omp atomic capture in main()
[all …]
Datomic_ast_print.cpp25 #pragma omp atomic capture in foo()
27 #pragma omp atomic capture in foo()
40 #pragma omp atomic seq_cst capture in foo()
42 #pragma omp atomic capture seq_cst in foo()
55 #pragma omp atomic acq_rel capture in foo()
57 #pragma omp atomic capture acq_rel in foo()
70 #pragma omp atomic acquire capture in foo()
72 #pragma omp atomic capture acquire in foo()
85 #pragma omp atomic release capture in foo()
87 #pragma omp atomic capture release in foo()
[all …]
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeResolverTest.java44 Type t1 = new TypeCapture<T>() {}.capture(); in testWhere_indirectMapping()
58 Type t = new TypeCapture<List<T>>() {}.capture(); in testWhere_parameterizedSelfMapping()
64 Type t = new TypeCapture<T[]>() {}.capture(); in testWhere_genericArraySelfMapping()
91 Type t1 = new TypeCapture<T1>() {}.capture(); in testWhere_recursiveMapping()
92 Type t2 = new TypeCapture<T2>() {}.capture(); in testWhere_recursiveMapping()
97 Type t = new TypeCapture<T>() {}.capture(); in testWhere_genericArrayMapping()
101 .where(new TypeCapture<T[]>() {}.capture(), String[].class) in testWhere_genericArrayMapping()
106 Type t = new TypeCapture<T>() {}.capture(); in testWhere_primitiveArrayMapping()
109 new TypeResolver().where(new TypeCapture<T[]>() {}.capture(), int[].class).resolveType(t)); in testWhere_primitiveArrayMapping()
113 Type t = new TypeCapture<T>() {}.capture(); in testWhere_parameterizedTypeMapping()
[all …]
/external/guava/android/guava-tests/test/com/google/common/reflect/
DTypeResolverTest.java44 Type t1 = new TypeCapture<T>() {}.capture(); in testWhere_indirectMapping()
58 Type t = new TypeCapture<List<T>>() {}.capture(); in testWhere_parameterizedSelfMapping()
64 Type t = new TypeCapture<T[]>() {}.capture(); in testWhere_genericArraySelfMapping()
91 Type t1 = new TypeCapture<T1>() {}.capture(); in testWhere_recursiveMapping()
92 Type t2 = new TypeCapture<T2>() {}.capture(); in testWhere_recursiveMapping()
97 Type t = new TypeCapture<T>() {}.capture(); in testWhere_genericArrayMapping()
101 .where(new TypeCapture<T[]>() {}.capture(), String[].class) in testWhere_genericArrayMapping()
106 Type t = new TypeCapture<T>() {}.capture(); in testWhere_primitiveArrayMapping()
109 new TypeResolver().where(new TypeCapture<T[]>() {}.capture(), int[].class).resolveType(t)); in testWhere_primitiveArrayMapping()
113 Type t = new TypeCapture<T>() {}.capture(); in testWhere_parameterizedTypeMapping()
[all …]
/external/llvm-project/lldb/test/Shell/Reproducer/
DTestDriverOptions.test3 # RUN: not %lldb --capture --capture-path %t/bogus/bogus 2>&1 | FileCheck %s --check-prefix INVALID…
11 # RUN: %lldb --capture --capture-path %t.repro -b -o 'reproducer status' 2>&1 | FileCheck %s --chec…
12 # RUN: %lldb --capture -b -o 'reproducer status' 2>&1 | FileCheck %s --check-prefix NO-WARNING --ch…
13 # RUN: %lldb --capture-path %t.repro -b -o 'reproducer status' 2>&1 | FileCheck %s --check-prefix W…
14 # RUN: %lldb --capture-path %t.repro -b -o 'reproducer status' --reproducer-generate-on-exit 2>&1 …
16 # NO-WARNING-NOT: warning: -capture-path specified without -capture
17 # WARNING: warning: -capture-path specified without -capture
18 # WARNING2: warning: -reproducer-generate-on-exit specified without -capture
19 # STATUS-CAPTURE: Reproducer is in capture mode.
24 # RUN: %lldb --capture --capture-path %t.repro -b --reproducer-generate-on-exit -o 'reproducer stat…
DTestCaptureEnvOverride.test3 # RUN: %lldb -b -o 'reproducer status' --capture --capture-path %t.repro /bin/ls | FileCheck %s --c…
4 # RUN: %lldb -b -o 'reproducer status' --capture | FileCheck %s --check-prefix CAPTURE
10 # RUN: LLDB_CAPTURE_REPRODUCER=0 %lldb -b -o 'reproducer status' --capture --capture-path %t.repro …
11 # RUN: LLDB_CAPTURE_REPRODUCER=0 %lldb -b -o 'reproducer status' --capture | FileCheck %s --check-p…
13 # RUN: LLDB_CAPTURE_REPRODUCER=bogus %lldb -b -o 'reproducer status' --capture | FileCheck %s --che…
16 # CAPTURE: Reproducer is in capture mode.
/external/webrtc/docs/native-code/rtp-hdrext/abs-capture-time/
DREADME.md13 <http://www.webrtc.org/experiments/rtp-hdrext/abs-capture-time>
25 Data layout of the shortened version of `abs-capture-time` with a 1-byte header
31 | ID | len=7 | absolute capture timestamp (bit 0-23) |
33 | absolute capture timestamp (bit 24-55) |
38 Data layout of the extended version of `abs-capture-time` with a 1-byte header +
44 | ID | len=15| absolute capture timestamp (bit 0-23) |
46 | absolute capture timestamp (bit 24-55) |
48 | ... (56-63) | estimated capture clock offset (bit 0-23) |
50 | estimated capture clock offset (bit 24-55) |
56 #### Absolute capture timestamp
[all …]
/external/angle/doc/
DCaptureAndReplay.md3 ANGLE currently supports a limited OpenGL capture and replay framework.
7 * GLES capture has many unimplemented functions.
8 * EGL capture and replay is not yet supported.
9 * Mid-execution capture is supported with the Vulkan back-end.
10 * Mid-execution capture has many unimplemented features.
16 To build ANGLE with capture and replay enabled update your GN args:
22 Once built ANGLE will capture the OpenGL ES calls to CPP replay files. By default the replay will be
23 stored in the current working directory. The capture files will be named according to the pattern
31 Some simple environment variables control frame capture:
34 * Set to `0` to disable capture entirely. Default is `1`.
[all …]
/external/mockito/src/test/java/org/mockitousage/matchers/
DCapturingArgumentsTest.java72 verify(emailService).sendEmailTo(argument.capture()); in should_allow_assertions_on_captured_argument()
85 verify(emailService, times(2)).sendEmailTo(argument.capture()); in should_allow_assertions_on_all_captured_arguments()
99 verify(emailService, times(3)).sendEmailTo(argument.capture()); in should_allow_assertions_on_last_argument()
110 verify(emailService).sendEmailTo(person.capture()); in should_print_captor_matcher()
127 verify(emailService).sendEmailTo(argument.capture()); in should_allow_assertions_on_captured_null()
150 when(emailService.sendEmailTo(argument.capture())).thenReturn(false); in should_allow_capturing_for_stubbing()
163 when(mock.simpleMethod(argument.capture(), eq(2))).thenReturn("blah"); in should_capture_when_stubbing_only_when_entire_invocation_matches()
192 verify(mock).simpleMethod(captor.capture(), eq(1)); in should_capture_when_full_arg_list_matches()
206 verify(mock).intArgumentMethod(argument.capture()); in should_capture_int_by_creating_captor_with_primitive_wrapper()
219 verify(mock).intArgumentMethod(argument.capture()); in should_capture_int_by_creating_captor_with_primitive()
[all …]
DVarargsTest.java198 verify(mock).varargs(captor.capture()); in shouldCaptureVarArgs_noArgs()
208 verify(mock).varargs(captor.capture()); in shouldCaptureVarArgs_oneNullArg_eqNull()
222 verify(mock).varargs(captor.capture()); in shouldCaptureVarArgs_nullArrayArg()
230 verify(mock).varargs(captor.capture()); in shouldCaptureVarArgs_twoArgsOneCapture()
239 verify(mock).varargs(captor.capture(), captor.capture()); in shouldCaptureVarArgs_twoArgsTwoCaptures()
248 verify(mock).varargs(captor.capture()); in shouldCaptureVarArgs_oneNullArgument()
257 verify(mock).varargs(captor.capture(), captor.capture()); in shouldCaptureVarArgs_oneNullArgument2()
268 verify(mock).varargs(captor.capture(), captor.capture()); in shouldNotCaptureVarArgs_3args2captures()
276 verify(mock).varargs(captor.capture(), eq("2"), captor.capture()); in shouldCaptureVarArgs_3argsCaptorMatcherMix()
287 verify(mock).varargs(captor.capture(), eq("X"), captor.capture()); in shouldNotCaptureVarArgs_3argsCaptorMatcherMix()
[all …]
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_PARM.c108 parm.parm.capture.capability, in do_get_param()
109 parm.parm.capture.capturemode, in do_get_param()
110 parm.parm.capture.timeperframe.numerator, in do_get_param()
111 parm.parm.capture.timeperframe.denominator, in do_get_param()
112 parm.parm.capture.extendedmode, in do_get_param()
113 parm.parm.capture.readbuffers, in do_get_param()
114 parm.parm.capture.reserved[0], in do_get_param()
115 parm.parm.capture.reserved[1], in do_get_param()
116 parm.parm.capture.reserved[2], in do_get_param()
117 parm.parm.capture.reserved[3] in do_get_param()
[all …]
/external/antlr/runtime/Python/tests/
Dt026actions.g12 self.capture('init;')
15 self.capture('after;')
20 self.capture('catch;')
24 self.capture('finally;')
32 self.capture('action;')
33 …self.capture('\%r \%r \%r \%r \%r \%r \%r \%r;' \% ($text, $type, $line, $pos, $index, $channel, $…
35 self.capture(self.foobar)
/external/antlr/runtime/Python3/tests/
Dt026actions.g12 self.capture('init;')
15 self.capture('after;')
20 self.capture('catch;')
24 self.capture('finally;')
32 self.capture('action;')
33 …self.capture('{!r} {!r} {!r} {!r} {!r} {!r} {!r} {!r};'.format($text, $type, $line, $pos, $index, …
35 self.capture(self.foobar)
/external/antlr/runtime/Cpp/tests/
Dt026actions.g25 self.capture('init;')
28 self.capture('after;')
33 self.capture('catch;')
37 self.capture('finally;')
45 self.capture('action;')
46 …self.capture('{!r} {!r} {!r} {!r} {!r} {!r} {!r} {!r};'.format($text, $type, $line, $pos, $index, …
48 self.capture(self.foobar)
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dnfa.cc73 const char** capture; member
109 std::string FormatCapture(const char** capture);
156 delete[] t.capture; in ~NFA()
171 t->capture = new const char*[ncapture_]; in AllocThread()
228 fprintf(stderr, " [%d%s]\n", id, FormatCapture(t0->capture).c_str()); in AddToThreadq()
276 CopyCapture(t->capture, t0->capture); in AddToThreadq()
277 t->capture[j] = p; in AddToThreadq()
291 fprintf(stderr, " + %d%s\n", id, FormatCapture(t0->capture).c_str()); in AddToThreadq()
303 fprintf(stderr, " ! %d%s\n", id, FormatCapture(t0->capture).c_str()); in AddToThreadq()
342 if (matched_ && match_[0] < t->capture[0]) { in Step()
[all …]

12345678910>>...42