Home
last modified time | relevance | path

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

12345678910>>...27

/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 …]
Datomic_ast_print.cpp21 #pragma omp atomic capture in foo()
23 #pragma omp atomic capture in foo()
36 #pragma omp atomic seq_cst capture in foo()
38 #pragma omp atomic capture seq_cst in foo()
121 #pragma omp atomic capture in main()
123 #pragma omp atomic capture in main()
136 #pragma omp atomic seq_cst capture in main()
138 #pragma omp atomic capture seq_cst in main()
/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()
90 Type t1 = new TypeCapture<T1>() {}.capture(); in testWhere_recursiveMapping()
91 Type t2 = new TypeCapture<T2>() {}.capture(); in testWhere_recursiveMapping()
96 Type t = new TypeCapture<T>() {}.capture(); in testWhere_genericArrayMapping()
98 .where(new TypeCapture<T[]>() {}.capture(), String[].class) in testWhere_genericArrayMapping()
103 Type t = new TypeCapture<T>() {}.capture(); in testWhere_primitiveArrayMapping()
105 new TypeResolver().where(new TypeCapture<T[]>() {}.capture(), int[].class).resolveType(t)); in testWhere_primitiveArrayMapping()
109 Type t = new TypeCapture<T>() {}.capture(); in testWhere_parameterizedTypeMapping()
[all …]
DTypeTokenTest.java137 TypeToken<?> f = TypeToken.of(new TypeCapture<F>() {}.capture()); in testResolveType_fromTypeVariable()
148 TypeToken<?> e = TypeToken.of(new TypeCapture<E>() {}.capture()); in testResolveType_fromTypeVariable_onlyDirectBoundsAreUsed()
155 new TypeCapture<Comparable<? extends Iterable<String>>>() {}.capture(); in testResolveType_fromWildcard()
248 TypeToken<?>.TypeSet types = TypeToken.of(new TypeCapture<B>() {}.capture()).getTypes(); in testGetTypes_ignoresTypeVariablesByDefault()
263 TypeToken<?>.TypeSet types = TypeToken.of(new TypeCapture<B>() {}.capture()).getTypes(); in testGetTypes_rawTypes_ignoresTypeVariablesByDefault()
276 TypeToken<?>.TypeSet types = TypeToken.of(new TypeCapture<A>() {}.capture()).getTypes(); in testGetTypes_manyBounds()
408 TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericSuperclass()); in testGetGenericSuperclass_typeVariable_unbounded()
415 TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericSuperclass()); in testGetGenericSuperclass_typeVariable_boundIsClass()
422 TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericSuperclass()); in testGetGenericSuperclass_typeVariable_boundIsFBoundedClass()
428 assertNull(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericSuperclass()); in testGetGenericSuperclass_typeVariable_boundIsInterface()
[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/python/cpython2/Lib/test/
Dtest_functools.py21 def capture(*args, **kw): function
44 p = self.partial(capture, 1, 2, a=10, b=20)
51 p = self.partial(capture, 1, 2, a=10, b=20)
53 self.assertEqual(p.func, capture)
92 p = self.partial(capture)
95 p = self.partial(capture, 1, 2)
102 p = self.partial(capture)
106 p = self.partial(capture, a=1)
116 p = self.partial(capture, *args)
124 p = self.partial(capture, a=a)
[all …]
/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/autotest/server/cros/chaos_lib/
Dchaos_capture_analyzer.py29 capture = pyshark.FileCapture(self._file_name,
34 capture.load_packets()
35 return capture
49 capture = pyshark.FileCapture(self._file_name,
52 capture.load_packets()
53 if not capture:
55 return capture[0]
396 def __init__(self, ap_macs, dut_mac, filtered_packets, capture, logger): argument
401 self._capture = capture
611 def _validate_ap_presence(self, capture, bssids, ssid): argument
[all …]
/external/webrtc/webrtc/base/
Dsigslottester.h.pump20 // They are meant to be used in tests. Tests must provide "capture" pointers
29 // const std::string&, but capture-type is std::string. Capture type
31 // std::string capture;
32 // SigslotTester1<const std::string&, std::string> slot(&foo, &capture);
35 // EXPECT_EQ("hello", capture);
46 // - C1-C5 is the type of the variable to capture argument i. These should be
58 $for j , [[C$j* capture$j]])
60 $for j , [[capture$j[[]]_(capture$j)]] {
70 *capture$j[[]]_ = arg$j;]]
76 C$j* capture$j[[]]_;]]
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DKeepAliveManagerTest.java75 verify(scheduler, times(1)).schedule(sendPingCaptor.capture(), delayCaptor.capture(), in sendKeepAlivePings()
88 verify(scheduler, times(2)).schedule(isA(Runnable.class), delayCaptor.capture(), in sendKeepAlivePings()
97 verify(scheduler, times(3)).schedule(isA(Runnable.class), delayCaptor.capture(), in sendKeepAlivePings()
115 verify(scheduler, times(1)).schedule(sendPingCaptor.capture(), isA(Long.class), in keepAlivePingDelayedByIncomingData()
129 verify(scheduler, times(2)).schedule(isA(Runnable.class), delayCaptor.capture(), in keepAlivePingDelayedByIncomingData()
141 verify(transport).shutdownNow(statusCaptor.capture()); in clientKeepAlivePinger_pingTimeout()
154 verify(transport).ping(pingCallbackCaptor.capture(), isA(Executor.class)); in clientKeepAlivePinger_pingFailure()
159 verify(transport).shutdownNow(statusCaptor.capture()); in clientKeepAlivePinger_pingFailure()
173 .schedule(sendPingCaptor.capture(), isA(Long.class), isA(TimeUnit.class)); in onTransportTerminationCancelsShutdownFuture()
194 verify(scheduler, times(1)).schedule(sendPingCaptor.capture(), isA(Long.class), in keepAlivePingTimesOut()
[all …]
/external/autotest/client/site_tests/policy_DisableScreenshots/
Dpolicy_DisableScreenshots.py156 capture = tab.EvaluateJavaScript('document.title')
158 capture = None
160 if capture == 'undefined':
161 capture = None
164 if capture is not None:
167 % (method, capture))
168 elif capture is None:
171 % (method, capture))
/external/webrtc/webrtc/modules/video_capture/windows/
Dvideo_capture_factory_windows.cc31 RefCountImpl<VideoCaptureDS>* capture = new RefCountImpl<VideoCaptureDS>(id); in Create() local
32 if (capture->Init(id, device_id) != 0) { in Create()
33 delete capture; in Create()
34 capture = NULL; in Create()
37 return capture; in Create()
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DRoundRobinLoadBalancerTest.java149 verify(mockHelper, times(3)).createSubchannel(eagCaptor.capture(), in pickAfterResolved()
159 .updateBalancingState(stateCaptor.capture(), pickerCaptor.capture()); in pickAfterResolved()
206 inOrder.verify(mockHelper).updateBalancingState(eq(READY), pickerCaptor.capture()); in pickAfterResolvedUpdatedHosts()
238 inOrder.verify(mockHelper).updateBalancingState(eq(READY), pickerCaptor.capture()); in pickAfterResolvedUpdatedHosts()
247 inOrder.verify(mockHelper).updateBalancingState(eq(TRANSIENT_FAILURE), pickerCaptor.capture()); in pickAfterResolvedUpdatedHosts()
266 inOrder.verify(mockHelper).updateBalancingState(eq(READY), pickerCaptor.capture()); in pickAfterStateChange()
276 inOrder.verify(mockHelper).updateBalancingState(eq(CONNECTING), pickerCaptor.capture()); in pickAfterStateChange()
325 verify(mockHelper).updateBalancingState(eq(TRANSIENT_FAILURE), pickerCaptor.capture()); in nameResolutionErrorWithNoChannels()
342 .updateBalancingState(stateCaptor.capture(), pickerCaptor.capture()); in nameResolutionErrorWithActiveChannels()
378 .updateBalancingState(stateCaptor.capture(), pickerCaptor.capture()); in subchannelStateIsolation()
[all …]
/external/llvm/test/Transforms/SafeStack/
Dcoloring.ll17 ; CHECK: call void @capture(i32* nonnull %[[A2]])
19 call void @capture(i32* nonnull %x)
26 ; CHECK: call void @capture(i32* nonnull %[[B2]])
28 call void @capture(i32* nonnull %x1)
35 ; CHECK: call void @capture(i32* nonnull %[[C2]])
37 call void @capture(i32* nonnull %x2)
44 declare void @capture(i32*)
/external/mesa3d/src/mapi/glapi/gen/
Dmeson.build154 capture : true,
163 capture : true,
172 capture : true,
181 capture : true,
190 capture : true,
198 capture : true,
207 capture : true,
216 capture : true,
228 capture : true,
240 capture : true,
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SafeStack/X86/
Dcoloring.ll17 ; CHECK: call void @capture(i32* nonnull %[[A2]])
19 call void @capture(i32* nonnull %x)
26 ; CHECK: call void @capture(i32* nonnull %[[B2]])
28 call void @capture(i32* nonnull %x1)
35 ; CHECK: call void @capture(i32* nonnull %[[C2]])
37 call void @capture(i32* nonnull %x2)
44 declare void @capture(i32*)
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
Dp14.cpp3 template<typename T> void capture(const T&);
49 capture(array[0]); in capture_array()
63 capture(a); in test_layout()
64 capture(b); in test_layout()
99 void capture(X &x) { in capture() function
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dfunction_utils.cc37 StringPiece capture; in FunctionDefTensorDesc() local
44 .GetResult(&remaining, &capture)) { in FunctionDefTensorDesc()
45 node_name = string(capture.data(), capture.size()); in FunctionDefTensorDesc()
54 .GetResult(&remaining, &capture)) { in FunctionDefTensorDesc()
55 node_output = string(capture.data(), capture.size()); in FunctionDefTensorDesc()
63 .GetResult(nullptr, &capture)) { in FunctionDefTensorDesc()
64 CHECK(strings::safe_strto32(capture, &position)); in FunctionDefTensorDesc()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DPickFirstLoadBalancerTest.java105 verify(mockHelper).createSubchannel(eq(servers), attrsCaptor.capture()); in pickAfterResolved()
106 verify(mockHelper).updateBalancingState(eq(CONNECTING), pickerCaptor.capture()); in pickAfterResolved()
143 inOrder.verify(mockHelper).updateBalancingState(eq(CONNECTING), pickerCaptor.capture()); in pickAfterResolvedAndChanged()
164 verify(mockHelper).updateBalancingState(eq(CONNECTING), pickerCaptor.capture()); in pickAfterStateChangeAfterResolution()
173 inOrder.verify(mockHelper).updateBalancingState(eq(TRANSIENT_FAILURE), pickerCaptor.capture()); in pickAfterStateChangeAfterResolution()
177 inOrder.verify(mockHelper).updateBalancingState(eq(IDLE), pickerCaptor.capture()); in pickAfterStateChangeAfterResolution()
181 inOrder.verify(mockHelper).updateBalancingState(eq(READY), pickerCaptor.capture()); in pickAfterStateChangeAfterResolution()
191 verify(mockHelper).updateBalancingState(eq(TRANSIENT_FAILURE), pickerCaptor.capture()); in nameResolutionError()
210 inOrder.verify(mockHelper).updateBalancingState(eq(CONNECTING), pickerCaptor.capture()); in nameResolutionSuccessAfterError()
230 inOrder.verify(mockHelper).updateBalancingState(eq(TRANSIENT_FAILURE), pickerCaptor.capture()); in nameResolutionErrorWithStateChanges()
[all …]

12345678910>>...27