Home
last modified time | relevance | path

Searched refs:GetResult (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium/net/disk_cache/
Ddisk_cache_test_base.cc56 ASSERT_EQ(net::OK, cb.GetResult(rv)); in SimulateCrash()
84 return cb.GetResult(rv); in OpenEntry()
91 return cb.GetResult(rv); in CreateEntry()
97 return cb.GetResult(rv); in DoomEntry()
103 return cb.GetResult(rv); in DoomAllEntries()
110 return cb.GetResult(rv); in DoomEntriesBetween()
116 return cb.GetResult(rv); in DoomEntriesSince()
123 return cb.GetResult(rv); in OpenNextEntry()
132 EXPECT_EQ(net::OK, cb.GetResult(rv)); in FlushQueueForTest()
144 EXPECT_EQ(net::OK, cb.GetResult(rv)); in RunTaskForTest()
[all …]
Dstress_cache.cc109 if (cb.GetResult(rv) != net::OK) { in StressTheCache()
146 if (cb.GetResult(rv) != net::OK) { in StressTheCache()
148 CHECK_EQ(net::OK, cb.GetResult(rv)); in StressTheCache()
155 CHECK_EQ(size, cb.GetResult(rv)); in StressTheCache()
160 cb.GetResult(rv); in StressTheCache()
Ddisk_cache_perftest.cc71 if (net::OK != cb.GetResult(rv)) in TimeWrite()
119 if (net::OK != cb.GetResult(rv)) in TimeRead()
174 ASSERT_EQ(net::OK, cb.GetResult(rv)); in TEST_F()
202 ASSERT_EQ(net::OK, cb.GetResult(rv)); in TEST_F()
Dentry_unittest.cc1295 EXPECT_EQ(0, cb.GetResult(ret)); in VerifySparseIO()
1298 EXPECT_EQ(size, cb.GetResult(ret)); in VerifySparseIO()
1301 EXPECT_EQ(size, cb.GetResult(ret)); in VerifySparseIO()
1315 EXPECT_EQ(size, cb.GetResult(ret)); in VerifyContentSparseIO()
1409 EXPECT_EQ(kSize, cb.GetResult(rv)); in GetAvailableRange()
1414 EXPECT_EQ(0, cb.GetResult(rv)); in GetAvailableRange()
1416 EXPECT_EQ(0, cb.GetResult(rv)); in GetAvailableRange()
1418 EXPECT_EQ(kSize, cb.GetResult(rv)); in GetAvailableRange()
1424 EXPECT_EQ(0, cb.GetResult(rv)); in GetAvailableRange()
1426 EXPECT_EQ(0, cb.GetResult(rv)); in GetAvailableRange()
[all …]
Dbackend_unittest.cc205 ASSERT_EQ(net::OK, cb.GetResult(rv)); in TEST_F()
218 ASSERT_EQ(net::OK, cb.GetResult(rv)); in TEST_F()
225 ASSERT_EQ(net::OK, cb.GetResult(rv)); in TEST_F()
271 ASSERT_EQ(net::OK, cb.GetResult(rv)); in TEST_F()
276 ASSERT_EQ(net::OK, cb.GetResult(rv)); in TEST_F()
322 ASSERT_EQ(net::OK, cb.GetResult(rv)); in TEST_F()
326 ASSERT_EQ(net::OK, cb.GetResult(rv)); in TEST_F()
359 ASSERT_NE(net::OK, cb.GetResult(rv)); in TEST_F()
1341 ASSERT_EQ(net::OK, cb.GetResult(rv)); in TEST_F()
1937 ASSERT_EQ(net::OK, cb.GetResult(rv)); in TEST_F()
[all …]
/external/chromium/net/tools/crash_cache/
Dcrash_cache.cc128 cb.GetResult(rv); // Ignore the result; in FlushQueue()
139 if (cb.GetResult(rv) != net::OK || cache->GetEntryCount()) in SimpleInsert()
151 if (cb.GetResult(rv) != net::OK) in SimpleInsert()
162 if (cb.GetResult(rv) != net::OK) in SimpleInsert()
180 if (cb.GetResult(rv) != net::OK || cache->GetEntryCount()) in SimpleRemove()
185 if (cb.GetResult(rv) != net::OK) in SimpleRemove()
193 if (cb.GetResult(rv) != net::OK) in SimpleRemove()
201 if (cb.GetResult(rv) != net::OK) in SimpleRemove()
223 if (cb.GetResult(rv) != net::OK || cache->GetEntryCount()) in HeadRemove()
228 if (cb.GetResult(rv) != net::OK) in HeadRemove()
[all …]
/external/chromium/sdch/open-vcdiff/src/
Dheaderparser_test.cc57 EXPECT_EQ(RESULT_SUCCESS, parser->GetResult()); in VerifyByte()
67 EXPECT_EQ(RESULT_SUCCESS, parser->GetResult()); in VerifyInt32()
77 EXPECT_EQ(RESULT_SUCCESS, parser->GetResult()); in VerifyUInt32()
87 EXPECT_EQ(RESULT_SUCCESS, parser->GetResult()); in VerifyChecksum()
109 EXPECT_EQ(RESULT_END_OF_DATA, parser->GetResult()); in TEST_F()
127 EXPECT_EQ(RESULT_END_OF_DATA, parser->GetResult()); in TEST_F()
145 EXPECT_EQ(RESULT_END_OF_DATA, parser->GetResult()); in TEST_F()
164 EXPECT_EQ(RESULT_END_OF_DATA, parser->GetResult()); in TEST_F()
184 EXPECT_EQ(RESULT_END_OF_DATA, parser->GetResult()); in TEST_F()
198 EXPECT_EQ(RESULT_ERROR, parser->GetResult()); in TEST_F()
[all …]
Dvcdecoder.cc753 return header_parser.GetResult(); in InitCustomCodeTable()
756 return header_parser.GetResult(); in InitCustomCodeTable()
989 return header_parser->GetResult(); in SetUpWindowSections()
1058 return header_parser.GetResult(); in ReadHeader()
1062 return header_parser.GetResult(); in ReadHeader()
Dheaderparser.h325 VCDiffResult GetResult() const { in GetResult() function
/external/chromium/net/url_request/
Dview_cache_helper_unittest.cc52 ASSERT_EQ(len, cb.GetResult(rv)); in WriteHeaders()
65 ASSERT_EQ(len, cb.GetResult(rv)); in WriteData()
74 rv = cb.GetResult(rv); in WriteToEntry()
77 ASSERT_EQ(OK, cb.GetResult(rv)); in WriteToEntry()
92 ASSERT_EQ(OK, cb.GetResult(rv)); in FillCache()
109 EXPECT_EQ(OK, cb.GetResult(rv)); in TEST()
122 EXPECT_EQ(OK, cb.GetResult(rv)); in TEST()
144 EXPECT_EQ(OK, cb.GetResult(rv)); in TEST()
170 EXPECT_EQ(OK, cb.GetResult(rv)); in TEST()
187 ASSERT_EQ(OK, cb.GetResult(rv)); in TEST()
[all …]
/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_service_browsertest.cc444 int GetResult() { in GetResult() function in TestSBClient
513 EXPECT_EQ(SafeBrowsingService::SAFE, client->GetResult()); in IN_PROC_BROWSER_TEST_F()
524 EXPECT_EQ(SafeBrowsingService::BINARY_MALWARE_URL, client->GetResult()); in IN_PROC_BROWSER_TEST_F()
540 EXPECT_EQ(SafeBrowsingService::SAFE, client->GetResult()); in IN_PROC_BROWSER_TEST_F()
551 EXPECT_EQ(SafeBrowsingService::BINARY_MALWARE_URL, client->GetResult()); in IN_PROC_BROWSER_TEST_F()
561 EXPECT_EQ(SafeBrowsingService::SAFE, client->GetResult()); in IN_PROC_BROWSER_TEST_F()
572 EXPECT_EQ(SafeBrowsingService::BINARY_MALWARE_HASH, client->GetResult()); in IN_PROC_BROWSER_TEST_F()
588 EXPECT_EQ(SafeBrowsingService::BINARY_MALWARE_URL, client->GetResult()); in IN_PROC_BROWSER_TEST_F()
603 EXPECT_EQ(SafeBrowsingService::SAFE, client->GetResult()); in IN_PROC_BROWSER_TEST_F()
621 EXPECT_EQ(SafeBrowsingService::BINARY_MALWARE_HASH, client->GetResult()); in IN_PROC_BROWSER_TEST_F()
[all …]
Dmalware_details_unittest.cc70 ASSERT_EQ(len, cb.GetResult(rv)); in WriteHeaders()
83 ASSERT_EQ(len, cb.GetResult(rv)); in WriteData()
91 rv = cb.GetResult(rv); in WriteToEntry()
94 ASSERT_EQ(net::OK, cb.GetResult(rv)); in WriteToEntry()
108 ASSERT_EQ(net::OK, cb.GetResult(rv)); in FillCache()
/external/chromium/chrome/browser/diagnostics/
Ddiagnostics_model_unittest.cc55 if (model->GetTest(id).GetResult() == DiagnosticsModel::TEST_FAIL_STOP) { in OnFinished()
93 EXPECT_EQ(DiagnosticsModel::TEST_NOT_RUN, model_->GetTest(0).GetResult()); in TEST_F()
Ddiagnostics_model.h54 virtual TestResult GetResult() = 0;
Ddiagnostics_test.cc33 DiagnosticsModel::TestResult DiagnosticTest::GetResult() { in GetResult() function in DiagnosticTest
Ddiagnostics_test.h39 virtual DiagnosticsModel::TestResult GetResult();
Ddiagnostics_main.cc313 bool success = (DiagnosticsModel::TEST_OK == test_info.GetResult()); in ShowResult()
/external/chromium/chrome/browser/extensions/
Dextension_function.h64 virtual const std::string GetResult() = 0;
175 virtual const std::string GetResult();
Dextension_function.cc46 const std::string AsyncExtensionFunction::GetResult() { in GetResult() function in AsyncExtensionFunction
/external/chromium/net/base/
Dtest_completion_callback.h29 int GetResult(int result);
Dtest_completion_callback.cc29 int TestCompletionCallback::GetResult(int result) { in GetResult() function in TestCompletionCallback
/external/chromium/chrome/browser/google/
Dgoogle_update.cc214 STDMETHOD(GetResult)(GoogleUpdateUpgradeResult* result) { in STDMETHOD() argument
344 hr = job_observer->GetResult(&results); in InitiateGoogleUpdateCheck()
/external/v8/src/
Dliveedit.cc353 Handle<JSArray> GetResult() { in GetResult() function in v8::internal::CompareOutputArrayWriter
562 Handle<JSArray> GetResult() { in GetResult() function in v8::internal::TokenizingLineArrayCompareOutput
563 return array_writer_.GetResult(); in GetResult()
594 return output.GetResult(); in CompareStrings()
842 Handle<JSArray> GetResult() { return result_; } in GetResult() function in v8::internal::FunctionInfoListener
905 return *(listener.GetResult()); in GatherCompileInfo()
1209 Vector<byte> GetResult() { in GetResult() function in v8::internal::RelocInfoBuffer
1284 Vector<byte> buffer = buffer_writer.GetResult(); in PatchPositionsInCode()
/external/chromium/net/http/
Dhttp_cache_unittest.cc567 rv = cb.GetResult(rv); in disk_cache()
580 rv = cb.GetResult(rv); in ReadResponseInfo()
603 rv = cb.GetResult(rv); in WriteResponseInfo()
611 return (cb.GetResult(rv) == net::OK); in OpenBackendEntry()
619 return (cb.GetResult(rv) == net::OK); in CreateBackendEntry()
1005 EXPECT_EQ(len, cb.GetResult(rv)); in CreateTruncatedEntry()
1057 EXPECT_EQ(net::OK, cb.GetResult(rv)); in TEST()
1199 EXPECT_EQ(net::ERR_CACHE_READ_FAILURE, c->callback.GetResult(rv)); in TEST()
1836 c->result = c->callback.GetResult(c->result); in TEST()
1905 c->result = c->callback.GetResult(c->result); in TEST()
[all …]
/external/chromium/chrome/browser/sync/glue/
Ddata_type_manager_impl2_unittest.cc56 DataTypeManager::ConfigureResult GetResult( in GetResult() function
156 ::testing::ResultOf(&GetResult, result))); in SetConfigureDoneExpectation()

12