mock 12 android_webview/javatests/src/org/chromium/android_webview/test/ContentViewMiscTest.java import android.test.mock.MockContext; mock 68 base/gmock_unittest.cc MockSampleClass mock; mock 70 base/gmock_unittest.cc EXPECT_CALL(mock, ReturnSomething()) mock 74 base/gmock_unittest.cc EXPECT_EQ(1, mock.ReturnSomething()); mock 75 base/gmock_unittest.cc EXPECT_EQ(2, mock.ReturnSomething()); mock 76 base/gmock_unittest.cc EXPECT_EQ(3, mock.ReturnSomething()); mock 78 base/gmock_unittest.cc EXPECT_CALL(mock, ReturnNothingConstly()).Times(2); mock 79 base/gmock_unittest.cc mock.ReturnNothingConstly(); mock 80 base/gmock_unittest.cc mock.ReturnNothingConstly(); mock 85 base/gmock_unittest.cc MockSampleClass mock; mock 87 base/gmock_unittest.cc EXPECT_CALL(mock, OutputParam(_)) mock 91 base/gmock_unittest.cc mock.OutputParam(&arg); mock 97 base/gmock_unittest.cc MockSampleClass mock; mock 99 base/gmock_unittest.cc EXPECT_CALL(mock, OutputParam(_)) mock 103 base/gmock_unittest.cc mock.OutputParam(&arg); mock 112 base/gmock_unittest.cc MockSampleClass mock; mock 114 base/gmock_unittest.cc EXPECT_CALL(mock, ReturnSecond(_, AnyOf(Eq(4), Eq(5)))) mock 116 base/gmock_unittest.cc EXPECT_EQ(4, mock.ReturnSecond(-1, 4)); mock 117 base/gmock_unittest.cc EXPECT_EQ(5, mock.ReturnSecond(0, 5)); mock 118 base/gmock_unittest.cc EXPECT_EQ(4, mock.ReturnSecond(0xdeadbeef, 4)); mock 119 base/gmock_unittest.cc EXPECT_EQ(4, mock.ReturnSecond(112358, 4)); mock 120 base/gmock_unittest.cc EXPECT_EQ(5, mock.ReturnSecond(1337, 5)); mock 126 base/gmock_unittest.cc MockSampleClass mock; mock 128 base/gmock_unittest.cc EXPECT_CALL(mock, ReturnSecond(_, AnyOf(Eq(4), Eq(5)))) mock 130 base/gmock_unittest.cc EXPECT_EQ(4, mock.ReturnSecond(-1, 4)); mock 131 base/gmock_unittest.cc EXPECT_EQ(5, mock.ReturnSecond(0, 5)); mock 132 base/gmock_unittest.cc EXPECT_EQ(4, mock.ReturnSecond(0xdeadbeef, 4)); mock 133 base/gmock_unittest.cc EXPECT_EQ(4, mock.ReturnSecond(112358, 4)); mock 134 base/gmock_unittest.cc EXPECT_EQ(5, mock.ReturnSecond(1337, 5)); mock 11 base/test/android/javatests/src/org/chromium/base/test/util/AdvancedMockContext.java import android.test.mock.MockContentResolver; mock 12 base/test/android/javatests/src/org/chromium/base/test/util/AdvancedMockContext.java import android.test.mock.MockContext; mock 9 chrome/android/javatests/src/org/chromium/chrome/browser/banners/InstallerDelegateTest.java import android.test.mock.MockPackageManager; mock 10 chrome/android/javatests/src/org/chromium/chrome/browser/test/ProviderTestBase.java import android.test.mock.MockContentResolver; mock 1581 chrome/browser/apps/web_view_browsertest.cc scoped_ptr<MockWebContentsDelegate> mock(new MockWebContentsDelegate()); mock 1582 chrome/browser/apps/web_view_browsertest.cc embedder_web_contents->SetDelegate(mock.get()); mock 1593 chrome/browser/apps/web_view_browsertest.cc mock->WaitForSetMediaPermission(); mock 935 chrome/browser/chromeos/login/login_utils.cc void LoginUtils::Set(LoginUtils* mock) { mock 936 chrome/browser/chromeos/login/login_utils.cc LoginUtilsWrapper::GetInstance()->reset(mock); mock 57 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(mocks_.size() - 1), GetId()).WillRepeatedly(Return( mock 183 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetBrowserContext()).WillRepeatedly(Return( mock 185 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetBrowserContext()).WillRepeatedly(Return( mock 188 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetTargetFilePath()).WillRepeatedly(ReturnRef( mock 191 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetTargetFilePath()).WillRepeatedly(ReturnRef( mock 194 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetOriginalUrl()).WillRepeatedly(ReturnRef(fail_url)); mock 195 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetOriginalUrl()).WillRepeatedly(ReturnRef(fail_url)); mock 204 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetBrowserContext()).WillRepeatedly(Return( mock 206 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetBrowserContext()).WillRepeatedly(Return( mock 209 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetTargetFilePath()).WillRepeatedly(ReturnRef( mock 211 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetTargetFilePath()).WillRepeatedly(ReturnRef( mock 214 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetOriginalUrl()).WillRepeatedly(ReturnRef(match_url)); mock 216 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetOriginalUrl()).WillRepeatedly(ReturnRef(fail_url)); mock 225 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetBrowserContext()).WillRepeatedly(Return( mock 227 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetBrowserContext()).WillRepeatedly(Return( mock 237 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetTargetFilePath()).WillRepeatedly(ReturnRef( mock 240 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetTargetFilePath()).WillRepeatedly(ReturnRef( mock 243 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetOriginalUrl()).WillRepeatedly(ReturnRef(fail_url)); mock 244 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetOriginalUrl()).WillRepeatedly(ReturnRef(fail_url)); mock 254 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetTargetFilePath()).WillRepeatedly(ReturnRef( mock 257 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetTargetFilePath()).WillRepeatedly(ReturnRef( mock 266 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetTargetFilePath()).WillRepeatedly(ReturnRef( mock 269 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetTargetFilePath()).WillRepeatedly(ReturnRef( mock 278 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetTargetFilePath()).WillRepeatedly(ReturnRef( mock 281 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetTargetFilePath()).WillRepeatedly(ReturnRef( mock 290 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetOriginalUrl()).WillRepeatedly(ReturnRef(match_url)); mock 292 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetOriginalUrl()).WillRepeatedly(ReturnRef(fail_url)); mock 300 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetOriginalUrl()).WillRepeatedly(ReturnRef(b_url)); mock 302 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetOriginalUrl()).WillRepeatedly(ReturnRef(a_url)); mock 310 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetOriginalUrl()).WillRepeatedly(ReturnRef(match_url)); mock 312 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetOriginalUrl()).WillRepeatedly(ReturnRef(fail_url)); mock 325 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetReceivedBytes()).WillRepeatedly(Return(0)); mock 326 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetReceivedBytes()).WillRepeatedly(Return(1)); mock 333 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetReceivedBytes()).WillRepeatedly(Return(0)); mock 334 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetReceivedBytes()).WillRepeatedly(Return(1)); mock 342 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetDangerType()).WillRepeatedly(Return( mock 344 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetDangerType()).WillRepeatedly(Return( mock 352 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetDangerType()).WillRepeatedly(Return( mock 354 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetDangerType()).WillRepeatedly(Return( mock 363 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetFileExternallyRemoved()).WillRepeatedly(Return( mock 365 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetFileExternallyRemoved()).WillRepeatedly(Return( mock 373 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetFileExternallyRemoved()).WillRepeatedly(Return( mock 375 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetFileExternallyRemoved()).WillRepeatedly(Return( mock 384 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetMimeType()).WillRepeatedly(Return("text")); mock 385 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetMimeType()).WillRepeatedly(Return("image")); mock 392 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetMimeType()).WillRepeatedly(Return("b")); mock 393 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetMimeType()).WillRepeatedly(Return("a")); mock 400 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), IsPaused()).WillRepeatedly(Return(true)); mock 401 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), IsPaused()).WillRepeatedly(Return(false)); mock 408 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), IsPaused()).WillRepeatedly(Return(true)); mock 409 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), IsPaused()).WillRepeatedly(Return(false)); mock 416 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetStartTime()).WillRepeatedly(Return( mock 418 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetStartTime()).WillRepeatedly(Return( mock 427 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetStartTime()).WillRepeatedly(Return( mock 429 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetStartTime()).WillRepeatedly(Return( mock 438 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetStartTime()).WillRepeatedly(Return( mock 440 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetStartTime()).WillRepeatedly(Return( mock 449 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetStartTime()).WillRepeatedly(Return( mock 451 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetStartTime()).WillRepeatedly(Return( mock 459 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetEndTime()).WillRepeatedly(Return( mock 461 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetEndTime()).WillRepeatedly(Return( mock 470 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetEndTime()).WillRepeatedly(Return( mock 472 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetEndTime()).WillRepeatedly(Return( mock 481 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetEndTime()).WillRepeatedly(Return( mock 483 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetEndTime()).WillRepeatedly(Return( mock 492 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetEndTime()).WillRepeatedly(Return( mock 494 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetEndTime()).WillRepeatedly(Return( mock 502 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetTotalBytes()).WillRepeatedly(Return(2)); mock 503 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetTotalBytes()).WillRepeatedly(Return(1)); mock 510 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetTotalBytes()).WillRepeatedly(Return(2)); mock 511 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetTotalBytes()).WillRepeatedly(Return(4)); mock 518 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetTotalBytes()).WillRepeatedly(Return(2)); mock 519 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetTotalBytes()).WillRepeatedly(Return(4)); mock 526 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetTotalBytes()).WillRepeatedly(Return(2)); mock 527 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetTotalBytes()).WillRepeatedly(Return(4)); mock 535 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetState()).WillRepeatedly(Return( mock 537 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetState()).WillRepeatedly(Return( mock 545 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetState()).WillRepeatedly(Return( mock 547 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetState()).WillRepeatedly(Return( mock 555 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetDangerType()).WillRepeatedly(Return( mock 557 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetDangerType()).WillRepeatedly(Return( mock 565 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetDangerType()).WillRepeatedly(Return( mock 567 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetDangerType()).WillRepeatedly(Return( mock 575 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetReceivedBytes()).WillRepeatedly(Return(0)); mock 576 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetReceivedBytes()).WillRepeatedly(Return(0)); mock 587 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(0), GetReceivedBytes()).WillRepeatedly(Return(0)); mock 588 chrome/browser/download/download_query_unittest.cc EXPECT_CALL(mock(1), GetReceivedBytes()).WillRepeatedly(Return(0)); mock 44 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc FrontendDataTypeControllerMock* mock) mock 50 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc mock_(mock) {} mock 58 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc NonFrontendDataTypeControllerMock* mock) mock 64 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc mock_(mock) {} mock 67 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc NonUIDataTypeControllerMock* mock) mock 74 chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc mock_(mock) {} mock 72 chrome/browser/sync/glue/typed_url_model_associator_unittest.cc ProfileSyncServiceMock* mock) { mock 75 chrome/browser/sync/glue/typed_url_model_associator_unittest.cc *associator = new TypedUrlModelAssociator(mock, NULL, NULL); mock 416 chrome/browser/sync/glue/typed_url_model_associator_unittest.cc ProfileSyncServiceMock mock(&profile); mock 423 chrome/browser/sync/glue/typed_url_model_associator_unittest.cc &mock); mock 199 components/password_manager/core/browser/password_store_unittest.cc StartSyncFlareMock mock; mock 201 components/password_manager/core/browser/password_store_unittest.cc base::Unretained(&mock))); mock 204 components/password_manager/core/browser/password_store_unittest.cc EXPECT_CALL(mock, StartSyncFlare(syncer::PASSWORDS)); mock 98 content/browser/startup_task_runner_unittest.cc TaskRunnerProxy(MockTaskRunner* mock) : mock_(mock) {} mock 168 content/shell/renderer/test_runner/MockWebSpeechInputController.cpp MockWebSpeechInputController::SpeechTask::SpeechTask(MockWebSpeechInputController* mock) mock 169 content/shell/renderer/test_runner/MockWebSpeechInputController.cpp : WebMethodTask<MockWebSpeechInputController>::WebMethodTask(mock) mock 23 content/shell/renderer/test_runner/MockWebSpeechRecognizer.cpp ClientCallTask(MockWebSpeechRecognizer* mock, ClientFunctionPointer function) mock 24 content/shell/renderer/test_runner/MockWebSpeechRecognizer.cpp : MockWebSpeechRecognizer::Task(mock) mock 38 content/shell/renderer/test_runner/MockWebSpeechRecognizer.cpp ResultTask(MockWebSpeechRecognizer* mock, const WebString transcript, float confidence) mock 39 content/shell/renderer/test_runner/MockWebSpeechRecognizer.cpp : MockWebSpeechRecognizer::Task(mock) mock 66 content/shell/renderer/test_runner/MockWebSpeechRecognizer.cpp NoMatchTask(MockWebSpeechRecognizer* mock) : MockWebSpeechRecognizer::Task(mock) { } mock 73 content/shell/renderer/test_runner/MockWebSpeechRecognizer.cpp ErrorTask(MockWebSpeechRecognizer* mock, WebSpeechRecognizerClient::ErrorCode code, const WebString& message) mock 74 content/shell/renderer/test_runner/MockWebSpeechRecognizer.cpp : MockWebSpeechRecognizer::Task(mock) mock 113 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, open(_, _)) mock 118 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, mount(_, _, _, _, _)) mock 123 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc ASSERT_EQ(0, ki_init(&mock)); mock 133 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc MockKernelProxy mock; mock 139 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, access(kDummyConstChar, kDummyInt)) .WillOnce(Return(-1)); mock 142 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, access(kDummyConstChar, kDummyInt)) .WillOnce(Return(0)); mock 147 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, chdir(kDummyConstChar)).WillOnce(Return(-1)); mock 150 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, chdir(kDummyConstChar)).WillOnce(Return(0)); mock 155 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, chmod(kDummyConstChar, kDummyMode)) mock 161 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, chown(kDummyConstChar, kDummyUid, kDummyGid)) mock 169 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, close(kDummyInt)) mock 178 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, dup(kDummyInt)).WillOnce(Return(kDummyInt2)); mock 185 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, dup2(kDummyInt, kDummyInt2)) mock 193 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, fchdir(kDummyInt)) mock 199 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, fchmod(kDummyInt, kDummyMode)) mock 203 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, fchmod(kDummyInt, kDummyMode)) .WillOnce(Return(0)); mock 208 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, fchown(kDummyInt, kDummyUid, kDummyGid)) mock 215 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, fcntl(kDummyInt, kDummyInt2, _)) mock 221 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, fdatasync(kDummyInt)).WillOnce(Return(-1)); mock 224 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, fdatasync(kDummyInt)).WillOnce(Return(0)); mock 233 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, fstat(kDummyInt, _)) mock 243 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, ftruncate(kDummyInt, kDummyInt2)) mock 249 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, fsync(kDummyInt)).WillOnce(Return(-1)); mock 256 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, getcwd(buffer, kDummySizeT)).WillOnce(Return(result)); mock 268 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, getdents(kDummyInt, void_ptr, kDummyInt2)) mock 281 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, getwd(buffer)).WillOnce(Return(result)); mock 290 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, ioctl(kDummyInt, kDummyInt2, _)) mock 297 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, isatty(kDummyInt)).WillOnce(Return(kDummyInt2)); mock 303 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, kill(kDummyInt, kDummyInt2)).WillOnce(Return(kDummyInt3)); mock 308 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, lchown(kDummyConstChar, kDummyUid, kDummyGid)) mock 314 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, link(kDummyConstChar, kDummyConstChar2)) mock 320 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, lseek(kDummyInt, kDummyInt2, kDummyInt3)) mock 327 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, mkdir(kDummyConstChar, 0777)).WillOnce(Return(kDummyInt2)); mock 330 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, mkdir(kDummyConstChar, kDummyMode)) mock 345 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, mock 362 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, mock 382 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, munmap(kDummyVoidPtr, kDummySizeT)); mock 389 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, open(kDummyConstChar, 0)) mock 393 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, open(kDummyConstChar, 0)) mock 400 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, pipe(fds)).WillOnce(Return(kDummyInt)); mock 407 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, read(kDummyInt, dummy_void_ptr, kDummyInt2)) mock 415 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, readlink(kDummyConstChar, buf, 10)) mock 419 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, readlink(kDummyConstChar, buf, 10)) mock 428 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, remove(kDummyConstChar)).WillOnce(Return(-1)); mock 434 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, rename(kDummyConstChar, kDummyConstChar2)) mock 438 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, rename(kDummyConstChar, kDummyConstChar2)) mock 444 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, rmdir(kDummyConstChar)).WillOnce(Return(kDummyInt)); mock 453 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, sigaction(kDummyInt, &action, &oaction)) mock 459 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, sigaction(kDummyInt, _, _)) mock 466 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, sigaction(kDummyInt, _, _)) mock 476 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, stat(StrEq(kDummyConstChar), _)) mock 486 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, symlink(kDummyConstChar, kDummyConstChar2)) mock 493 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, tcflush(kDummyInt, kDummyInt2)) mock 500 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, tcgetattr(kDummyInt, &term)).WillOnce(Return(kDummyInt2)); mock 506 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, tcsetattr(kDummyInt, kDummyInt2, &term)) mock 513 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, umount(kDummyConstChar)).WillOnce(Return(kDummyInt)); mock 518 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, truncate(kDummyConstChar, kDummyInt3)).WillOnce(Return(-1)); mock 521 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, truncate(kDummyConstChar, kDummyInt3)).WillOnce(Return(0)); mock 528 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, lstat(kDummyConstChar, &buf)).WillOnce(Return(-1)); mock 531 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, lstat(kDummyConstChar, &buf)).WillOnce(Return(0)); mock 537 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, unlink(kDummyConstChar)).WillOnce(Return(kDummyInt)); mock 543 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, utime(kDummyConstChar, times)).WillOnce(Return(kDummyInt)); mock 549 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, utimes(kDummyConstChar, times)).WillOnce(Return(-1)); mock 554 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, write(kDummyInt, kDummyVoidPtr, kDummyInt2)) mock 562 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, poll(&fds, kDummyInt, kDummyInt2)) mock 571 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, select(kDummyInt, &readfds, &writefds, &exceptfds, NULL)) mock 581 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, accept(kDummyInt, &addr, &len)) mock 588 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, bind(kDummyInt, &addr, kDummyInt2)) mock 595 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, connect(kDummyInt, &addr, kDummyInt2)) mock 602 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, gethostbyname(kDummyConstChar)).WillOnce(Return(&result)); mock 609 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, getpeername(kDummyInt, &addr, &len)) mock 617 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, getsockname(kDummyInt, &addr, &len)) mock 627 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc mock, getsockopt(kDummyInt, kDummyInt2, kDummyInt3, dummy_void_ptr, &len)) mock 635 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, listen(kDummyInt, kDummyInt2)).WillOnce(Return(kDummyInt3)); mock 642 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, recv(kDummyInt, dummy_void_ptr, kDummySizeT, kDummyInt2)) mock 654 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc mock, mock 665 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, recvmsg(kDummyInt, &msg, kDummyInt2)) mock 672 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, send(kDummyInt, kDummyVoidPtr, kDummySizeT, kDummyInt2)) mock 681 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, mock 699 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, sendmsg(kDummyInt, &msg, kDummyInt2)) mock 707 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc mock, mock 718 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, shutdown(kDummyInt, kDummyInt2)) mock 724 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, socket(kDummyInt, kDummyInt2, kDummyInt3)) mock 731 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, socketpair(kDummyInt, kDummyInt2, kDummyInt3, &dummy_val)) mock 236 net/proxy/multi_threaded_proxy_resolver_unittest.cc scoped_ptr<MockProxyResolver> mock(new MockProxyResolver); mock 238 net/proxy/multi_threaded_proxy_resolver_unittest.cc new ForwardingProxyResolverFactory(mock.get()), kNumThreads); mock 253 net/proxy/multi_threaded_proxy_resolver_unittest.cc mock->last_script_data()->utf16()); mock 319 net/proxy/multi_threaded_proxy_resolver_unittest.cc scoped_ptr<BlockableProxyResolver> mock(new BlockableProxyResolver); mock 321 net/proxy/multi_threaded_proxy_resolver_unittest.cc new ForwardingProxyResolverFactory(mock.get()), kNumThreads); mock 332 net/proxy/multi_threaded_proxy_resolver_unittest.cc mock->Block(); mock 361 net/proxy/multi_threaded_proxy_resolver_unittest.cc mock->WaitUntilBlocked(); mock 362 net/proxy/multi_threaded_proxy_resolver_unittest.cc mock->Unblock(); mock 412 net/proxy/multi_threaded_proxy_resolver_unittest.cc scoped_ptr<BlockableProxyResolver> mock(new BlockableProxyResolver); mock 414 net/proxy/multi_threaded_proxy_resolver_unittest.cc new ForwardingProxyResolverFactory(mock.get()), mock 426 net/proxy/multi_threaded_proxy_resolver_unittest.cc mock->Block(); mock 437 net/proxy/multi_threaded_proxy_resolver_unittest.cc mock->WaitUntilBlocked(); mock 465 net/proxy/multi_threaded_proxy_resolver_unittest.cc mock->Unblock(); mock 489 net/proxy/multi_threaded_proxy_resolver_unittest.cc scoped_ptr<BlockableProxyResolver> mock(new BlockableProxyResolver); mock 492 net/proxy/multi_threaded_proxy_resolver_unittest.cc new ForwardingProxyResolverFactory(mock.get()), kNumThreads)); mock 503 net/proxy/multi_threaded_proxy_resolver_unittest.cc mock->Block(); mock 526 net/proxy/multi_threaded_proxy_resolver_unittest.cc mock->WaitUntilBlocked(); mock 533 net/proxy/multi_threaded_proxy_resolver_unittest.cc mock->SetResolveLatency(base::TimeDelta::FromMilliseconds(100)); mock 537 net/proxy/multi_threaded_proxy_resolver_unittest.cc mock->Unblock(); mock 552 net/proxy/multi_threaded_proxy_resolver_unittest.cc scoped_ptr<BlockableProxyResolver> mock(new BlockableProxyResolver); mock 554 net/proxy/multi_threaded_proxy_resolver_unittest.cc new ForwardingProxyResolverFactory(mock.get()), kNumThreads); mock 576 net/proxy/multi_threaded_proxy_resolver_unittest.cc EXPECT_EQ(ASCIIToUTF16("data2"), mock->last_script_data()->utf16()); mock 150 net/tools/flip_server/http_interface_test.cc scoped_ptr<MockSMInterface> mock(new MockSMInterface); mock 155 net/tools/flip_server/http_interface_test.cc EXPECT_CALL(*mock, SendEOF(_)); mock 156 net/tools/flip_server/http_interface_test.cc EXPECT_CALL(*mock, ResetForNewInterface(_)); mock 160 net/tools/flip_server/http_interface_test.cc interface_->InitSMInterface(mock.get(), 0); mock 14 third_party/ocmock/gtest_support.h bool VerifyOCMock(OCMockObject* mock, const char* file, int line); mock 154 ui/message_center/views/message_center_view_unittest.cc MockNotificationView* mock; mock 155 ui/message_center/views/message_center_view_unittest.cc mock = new MockNotificationView(this, notification, this); mock 156 ui/message_center/views/message_center_view_unittest.cc message_center_view_->notification_views_[notification.id()] = mock; mock 157 ui/message_center/views/message_center_view_unittest.cc message_center_view_->SetNotificationViewForTest(mock);