/external/webrtc/webrtc/base/ |
thread_unittest.cc | 171 // Function objects to test Thread::Invoke. 267 TEST(ThreadTest, Invoke) { 272 EXPECT_EQ(42, thread.Invoke<int>(FunctorA())); 275 thread.Invoke<void>(f2); 282 EXPECT_EQ(999, thread.Invoke<int>(&LocalFuncs::Func1)); 283 thread.Invoke<void>(&LocalFuncs::Func2); 286 // Verifies that two threads calling Invoke on each other at the same time does 299 thread->Invoke<void>(Bind(&Set, out)); 304 other_thread.Invoke<void>( 311 // to invoke A at the same time, thread A does not handle C's invoke whil [all...] |
/external/perfetto/src/tracing/test/ |
tracing_integration_test.cc | 45 using testing::Invoke; 120 EXPECT_CALL(producer_, OnConnect()).WillOnce(Invoke(on_producer_connect)); 133 EXPECT_CALL(consumer_, OnConnect()).WillOnce(Invoke(on_consumer_connect)); 147 .WillOnce(Invoke(on_producer_disconnect)); 152 .WillOnce(Invoke(on_consumer_disconnect)); 192 Invoke([on_create_ds_instance, &ds_iid, &global_buf_id]( 232 Invoke([&num_pack_rx, all_packets_rx, &trace_config, 291 .WillOnce(Invoke(on_tracing_disabled)); 313 .WillOnce(Invoke([on_create_ds_instance, &global_buf_id]( 342 .WillOnce(Invoke(on_tracing_disabled)) [all...] |
/system/connectivity/wificond/tests/ |
scan_utils_unittest.cpp | 37 using testing::Invoke; 152 WillOnce(Invoke(bind( 172 WillOnce(Invoke(bind(AppendMessageAndReturn, response, true, _1, _2))); 190 WillOnce(Invoke(bind(AppendMessageAndReturn, response, true, _1, _2))); 208 WillOnce(Invoke(bind(AppendMessageAndReturn, response, true, _1, _2))); 226 WillOnce(Invoke(bind(AppendMessageAndReturn, response, true, _1, _2))); 246 WillOnce(Invoke(bind(AppendMessageAndReturn, response, true, _1, _2))); 260 WillOnce(Invoke(bind( 274 WillOnce(Invoke(bind( 292 WillOnce(Invoke(bind [all...] |
/external/webrtc/webrtc/p2p/base/ |
transportcontroller.cc | 48 worker_thread_->Invoke<void>( 55 return worker_thread_->Invoke<bool>(rtc::Bind( 60 worker_thread_->Invoke<void>( 65 worker_thread_->Invoke<void>( 71 return worker_thread_->Invoke<bool>(rtc::Bind( 77 return worker_thread_->Invoke<bool>(rtc::Bind( 84 return worker_thread_->Invoke<bool>( 92 return worker_thread_->Invoke<bool>( 102 return worker_thread_->Invoke<bool>( 112 return worker_thread_->Invoke<bool> [all...] |
/external/clang/test/SemaCXX/ |
typo-correction.cpp | 139 Invoke(); // expected-error{{use of undeclared identifier 'Invoke'}} 140 Invoke("foo"); // expected-error{{use of undeclared identifier 'Invoke'; did you mean 'revoke'?}} 141 Invoke("foo", "bar"); // expected-error{{use of undeclared identifier 'Invoke'}} 143 void Test2(void (*invoke)(const char *, int)) { // expected-note{{'invoke' declared here}} 144 Invoke(); // expected-error{{use of undeclared identifier 'Invoke'}} [all...] |
/external/tensorflow/tensorflow/contrib/lite/kernels/ |
fully_connected_test.cc | 227 m.Invoke(); 251 m.Invoke(); 279 m.Invoke(); 306 m.Invoke(); 357 m.Invoke();
|
hashtable_lookup_test.cc | 110 m.Invoke(); 133 m.Invoke(); 156 m.Invoke();
|
depthwise_conv_test.cc | 111 m.Invoke(); 164 m.Invoke();
|
split_test.cc | 81 m.Invoke(); 90 const_m.Invoke();
|
/system/netd/server/ |
InterfaceControllerTest.cpp | 29 using testing::Invoke; 80 EXPECT_CALL(mSyscalls, read(kDevRandomFd, _)).WillOnce(Invoke([data](Fd, const Slice buf) { 88 .WillOnce(Invoke([](const std::string&, const std::string& dflt) { return dflt; })); 93 .WillOnce(Invoke([val](const std::string&, const std::string&) { return val; })); 102 .WillOnce(Invoke([val, err](Fd, const Slice buf) -> StatusOr<size_t> {
|
/external/google-breakpad/src/testing/include/gmock/ |
gmock-more-actions.h | 46 // Implements the Invoke(f) action. The template argument 48 // function pointer or a functor. Invoke(f) can be used as an 61 return InvokeHelper<Result, ArgumentTuple>::Invoke(function_impl_, args); 70 // Implements the Invoke(object_ptr, &Class::Method) action. 92 // Various overloads for Invoke(). 97 PolymorphicAction<internal::InvokeAction<FunctionImpl> > Invoke( 106 PolymorphicAction<internal::InvokeMethodAction<Class, MethodPtr> > Invoke(
|
/external/googletest/googlemock/include/gmock/ |
gmock-more-actions.h | 46 // Implements the Invoke(f) action. The template argument 48 // function pointer or a functor. Invoke(f) can be used as an 61 return InvokeHelper<Result, ArgumentTuple>::Invoke(function_impl_, args); 70 // Implements the Invoke(object_ptr, &Class::Method) action. 109 // Various overloads for Invoke(). 114 PolymorphicAction<internal::InvokeAction<FunctionImpl> > Invoke( 123 PolymorphicAction<internal::InvokeMethodAction<Class, MethodPtr> > Invoke(
|
/external/perfetto/src/tracing/core/ |
shared_memory_arbiter_impl_unittest.cc | 33 using testing::Invoke; 95 .WillOnce(Invoke([on_commit_1](const CommitDataRequest& req, 118 .WillOnce(Invoke([on_commit_2](const CommitDataRequest& req,
|
/external/v8/testing/gmock/include/gmock/ |
gmock-more-actions.h | 46 // Implements the Invoke(f) action. The template argument 48 // function pointer or a functor. Invoke(f) can be used as an 61 return InvokeHelper<Result, ArgumentTuple>::Invoke(function_impl_, args); 70 // Implements the Invoke(object_ptr, &Class::Method) action. 109 // Various overloads for Invoke(). 114 PolymorphicAction<internal::InvokeAction<FunctionImpl> > Invoke( 123 PolymorphicAction<internal::InvokeMethodAction<Class, MethodPtr> > Invoke(
|
/frameworks/ml/nn/common/operations/ |
LSHProjectionTest.cpp | 101 void Invoke() { 150 m.Invoke(); 161 m.Invoke();
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
transport_feedback_adapter_unittest.cc | 27 using ::testing::Invoke; 145 .WillOnce(Invoke( 187 .WillOnce(Invoke([expected_packets, 224 .WillOnce(Invoke([expected_packets, this]( 293 .WillOnce(Invoke([sent_packets, &received_feedback]( 312 .WillOnce(Invoke(
|
/external/tensorflow/tensorflow/contrib/lite/ |
interpreter_test.cc | 32 ASSERT_EQ(interpreter.Invoke(), kTfLiteOk); 38 ASSERT_NE(interpreter.Invoke(), kTfLiteOk); 40 ASSERT_EQ(interpreter.Invoke(), kTfLiteOk); 67 ASSERT_NE(interpreter.Invoke(), kTfLiteOk); 75 ASSERT_NE(interpreter.Invoke(), kTfLiteOk); 86 ASSERT_NE(interpreter.Invoke(), kTfLiteOk); 284 ASSERT_EQ(interpreter.Invoke(), kTfLiteOk); 385 reg.invoke = [](TfLiteContext* context, TfLiteNode* node) { 407 ASSERT_EQ(interpreter.Invoke(), kTfLiteOk); 441 reg_copy.invoke = [](TfLiteContext* context, TfLiteNode* node) [all...] |
/system/tpm/tpm_manager/client/ |
tpm_nvram_dbus_proxy_test.cc | 27 using testing::Invoke; 70 .WillOnce(WithArgs<0, 2>(Invoke(fake_dbus_call))); 104 .WillOnce(WithArgs<0, 2>(Invoke(fake_dbus_call))); 139 .WillOnce(WithArgs<0, 2>(Invoke(fake_dbus_call))); 175 .WillOnce(WithArgs<0, 2>(Invoke(fake_dbus_call))); 210 .WillOnce(WithArgs<0, 2>(Invoke(fake_dbus_call))); 244 .WillOnce(WithArgs<0, 2>(Invoke(fake_dbus_call))); 283 .WillOnce(WithArgs<0, 2>(Invoke(fake_dbus_call)));
|
/external/libchrome/base/ |
bind_internal.h | 150 Invoke(const Functor& functor, RunArgs&&... args) { 163 static R Invoke(R (*function)(Args...), RunArgs&&... args) { 178 static R Invoke(R(__stdcall* function)(Args...), RunArgs&&... args) { 191 static R Invoke(R(__fastcall* function)(Args...), RunArgs&&... args) { 206 static R Invoke(R (Receiver::*method)(Args...), 226 static R Invoke(R (Receiver::*method)(Args...) const, 245 static void Invoke(IgnoreResultType&& ignore_result_helper, 247 FunctorTraits<T>::Invoke( 262 static R Invoke(CallbackType&& callback, RunArgs&&... args) { 285 return Traits::Invoke(std::forward<Functor>(functor) [all...] |
/system/tpm/attestation/server/ |
dbus_service_test.cc | 31 using testing::Invoke; 85 Invoke([](const CreateGoogleAttestedKeyRequest& request, 117 Invoke([](const AttestationInterface::CreateGoogleAttestedKeyCallback& 141 Invoke([](const GetKeyInfoRequest& request, 175 .WillOnce(Invoke( 202 .WillOnce(Invoke([]( 239 Invoke([](const ActivateAttestationKeyRequest& request, 272 .WillOnce(Invoke([]( 307 Invoke([](const DecryptRequest& request, 334 .WillOnce(Invoke([](const SignRequest& request [all...] |
/art/runtime/interpreter/ |
unstarted_runtime.h | 51 static void Invoke(Thread* self,
|
/device/google/wahoo/wifi_offload/test/ |
offload_server_test.cpp | 54 .WillByDefault(testing::Invoke(std::bind(CaptureCallback, std::placeholders::_1,
|
/external/flatbuffers/tests/FlatBuffers.Test/ |
Program.cs | 45 method.Invoke(inst, new object[] { });
|
/external/libbrillo/brillo/streams/ |
memory_containers_unittest.cc | 16 using testing::Invoke; 112 .WillOnce(DoAll(WithArgs<1>(Invoke(OnReadError)), Return(nullptr))); 179 .WillOnce(DoAll(WithArgs<1>(Invoke(OnWriteError)), Return(false))); 201 .WillOnce(DoAll(WithArgs<1>(Invoke(OnWriteError)), Return(nullptr)));
|
/external/tensorflow/tensorflow/contrib/lite/examples/label_image/ |
bitmap_helpers_impl.h | 86 interpreter->Invoke();
|