Home
last modified time | relevance | path

Searched refs:Invoke (Results 1 – 25 of 307) sorted by relevance

12345678910>>...13

/external/chromium_org/chromeos/cryptohome/
Dmock_async_method_caller.cc7 using ::testing::Invoke;
31 WithArgs<2>(Invoke(this, &MockAsyncMethodCaller::DoCallback))); in SetUp()
34 WithArgs<3>(Invoke(this, &MockAsyncMethodCaller::DoCallback))); in SetUp()
37 WithArgs<3>(Invoke(this, &MockAsyncMethodCaller::DoCallback))); in SetUp()
40 WithArgs<3>(Invoke(this, &MockAsyncMethodCaller::DoCallback))); in SetUp()
43 WithArgs<0>(Invoke(this, &MockAsyncMethodCaller::DoCallback))); in SetUp()
46 WithArgs<1>(Invoke(this, &MockAsyncMethodCaller::DoCallback))); in SetUp()
49 WithArgs<0>(Invoke(this, in SetUp()
53 WithArgs<1>(Invoke(this, &MockAsyncMethodCaller::DoCallback))); in SetUp()
56 WithArgs<3>(Invoke(this, in SetUp()
[all …]
/external/chromium/base/
Dstring_number_conversions.cc145 static bool Invoke(char c) { in Invoke() function in base::__anone50263e30111::WhitespaceHelper
152 static bool Invoke(char16 c) { in Invoke() function in base::__anone50263e30111::WhitespaceHelper
158 return WhitespaceHelper<CHAR>::Invoke(c); in LocalIsWhitespace()
176 static bool Invoke(const_iterator begin, in Invoke() function in base::__anone50263e30111::IteratorRangeToNumber
187 if (!Negative::Invoke(begin + 1, end, output)) { in Invoke()
194 if (!Positive::Invoke(begin, end, output)) { in Invoke()
211 static bool Invoke(const_iterator begin, const_iterator end, in Invoke() function in base::__anone50263e30111::IteratorRangeToNumber::Base
392 return IteratorRangeToNumber<IteratorRangeToIntTraits>::Invoke(input.begin(), in StringToInt()
401 return IteratorRangeToNumber<IteratorRangeToIntTraits>::Invoke(begin, in StringToInt()
408 return IteratorRangeToNumber<CharBufferToIntTraits>::Invoke(begin, in StringToInt()
[all …]
/external/chromium_org/chrome/browser/sync_file_system/
Dmock_remote_file_sync_service.cc16 using ::testing::Invoke;
26 .WillByDefault(Invoke(this, &self::AddServiceObserverStub)); in MockRemoteFileSyncService()
28 .WillByDefault(Invoke(this, &self::AddFileStatusObserverStub)); in MockRemoteFileSyncService()
30 .WillByDefault(Invoke(this, &self::RegisterOriginStub)); in MockRemoteFileSyncService()
33 Invoke(this, &self::DeleteOriginDirectoryStub)); in MockRemoteFileSyncService()
35 .WillByDefault(Invoke(this, &self::ProcessRemoteChangeStub)); in MockRemoteFileSyncService()
41 .WillByDefault(Invoke(this, &self::GetCurrentStateStub)); in MockRemoteFileSyncService()
43 .WillByDefault(Invoke(this, &self::SetConflictResolutionPolicyStub)); in MockRemoteFileSyncService()
45 .WillByDefault(Invoke(this, &self::GetConflictResolutionPolicyStub)); in MockRemoteFileSyncService()
/external/chromium/testing/gmock/test/
Dgmock-more-actions_test.cc58 using testing::Invoke;
234 Action<int()> a = Invoke(Nullary); // NOLINT in TEST()
240 Action<bool(int)> a = Invoke(Unary); // NOLINT in TEST()
247 Action<const char*(const char*, short)> a = Invoke(Binary); // NOLINT in TEST()
254 Action<int(int, char, short)> a = Invoke(Ternary); // NOLINT in TEST()
260 Action<int(int, int, int, int)> a = Invoke(SumOf4); // NOLINT in TEST()
266 Action<int(int, int, int, int, int)> a = Invoke(SumOf5); // NOLINT in TEST()
272 Action<int(int, int, int, int, int, int)> a = Invoke(SumOf6); // NOLINT in TEST()
284 Invoke(Concat7); in TEST()
295 Invoke(Concat8); in TEST()
[all …]
/external/chromium_org/sync/engine/
Dsync_scheduler_unittest.cc32 using testing::Invoke;
280 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateNormalSuccess), in TEST_F()
296 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateNormalSuccess), in TEST_F()
309 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateConfigureSuccess), in TEST_F()
339 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateConfigureFailed), in TEST_F()
341 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateConfigureFailed), in TEST_F()
366 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateConfigureSuccess), in TEST_F()
387 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateConfigureFailed), in TEST_F()
418 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateConfigureFailed), in TEST_F()
436 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateConfigureFailed), in TEST_F()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dchannelmanager.cc294 worker_thread_->Invoke<void>(Bind(&ChannelManager::Terminate_w, this)); in Terminate()
318 return worker_thread_->Invoke<VoiceChannel*>( in CreateVoiceChannel()
344 worker_thread_->Invoke<void>( in DestroyVoiceChannel()
365 return worker_thread_->Invoke<VideoChannel*>( in CreateVideoChannel()
395 worker_thread_->Invoke<void>( in DestroyVideoChannel()
416 return worker_thread_->Invoke<DataChannel*>( in CreateDataChannel()
448 worker_thread_->Invoke<void>( in DestroyDataChannel()
467 return worker_thread_->Invoke<Soundclip*>( in CreateSoundclip()
487 worker_thread_->Invoke<void>( in DestroySoundclip()
541 ret = worker_thread_->Invoke<bool>( in SetAudioOptions()
[all …]
/external/chromium/chrome/browser/sync/engine/
Dsyncer_thread2_unittest.cc22 using testing::Invoke;
210 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateSuccess), in TEST_F()
228 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateSuccess), in TEST_F()
250 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateSuccess), in TEST_F()
277 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateCommitFailed), in TEST_F()
279 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateSuccess), in TEST_F()
310 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateCommitFailed), in TEST_F()
312 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateCommitFailed), in TEST_F()
314 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateSuccess), in TEST_F()
348 .WillOnce(DoAll(Invoke(sessions::test_util::SimulateCommitFailed), in TEST_F()
[all …]
/external/chromium_org/chrome/browser/extensions/api/cast_channel/
Dcast_channel_apitest.cc27 using ::testing::Invoke;
143 .WillOnce(Invoke(FillChannelInfoForOpenState)) in IN_PROC_BROWSER_TEST_F()
144 .WillOnce(Invoke(FillChannelInfoForOpenState)) in IN_PROC_BROWSER_TEST_F()
145 .WillOnce(Invoke(FillChannelInfoForClosedState)); in IN_PROC_BROWSER_TEST_F()
170 .WillOnce(Invoke(FillChannelInfoForOpenState)) in IN_PROC_BROWSER_TEST_F()
171 .WillOnce(Invoke(FillChannelInfoForOpenState)) in IN_PROC_BROWSER_TEST_F()
172 .WillOnce(Invoke(FillChannelInfoForOpenState)) in IN_PROC_BROWSER_TEST_F()
173 .WillOnce(Invoke(FillChannelInfoForClosedState)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/chromeos/attestation/
Dattestation_policy_observer_unittest.cc24 using testing::Invoke;
115 .WillRepeatedly(WithArgs<3>(Invoke(DBusCallbackTrue))); in SetupMocks()
117 .WillRepeatedly(WithArgs<3>(Invoke(FakeDBusData(certificate)))); in SetupMocks()
120 .WillRepeatedly(WithArgs<3>(Invoke(DBusCallbackFalse))); in SetupMocks()
127 .WillRepeatedly(WithArgs<3>(Invoke( in SetupMocks()
139 .WillOnce(WithArgs<1>(Invoke(StatusCallbackSuccess))); in SetupMocks()
142 .WillOnce(WithArgs<4>(Invoke(DBusCallbackTrue))); in SetupMocks()
150 .WillOnce(WithArgs<4>(Invoke(CertCallbackSuccess))); in SetupMocks()
238 .WillOnce(WithArgs<3>(Invoke(DBusCallbackError))) in TEST_F()
239 .WillRepeatedly(WithArgs<3>(Invoke(DBusCallbackFalse))); in TEST_F()
/external/chromium/chrome/browser/chromeos/cros/
Dmock_cryptohome_library.h14 using ::testing::Invoke;
30 WithArgs<2>(Invoke(this, &MockCryptohomeLibrary::DoCallback))); in SetUp()
33 WithArgs<3>(Invoke(this, &MockCryptohomeLibrary::DoCallback))); in SetUp()
36 WithArgs<3>(Invoke(this, &MockCryptohomeLibrary::DoCallback))); in SetUp()
39 WithArgs<0>(Invoke(this, &MockCryptohomeLibrary::DoCallback))); in SetUp()
42 WithArgs<1>(Invoke(this, &MockCryptohomeLibrary::DoCallback))); in SetUp()
45 WithArgs<0>(Invoke(this, &MockCryptohomeLibrary::DoCallback))); in SetUp()
/external/chromium_org/chrome/browser/extensions/api/enterprise_platform_keys_private/
Denterprise_platform_keys_private_api_unittest.cc33 using testing::Invoke;
145 .WillByDefault(WithArgs<3>(Invoke(FakeBoolDBusMethod( in EPKPChallengeKeyTestBase()
148 .WillByDefault(Invoke(FakeBoolDBusMethod( in EPKPChallengeKeyTestBase()
151 .WillByDefault(Invoke(RegisterKeyCallbackTrue)); in EPKPChallengeKeyTestBase()
154 .WillByDefault(Invoke(SignChallengeCallbackTrue)); in EPKPChallengeKeyTestBase()
156 .WillByDefault(Invoke(GetCertificateCallbackTrue)); in EPKPChallengeKeyTestBase()
269 .WillRepeatedly(WithArgs<3>(Invoke(FakeBoolDBusMethod( in TEST_F()
278 .WillRepeatedly(Invoke(GetCertificateCallbackFalse)); in TEST_F()
287 .WillRepeatedly(Invoke(SignChallengeCallbackFalse)); in TEST_F()
295 .WillRepeatedly(WithArgs<3>(Invoke(FakeBoolDBusMethod( in TEST_F()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dproxy.h66 void Invoke(C* c, M m) { r_ = (c->*m)(); } in Invoke() function
68 void Invoke(C* c, M m, T1 a1) { r_ = (c->*m)(a1); } in Invoke() function
70 void Invoke(C* c, M m, T1 a1, T2 a2) { r_ = (c->*m)(a1, a2); } in Invoke() function
72 void Invoke(C* c, M m, T1 a1, T2 a2, T3 a3) { r_ = (c->*m)(a1, a2, a3); } in Invoke() function
84 void Invoke(C* c, M m) { (c->*m)(); } in Invoke() function
86 void Invoke(C* c, M m, T1 a1) { (c->*m)(a1); } in Invoke() function
88 void Invoke(C* c, M m, T1 a1, T2 a2) { (c->*m)(a1, a2); } in Invoke() function
90 void Invoke(C* c, M m, T1 a1, T2 a2, T3 a3) { (c->*m)(a1, a2, a3); } in Invoke() function
108 void OnMessage(talk_base::Message*) { r_.Invoke(c_, m_);} in OnMessage()
128 void OnMessage(talk_base::Message*) { r_.Invoke(c_, m_); } in OnMessage()
[all …]
/external/clang/test/SemaCXX/
Dtypo-correction.cpp138 Invoke(); // expected-error{{use of undeclared identifier 'Invoke'}} in Test()
139 Invoke("foo"); // expected-error{{use of undeclared identifier 'Invoke'; did you mean 'revoke'?}} in Test()
140 Invoke("foo", "bar"); // expected-error{{use of undeclared identifier 'Invoke'}} in Test()
143 Invoke(); // expected-error{{use of undeclared identifier 'Invoke'}} in Test2()
144 Invoke("foo"); // expected-error{{use of undeclared identifier 'Invoke'; did you mean 'revoke'?}} in Test2()
145Invoke("foo", 7); // expected-error{{use of undeclared identifier 'Invoke'; did you mean 'invoke'?… in Test2()
146 Invoke("foo", 7, 22); // expected-error{{use of undeclared identifier 'Invoke'}} in Test2()
/external/chromium_org/remoting/host/setup/
Ddaemon_installer_win.cc126 HRESULT hr = dispatch::Invoke(update3_.get(), L"createAppBundleWeb", in Install()
137 hr = dispatch::Invoke(V_DISPATCH(&bundle_), L"initialize", DISPATCH_METHOD, in Install()
148 hr = dispatch::Invoke(V_DISPATCH(&bundle_), L"createApp", DISPATCH_METHOD, in Install()
155 hr = dispatch::Invoke(V_DISPATCH(&bundle_), L"checkForUpdate", in Install()
162 hr = dispatch::Invoke(V_DISPATCH(&bundle_), L"appWeb", in Install()
183 HRESULT hr = dispatch::Invoke(V_DISPATCH(&app_), L"currentState", in PollInstallationStatus()
195 hr = dispatch::Invoke(V_DISPATCH(&current_state), L"stateValue", in PollInstallationStatus()
216 hr = dispatch::Invoke(V_DISPATCH(&bundle_), L"download", in PollInstallationStatus()
228 hr = dispatch::Invoke(V_DISPATCH(&bundle_), L"install", in PollInstallationStatus()
244 hr = dispatch::Invoke(V_DISPATCH(&current_state), L"errorCode", in PollInstallationStatus()
/external/chromium_org/base/strings/
Dstring_number_conversions.cc148 static bool Invoke(char c) { in Invoke() function in base::__anon558a26e30111::WhitespaceHelper
155 static bool Invoke(char16 c) { in Invoke() function in base::__anon558a26e30111::WhitespaceHelper
161 return WhitespaceHelper<CHAR>::Invoke(c); in LocalIsWhitespace()
179 static bool Invoke(const_iterator begin, in Invoke() function in base::__anon558a26e30111::IteratorRangeToNumber
192 } else if (!Negative::Invoke(begin + 1, end, output)) { in Invoke()
199 if (!Positive::Invoke(begin, end, output)) { in Invoke()
216 static bool Invoke(const_iterator begin, const_iterator end, in Invoke() function in base::__anon558a26e30111::IteratorRangeToNumber::Base
356 return IteratorRangeToNumber<StringPieceToNumberTraits<VALUE, 10> >::Invoke( in StringToIntImpl()
369 return IteratorRangeToNumber<StringPiece16ToNumberTraits<VALUE, 10> >::Invoke( in String16ToIntImpl()
506 return IteratorRangeToNumber<HexIteratorRangeToIntTraits>::Invoke( in HexStringToInt()
[all …]
/external/chromium_org/remoting/base/
Ddispatch_win.h119 HRESULT Invoke(IDispatch* object, in Invoke() function
148 hr = object->Invoke(disp_id, IID_NULL, LOCALE_USER_DEFAULT, flags, in Invoke()
163 HRESULT Invoke(IDispatch* object, in Invoke() function
198 hr = object->Invoke(disp_id, IID_NULL, LOCALE_USER_DEFAULT, flags, in Invoke()
215 HRESULT Invoke(IDispatch* object, in Invoke() function
254 hr = object->Invoke(disp_id, IID_NULL, LOCALE_USER_DEFAULT, flags, in Invoke()
272 HRESULT Invoke(IDispatch* object, in Invoke() function
315 hr = object->Invoke(disp_id, IID_NULL, LOCALE_USER_DEFAULT, flags, in Invoke()
334 HRESULT Invoke(IDispatch* object, in Invoke() function
381 hr = object->Invoke(disp_id, IID_NULL, LOCALE_USER_DEFAULT, flags, in Invoke()
[all …]
Ddispatch_win.h.pump7 $$ MAX_ARITY controls the number of arguments that dispatch::Invoke() supports.
30 // IDispatch::Invoke(). The latter accepts parameters as an array of
31 // |VARIANTARG| structures. The calling convention of IDispatch::Invoke() is:
33 // - [out] parameters are initialized by IDispatch::Invoke(). It is up to
58 // that they can be passed to IDispatch::Invoke.
69 // IDispatch::Invoke().
108 // Invoke() is a convenience wrapper for IDispatch::Invoke. It takes care of
130 HRESULT Invoke(IDispatch* object,
165 // Invoke the method passing the parameters via the DISPPARAMS structure.
182 hr = object->Invoke(disp_id, IID_NULL, LOCALE_USER_DEFAULT, flags,
/external/chromium_org/chromeos/attestation/
Dattestation_flow_unittest.cc15 using testing::Invoke;
77 .WillRepeatedly(Invoke(DBusCallbackFalse)); in TEST_F()
149 .WillRepeatedly(Invoke(DBusCallbackFalse)); in TEST_F()
176 .WillRepeatedly(Invoke(DBusCallbackFalse)); in TEST_F()
207 .WillOnce(WithArgs<1>(Invoke(AsyncCallbackFalse))); in TEST_F()
211 .WillRepeatedly(Invoke(DBusCallbackFalse)); in TEST_F()
252 .WillRepeatedly(Invoke(DBusCallbackTrue)); in TEST_F()
285 .WillRepeatedly(Invoke(DBusCallbackTrue)); in TEST_F()
313 .WillRepeatedly(Invoke(DBusCallbackTrue)); in TEST_F()
340 .WillRepeatedly(Invoke(DBusCallbackFail)); in TEST_F()
[all …]
/external/chromium_org/content/browser/renderer_host/media/
Dweb_contents_audio_input_stream_unittest.cc25 using ::testing::Invoke;
102 .WillByDefault(Invoke(&real_, &VirtualAudioInputStream::Open)); in MockVirtualAudioInputStream()
104 .WillByDefault(Invoke(&real_, &VirtualAudioInputStream::Start)); in MockVirtualAudioInputStream()
106 .WillByDefault(Invoke(&real_, &VirtualAudioInputStream::Stop)); in MockVirtualAudioInputStream()
108 .WillByDefault(Invoke(&real_, &VirtualAudioInputStream::Close)); in MockVirtualAudioInputStream()
110 .WillByDefault(Invoke(&real_, &VirtualAudioInputStream::GetMaxVolume)); in MockVirtualAudioInputStream()
112 .WillByDefault(Invoke(&real_, &VirtualAudioInputStream::SetVolume)); in MockVirtualAudioInputStream()
114 .WillByDefault(Invoke(&real_, &VirtualAudioInputStream::GetVolume)); in MockVirtualAudioInputStream()
117 Invoke(&real_, &VirtualAudioInputStream::SetAutomaticGainControl)); in MockVirtualAudioInputStream()
120 Invoke(&real_, &VirtualAudioInputStream::GetAutomaticGainControl)); in MockVirtualAudioInputStream()
[all …]
/external/chromium_org/chrome/browser/speech/extension_api/
Dtts_extension_apitest.cc212 Invoke(&mock_platform_impl_, in IN_PROC_BROWSER_TEST_F()
232 Invoke(&mock_platform_impl_, in IN_PROC_BROWSER_TEST_F()
255 Invoke(&mock_platform_impl_, in IN_PROC_BROWSER_TEST_F()
269 Invoke(&mock_platform_impl_, in IN_PROC_BROWSER_TEST_F()
274 Invoke(&mock_platform_impl_, in IN_PROC_BROWSER_TEST_F()
297 Invoke(&mock_platform_impl_, in IN_PROC_BROWSER_TEST_F()
311 Invoke(&mock_platform_impl_, in IN_PROC_BROWSER_TEST_F()
313 Invoke(&mock_platform_impl_, in IN_PROC_BROWSER_TEST_F()
326 Invoke(&mock_platform_impl_, in IN_PROC_BROWSER_TEST_F()
358 Invoke(&mock_platform_impl_, in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/remoting/host/win/
Dworker_process_launcher_unittest.cc32 using testing::Invoke;
201 .WillRepeatedly(Invoke(this, &WorkerProcessLauncherTest::SendToProcess)); in SetUp()
204 .WillRepeatedly(Invoke(this, in SetUp()
208 .WillRepeatedly(Invoke(this, &WorkerProcessLauncherTest::KillProcess)); in SetUp()
388 .WillRepeatedly(Invoke(this, &WorkerProcessLauncherTest::LaunchProcess)); in TEST_F()
405 .WillRepeatedly(Invoke( in TEST_F()
424 .WillRepeatedly(Invoke( in TEST_F()
447 .WillRepeatedly(Invoke( in TEST_F()
470 .WillRepeatedly(Invoke( in TEST_F()
491 .WillRepeatedly(Invoke( in TEST_F()
[all …]
/external/chromium_org/chromeos/dbus/
Dmock_cryptohome_client.cc12 using ::testing::Invoke;
29 .WillByDefault(Invoke(&RunCallbackWithTrue)); in MockCryptohomeClient()
31 .WillByDefault(Invoke(&RunCallbackWithTrue)); in MockCryptohomeClient()
/external/chromium_org/ui/base/ime/win/
Dtsf_text_store_unittest.cc20 using testing::Invoke;
417 .WillOnce(Invoke(&callback, &SyncRequestLockTestCallback::LockGranted1)) in TEST_F()
418 .WillOnce(Invoke(&callback, &SyncRequestLockTestCallback::LockGranted2)) in TEST_F()
419 .WillOnce(Invoke(&callback, &SyncRequestLockTestCallback::LockGranted3)) in TEST_F()
420 .WillOnce(Invoke(&callback, &SyncRequestLockTestCallback::LockGranted4)) in TEST_F()
421 .WillOnce(Invoke(&callback, &SyncRequestLockTestCallback::LockGranted5)) in TEST_F()
422 .WillOnce(Invoke(&callback, &SyncRequestLockTestCallback::LockGranted6)); in TEST_F()
520 .WillOnce(Invoke(&callback, &AsyncRequestLockTestCallback::LockGranted1)) in TEST_F()
521 .WillOnce(Invoke(&callback, &AsyncRequestLockTestCallback::LockGranted2)) in TEST_F()
522 .WillOnce(Invoke(&callback, &AsyncRequestLockTestCallback::LockGranted3)) in TEST_F()
[all …]
/external/chromium_org/chrome/browser/chromeos/login/
Dmock_login_utils.cc21 .WillByDefault(Invoke(fake, &FakeLoginUtils::DoBrowserLaunch)); in DelegateToFake()
23 .WillByDefault(Invoke(fake, &FakeLoginUtils::PrepareProfile)); in DelegateToFake()
25 .WillByDefault(Invoke(fake, &FakeLoginUtils::CreateAuthenticator)); in DelegateToFake()
/external/chromium_org/content/renderer/media/
Dmock_web_rtc_peer_connection_handler_client.cc18 ON_CALL(*this, didGenerateICECandidate(_)).WillByDefault(testing::Invoke( in MockWebRTCPeerConnectionHandlerClient()
21 ON_CALL(*this, didAddRemoteStream(_)).WillByDefault(testing::Invoke( in MockWebRTCPeerConnectionHandlerClient()
24 ON_CALL(*this, didRemoveRemoteStream(_)).WillByDefault(testing::Invoke( in MockWebRTCPeerConnectionHandlerClient()

12345678910>>...13