Home
last modified time | relevance | path

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

1234

/external/chromium_org/net/url_request/
Durl_fetcher_response_writer_unittest.cc40 EXPECT_EQ(OK, callback.GetResult(rv)); in TEST_F()
42 EXPECT_EQ(buf_->size(), callback.GetResult(rv)); in TEST_F()
44 EXPECT_EQ(OK, callback.GetResult(rv)); in TEST_F()
51 EXPECT_EQ(OK, callback.GetResult(rv)); in TEST_F()
76 EXPECT_EQ(OK, callback.GetResult(rv)); in TEST_F()
78 EXPECT_EQ(buf_->size(), callback.GetResult(rv)); in TEST_F()
80 EXPECT_EQ(OK, callback.GetResult(rv)); in TEST_F()
99 EXPECT_EQ(OK, callback.GetResult(rv)); in TEST_F()
101 EXPECT_EQ(buf_->size(), callback.GetResult(rv)); in TEST_F()
103 EXPECT_EQ(OK, callback.GetResult(rv)); in TEST_F()
[all …]
Dview_cache_helper_unittest.cc55 ASSERT_EQ(len, cb.GetResult(rv)); in WriteHeaders()
68 ASSERT_EQ(len, cb.GetResult(rv)); in WriteData()
77 rv = cb.GetResult(rv); in WriteToEntry()
80 ASSERT_EQ(OK, cb.GetResult(rv)); in WriteToEntry()
96 ASSERT_EQ(OK, cb.GetResult(rv)); in FillCache()
113 EXPECT_EQ(OK, cb.GetResult(rv)); in TEST()
126 EXPECT_EQ(OK, cb.GetResult(rv)); in TEST()
148 EXPECT_EQ(OK, cb.GetResult(rv)); in TEST()
174 EXPECT_EQ(OK, cb.GetResult(rv)); in TEST()
192 ASSERT_EQ(OK, cb.GetResult(rv)); in TEST()
[all …]
/external/chromium_org/net/disk_cache/
Ddisk_cache_test_base.cc89 ASSERT_EQ(net::OK, cb.GetResult(rv)); in SimulateCrash()
119 return cb.GetResult(rv); in OpenEntry()
126 return cb.GetResult(rv); in CreateEntry()
132 return cb.GetResult(rv); in DoomEntry()
138 return cb.GetResult(rv); in DoomAllEntries()
145 return cb.GetResult(rv); in DoomEntriesBetween()
151 return cb.GetResult(rv); in DoomEntriesSince()
158 return cb.GetResult(rv); in OpenNextEntry()
167 EXPECT_EQ(net::OK, cb.GetResult(rv)); in FlushQueueForTest()
178 EXPECT_EQ(net::OK, cb.GetResult(rv)); in RunTaskForTest()
[all …]
Dentry_unittest.cc627 EXPECT_EQ(kBufferSize, cb.GetResult(rv)); in ReleaseBuffer()
1641 EXPECT_EQ(0, cb.GetResult(ret)); in VerifySparseIO()
1644 EXPECT_EQ(size, cb.GetResult(ret)); in VerifySparseIO()
1647 EXPECT_EQ(size, cb.GetResult(ret)); in VerifySparseIO()
1661 EXPECT_EQ(size, cb.GetResult(ret)); in VerifyContentSparseIO()
1755 EXPECT_EQ(kSize, cb.GetResult(rv)); in GetAvailableRange()
1760 EXPECT_EQ(0, cb.GetResult(rv)); in GetAvailableRange()
1763 EXPECT_EQ(0, cb.GetResult(rv)); in GetAvailableRange()
1765 EXPECT_EQ(kSize, cb.GetResult(rv)); in GetAvailableRange()
1771 EXPECT_EQ(0, cb.GetResult(rv)); in GetAvailableRange()
[all …]
/external/chromium_org/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 …]
/external/chromium_org/net/tools/crash_cache/
Dcrash_cache.cc135 cb.GetResult(rv); // Ignore the result; in FlushQueue()
150 return (cb->GetResult(rv) == net::OK && !(*cache)->GetEntryCount()); in CreateCache()
170 if (cb.GetResult(rv) != net::OK) in SimpleInsert()
181 if (cb.GetResult(rv) != net::OK) in SimpleInsert()
200 if (cb.GetResult(rv) != net::OK) in SimpleRemove()
208 if (cb.GetResult(rv) != net::OK) in SimpleRemove()
216 if (cb.GetResult(rv) != net::OK) in SimpleRemove()
239 if (cb.GetResult(rv) != net::OK) in HeadRemove()
245 if (cb.GetResult(rv) != net::OK) in HeadRemove()
252 if (cb.GetResult(rv) != net::OK) in HeadRemove()
[all …]
/external/lldb/tools/lldb-perf/lib/
DGauge.h51 Results::ResultSP GetResult (const char *description, T value);
54 Results::ResultSP GetResult (const char *description, double value);
57 Results::ResultSP GetResult (const char *description, uint64_t value);
60 Results::ResultSP GetResult (const char *description, std::string value);
DMeasurement.h98 …results.GetDictionary().Add(metric.GetName(), metric.GetDescription(), lldb_perf::GetResult<typena… in WriteStartValue()
105 …results.GetDictionary().Add(metric.GetName(), metric.GetDescription(), lldb_perf::GetResult<typena… in WriteStopValue()
112 …results.GetDictionary().Add(metric.GetName(), metric.GetDescription(), lldb_perf::GetResult<typena… in WriteAverageValue()
119 …tDictionary().Add(metric.GetName(), metric.GetDescription(), lldb_perf::GetResult<typename GaugeTy… in WriteAverageAndStandardDeviation()
122 …dictionary->Add("stddev", NULL, lldb_perf::GetResult<typename GaugeType::ValueType> (NULL, metric.… in WriteAverageAndStandardDeviation()
130 …results.GetDictionary().Add(metric.GetName(), metric.GetDescription(), lldb_perf::GetResult<typena… in WriteStandardDeviation()
DGauge.cpp15 lldb_perf::GetResult (const char *description, double value) in GetResult() function in lldb_perf
29 lldb_perf::GetResult (const char *description, uint64_t value) in GetResult() function in lldb_perf
43 lldb_perf::GetResult (const char *description, std::string value) in GetResult() function in lldb_perf
DMemoryGauge.cpp93 MemoryStats::GetResult (const char *name, const char *description) const in GetResult() function in MemoryStats
148 lldb_perf::GetResult (const char *description, MemoryStats value) in GetResult() function in lldb_perf
150 return value.GetResult (NULL, description); in GetResult()
DMemoryGauge.h83 GetResult (const char *name, const char *description) const;
140 GetResult (const char *description, MemoryStats value);
/external/chromium_org/net/http/
Ddisk_cache_based_quic_server_info_unittest.cc69 EXPECT_EQ(OK, callback.GetResult(rv)); in TEST()
83 EXPECT_EQ(OK, callback.GetResult(rv)); in TEST()
107 EXPECT_EQ(OK, callback.GetResult(rv)); in TEST()
123 EXPECT_EQ(OK, callback.GetResult(rv)); in TEST()
150 EXPECT_EQ(OK, callback.GetResult(rv)); in TEST()
174 EXPECT_EQ(OK, callback.GetResult(rv)); in TEST()
197 EXPECT_EQ(OK, callback.GetResult(rv)); in TEST()
212 EXPECT_EQ(OK, callback.GetResult(rv)); in TEST()
238 EXPECT_EQ(OK, callback.GetResult(rv)); in TEST()
269 EXPECT_EQ(OK, callback.GetResult(rv)); in TEST()
/external/chromium_org/chrome/browser/diagnostics/
Ddiagnostics_controller_unittest.cc94 EXPECT_EQ(DiagnosticsModel::TEST_OK, info.GetResult()) << "Test: " in TEST_F()
109 EXPECT_EQ(DiagnosticsModel::RECOVERY_OK, info.GetResult()) in TEST_F()
129 EXPECT_EQ(DiagnosticsModel::TEST_FAIL_CONTINUE, info->GetResult()); in TEST_F()
133 EXPECT_EQ(DiagnosticsModel::RECOVERY_OK, info->GetResult()); in TEST_F()
151 EXPECT_EQ(DiagnosticsModel::TEST_FAIL_CONTINUE, info->GetResult()); in TEST_F()
155 EXPECT_EQ(DiagnosticsModel::RECOVERY_OK, info->GetResult()); in TEST_F()
Ddiagnostics_model_unittest.cc52 model->GetTest(index).GetResult()) in OnTestFinished()
65 model->GetTest(index).GetResult()) in OnRecoveryFinished()
94 EXPECT_EQ(DiagnosticsModel::TEST_NOT_RUN, model_->GetTest(0).GetResult()); in TEST_F()
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtcp_sender_unittest.cc44 EXPECT_EQ(std::string("5,7,9-12,15,18-19"), builder.GetResult()); in TEST()
59 EXPECT_EQ(std::string("5-7,9-12,15,18-19"), builder.GetResult()); in TEST()
74 EXPECT_EQ(std::string("5,7,9-12,15,18-19,21"), builder.GetResult()); in TEST()
89 EXPECT_EQ(std::string("5,7-12,15,18-19"), builder.GetResult()); in TEST()
104 EXPECT_EQ(std::string("5,7,9-12,15-16,18-19"), builder.GetResult()); in TEST()
120 EXPECT_EQ(std::string("5,7,9-12,15-19"), builder.GetResult()); in TEST()
134 EXPECT_EQ(std::string("5-8,11-15"), builder.GetResult()); in TEST()
146 EXPECT_EQ(std::string("5,7,9,11,15,17,19"), builder.GetResult()); in TEST()
159 EXPECT_EQ(std::string("5-12"), builder.GetResult()); in TEST()
165 EXPECT_EQ(std::string("5"), builder.GetResult()); in TEST()
[all …]
/external/chromium_org/chrome/browser/chromeos/drive/fileapi/
Dwebkit_file_stream_reader_impl_unittest.cc86 length = callback.GetResult(length); in TEST_F()
103 length = callback.GetResult(length); in TEST_F()
127 length = callback.GetResult(length); in TEST_F()
146 result = callback.GetResult(result); in TEST_F()
163 result = callback.GetResult(result); in TEST_F()
206 result = callback.GetResult(result); in TEST_F()
227 result = callback.GetResult(result); in TEST_F()
/external/chromium_org/net/socket/
Dssl_server_socket_unittest.cc412 client_ret = connect_callback.GetResult(client_ret); in TEST_F()
414 server_ret = handshake_callback.GetResult(server_ret); in TEST_F()
434 server_ret = write_callback.GetResult(server_ret); in TEST_F()
436 client_ret = read_callback.GetResult(client_ret); in TEST_F()
444 client_ret = read_callback.GetResult(client_ret); in TEST_F()
461 server_ret = read_callback.GetResult(server_ret); in TEST_F()
463 client_ret = write_callback.GetResult(client_ret); in TEST_F()
471 server_ret = read_callback.GetResult(server_ret); in TEST_F()
503 client_ret = connect_callback.GetResult(client_ret); in TEST_F()
505 server_ret = handshake_callback.GetResult(server_ret); in TEST_F()
[all …]
Dssl_client_socket_unittest.cc665 int rv = callback_.GetResult(transport_->Connect(callback_.callback())); in ConnectToTestServer()
700 *result = callback_.GetResult(sock_->Connect(callback_.callback())); in CreateAndConnectSSLClientSocket()
787 int rv = callback->GetResult(transport->Connect(callback->callback())); in CreateAndConnectUntilServerFinishedReceived()
849 rv = callback.GetResult(sock->Write(request_buffer.get(), in TestFalseStart()
861 rv = callback.GetResult(rv); in TestFalseStart()
1228 int rv = callback.GetResult(transport->Connect(callback.callback())); in TEST_F()
1241 rv = callback.GetResult(sock->Connect(callback.callback())); in TEST_F()
1251 rv = callback.GetResult( in TEST_F()
1263 rv = callback.GetResult(sock->Read(buf.get(), 4096, callback.callback())); in TEST_F()
1298 int rv = callback.GetResult(transport->Connect(callback.callback())); in TEST_F()
[all …]
/external/chromium_org/content/browser/gpu/
Dshader_disk_cache_unittest.cc58 ASSERT_EQ(net::OK, available_cb.GetResult(rv)); in TEST_F()
65 ASSERT_EQ(net::OK, complete_cb.GetResult(rv)); in TEST_F()
71 ASSERT_EQ(net::OK, clear_cb.GetResult(rv)); in TEST_F()
/external/chromium_org/net/proxy/
Ddhcp_proxy_script_adapter_fetcher_win_unittest.cc176 EXPECT_EQ(ERR_PAC_NOT_IN_DHCP, client.fetcher_->GetResult()); in TEST()
185 EXPECT_EQ(OK, client.fetcher_->GetResult()); in TEST()
208 EXPECT_EQ(ERR_TIMED_OUT, client.fetcher_->GetResult()); in TEST()
221 EXPECT_EQ(ERR_ABORTED, client.fetcher_->GetResult()); in TEST()
242 EXPECT_EQ(ERR_ABORTED, client.fetcher_->GetResult()); in TEST()
257 EXPECT_EQ(OK, client.fetcher_->GetResult()); in TEST()
306 EXPECT_EQ(OK, client.fetcher_->GetResult()); in TEST()
/external/chromium_org/components/nacl/browser/
Dpnacl_translation_cache_unittest.cc62 ASSERT_EQ(net::OK, init_cb.GetResult(rv)); in InitBackend()
75 EXPECT_EQ(net::OK, store_cb.GetResult(net::ERR_IO_PENDING)); in StoreNexe()
89 net::DrainableIOBuffer* GetResult(int* result) { in GetResult() function in pnacl::TestNexeCallback
113 scoped_refptr<net::DrainableIOBuffer> buf(load_cb.GetResult(&rv)); in GetNexe()
230 EXPECT_EQ(net::ERR_FAILED, store_cb.GetResult(net::ERR_IO_PENDING)); in TEST_F()
282 scoped_refptr<net::DrainableIOBuffer> buf(load_cb.GetResult(&rv)); in TEST_F()
/external/chromium_org/net/disk_cache/blockfile/
Dstress_cache.cc126 if (cb.GetResult(rv) != net::OK) { in StressTheCache()
166 if (cb.GetResult(rv) != net::OK) { in StressTheCache()
168 CHECK_EQ(net::OK, cb.GetResult(rv)); in StressTheCache()
176 CHECK_EQ(size, cb.GetResult(rv)); in StressTheCache()
182 cb2.GetResult(rv); in StressTheCache()
Ddisk_cache_perftest.cc67 if (net::OK != cb.GetResult(rv)) in TimeWrite()
116 if (net::OK != cb.GetResult(rv)) in TimeRead()
173 ASSERT_EQ(net::OK, cb.GetResult(rv)); in TEST_F()
200 ASSERT_EQ(net::OK, cb.GetResult(rv)); in TEST_F()
/external/pdfium/core/src/fxcrt/
Dfx_basic_utf.cpp89 return encoder.GetResult(); in FX_UTF8Encode()
101 encoder.GetResult(utf8Str); in FX_UTF8Encode()
/external/lldb/tools/lldb-perf/common/clang/
Dlldb_perf_clang.cpp193 m_memory_change_create_target.GetDeltaValue().GetResult(NULL, NULL)); in WriteResults()
197 m_memory_change_break_main.GetDeltaValue().GetResult(NULL, NULL)); in WriteResults()
205 m_memory_total.GetStopValue().GetResult(NULL, NULL)); in WriteResults()

1234