Home
last modified time | relevance | path

Searched refs:net_error (Results 1 – 25 of 103) sorted by relevance

12345

/external/chromium_org/net/test/url_request/
Durl_request_failed_job.cc24 int net_error; in GetErrorCode() local
26 if (path[0] == '/' && base::StringToInt(path.c_str() + 1, &net_error)) { in GetErrorCode()
27 CHECK_LT(net_error, 0); in GetErrorCode()
28 CHECK_NE(net_error, net::ERR_IO_PENDING); in GetErrorCode()
29 return net_error; in GetErrorCode()
37 int net_error) { in GetMockUrl() argument
38 CHECK_LT(net_error, 0); in GetMockUrl()
39 CHECK_NE(net_error, net::ERR_IO_PENDING); in GetMockUrl()
40 return GURL(scheme + "://" + hostname + "/" + base::IntToString(net_error)); in GetMockUrl()
47 int net_error) in URLRequestFailedJob() argument
[all …]
Durl_request_failed_job.h23 int net_error);
34 static GURL GetMockHttpUrl(int net_error);
35 static GURL GetMockHttpsUrl(int net_error);
39 static GURL GetMockHttpUrlForHostname(int net_error,
41 static GURL GetMockHttpsUrlForHostname(int net_error,
/external/chromium_org/net/socket/
Dtcp_socket_win.cc35 int net_error = (rv == 0) ? OK : MapSystemError(WSAGetLastError()); in SetSocketReceiveBufferSize() local
36 DCHECK(!rv) << "Could not set socket receive buffer size: " << net_error; in SetSocketReceiveBufferSize()
37 return net_error; in SetSocketReceiveBufferSize()
43 int net_error = (rv == 0) ? OK : MapSystemError(WSAGetLastError()); in SetSocketSendBufferSize() local
44 DCHECK(!rv) << "Could not set socket send buffer size: " << net_error; in SetSocketSendBufferSize()
45 return net_error; in SetSocketSendBufferSize()
108 int net_error = MapSystemError(os_error); in MapConnectError() local
109 if (net_error == ERR_FAILED) in MapConnectError()
113 if (net_error == ERR_ADDRESS_UNREACHABLE && in MapConnectError()
118 return net_error; in MapConnectError()
[all …]
Dsocket_net_log_params.cc17 base::Value* NetLogSocketErrorCallback(int net_error, in NetLogSocketErrorCallback() argument
21 dict->SetInteger("net_error", net_error); in NetLogSocketErrorCallback()
51 NetLog::ParametersCallback CreateNetLogSocketErrorCallback(int net_error, in CreateNetLogSocketErrorCallback() argument
53 return base::Bind(&NetLogSocketErrorCallback, net_error, os_error); in CreateNetLogSocketErrorCallback()
Dssl_server_socket_openssl.cc460 int net_error = MapOpenSSLErrorWithDetails(ssl_error, err_tracer, in DoPayloadRead() local
462 if (net_error != ERR_IO_PENDING) { in DoPayloadRead()
465 CreateNetLogOpenSSLErrorCallback(net_error, ssl_error, error_info)); in DoPayloadRead()
467 return net_error; in DoPayloadRead()
478 int net_error = MapOpenSSLErrorWithDetails(ssl_error, err_tracer, in DoPayloadWrite() local
480 if (net_error != ERR_IO_PENDING) { in DoPayloadWrite()
483 CreateNetLogOpenSSLErrorCallback(net_error, ssl_error, error_info)); in DoPayloadWrite()
485 return net_error; in DoPayloadWrite()
555 int net_error = OK; in DoHandshake() local
563 net_error = MapOpenSSLErrorWithDetails(ssl_error, err_tracer, &error_info); in DoHandshake()
[all …]
/external/chromium_org/net/disk_cache/simple/
Dsimple_net_log_parameters.cc29 int net_error, in NetLogSimpleEntryCreationCallback() argument
32 dict->SetInteger("net_error", net_error); in NetLogSimpleEntryCreationCallback()
33 if (net_error == net::OK) in NetLogSimpleEntryCreationCallback()
50 int net_error) { in CreateNetLogSimpleEntryCreationCallback() argument
52 return base::Bind(&NetLogSimpleEntryCreationCallback, entry, net_error); in CreateNetLogSimpleEntryCreationCallback()
/external/chromium_org/net/proxy/
Dproxy_list.cc149 int net_error, in Fallback() argument
175 net_error, in Fallback()
187 int net_error, in AddProxyToRetryList() argument
201 retry_info.net_error = net_error; in AddProxyToRetryList()
213 int net_error, in UpdateRetryInfoOnFallback() argument
227 net_error, in UpdateRetryInfoOnFallback()
237 net_error, in UpdateRetryInfoOnFallback()
Dproxy_list.h88 int net_error,
105 int net_error,
118 int net_error,
Dproxy_retry_info.h16 ProxyRetryInfo() : try_while_bad(true), net_error(0) {} in ProxyRetryInfo()
31 int net_error; member
/external/chromium_org/net/dns/
Dhost_resolver_impl.cc287 int net_error, in NetLogProcTaskFailedCallback() argument
294 dict->SetInteger("net_error", net_error); in NetLogProcTaskFailedCallback()
320 base::Value* NetLogDnsTaskFailedCallback(int net_error, in NetLogDnsTaskFailedCallback() argument
324 dict->SetInteger("net_error", net_error); in NetLogDnsTaskFailedCallback()
392 int net_error) { in LogFinishRequest() argument
394 NetLog::TYPE_HOST_RESOLVER_IMPL_REQUEST, net_error); in LogFinishRequest()
566 typedef base::Callback<void(int net_error,
975 int net_error,
1054 int net_error, in OnTransactionComplete() argument
1058 if (net_error != OK) { in OnTransactionComplete()
[all …]
Dhost_resolver_impl.h175 int* net_error,
183 int* net_error,
233 void OnDnsTaskResolve(int net_error);
/external/chromium_org/ppapi/host/
Derror_conversion.cc14 int32_t NetErrorToPepperError(int net_error) { in NetErrorToPepperError() argument
15 if (net_error > 0) in NetErrorToPepperError()
16 return base::checked_cast<int32_t>(net_error); in NetErrorToPepperError()
18 switch (net_error) { in NetErrorToPepperError()
/external/chromium_org/components/domain_reliability/
Dutil.cc45 int net_error; member
99 int net_error, in GetDomainReliabilityBeaconStatus() argument
102 if (net_error == net::OK) { in GetDomainReliabilityBeaconStatus()
112 if (net_error_map[i].net_error == net_error) { in GetDomainReliabilityBeaconStatus()
/external/chromium_org/chrome/browser/captive_portal/
Dcaptive_portal_service_unittest.cc151 int net_error, in RunTest() argument
177 CompleteURLFetch(net_error, status_code, response_headers); in RunTest()
215 int net_error, in RunBackoffTest() argument
217 RunTest(expected_result, net_error, status_code, 0, NULL); in RunBackoffTest()
218 RunTest(expected_result, net_error, status_code, 0, NULL); in RunBackoffTest()
219 RunTest(expected_result, net_error, status_code, 100, NULL); in RunBackoffTest()
220 RunTest(expected_result, net_error, status_code, 200, NULL); in RunBackoffTest()
221 RunTest(expected_result, net_error, status_code, 400, NULL); in RunBackoffTest()
222 RunTest(expected_result, net_error, status_code, 800, NULL); in RunBackoffTest()
223 RunTest(expected_result, net_error, status_code, 1600, NULL); in RunBackoffTest()
[all …]
/external/chromium_org/components/captive_portal/
Dcaptive_portal_testing_utils.cc46 int net_error, in CompleteURLFetch() argument
49 if (net_error != net::OK) { in CompleteURLFetch()
52 net_error)); in CompleteURLFetch()
/external/chromium_org/chrome/browser/net/
Ddns_probe_runner.cc41 int net_error, in EvaluateResponse() argument
43 switch (net_error) { in EvaluateResponse()
126 int net_error, in OnTransactionComplete() argument
132 result_ = EvaluateResponse(net_error, response); in OnTransactionComplete()
Ddns_probe_browsertest.cc138 int net_error, in DelayableURLRequestFailedJob() argument
141 : URLRequestFailedJob(request, network_delegate, net_error), in DelayableURLRequestFailedJob()
265 void set_net_error(int net_error) { net_error_ = net_error; } in set_net_error() argument
326 void SetCorrectionServiceNetError(int net_error);
398 int net_error) { in SetCorrectionServiceNetError() argument
401 interceptor_->set_net_error(net_error); in SetCorrectionServiceNetError()
542 int net_error = broken ? net::ERR_NAME_NOT_RESOLVED : net::OK; in SetCorrectionServiceBroken() local
548 net_error)); in SetCorrectionServiceBroken()
/external/chromium_org/components/policy/core/common/cloud/
Dcloud_policy_client.h231 int net_error,
237 int net_error,
243 int net_error,
249 int net_error,
256 int net_error,
/external/chromium_org/components/nacl/browser/
Dpnacl_host.h136 void OnCacheInitialized(int net_error);
145 int net_error,
156 void OnTranslatedNexeStored(const TranslationID& id, int net_error);
164 void OnEntriesDoomed(const base::Closure& callback, int net_error);
/external/chromium_org/components/data_reduction_proxy/browser/
Ddata_reduction_proxy_usage_stats.cc43 int net_error) { in RecordDataReductionProxyBypassOnNetworkError() argument
47 std::abs(net_error)); in RecordDataReductionProxyBypassOnNetworkError()
52 std::abs(net_error)); in RecordDataReductionProxyBypassOnNetworkError()
263 int net_error) { in OnProxyFallback() argument
288 true, bypassed_proxy, net_error); in OnProxyFallback()
293 false, bypassed_proxy, net_error); in OnProxyFallback()
/external/chromium_org/net/ssl/
Dopenssl_ssl_util.cc150 base::Value* NetLogOpenSSLErrorCallback(int net_error, in NetLogOpenSSLErrorCallback() argument
155 dict->SetInteger("net_error", net_error); in NetLogOpenSSLErrorCallback()
231 int net_error, in CreateNetLogOpenSSLErrorCallback() argument
235 net_error, ssl_error, error_info); in CreateNetLogOpenSSLErrorCallback()
/external/chromium_org/chrome/browser/chromeos/policy/
Dauto_enrollment_client.h147 int net_error,
153 int net_error,
159 int net_error,
/external/chromium_org/chrome/browser/safe_browsing/
Ddownload_feedback.cc58 int net_error,
143 int net_error, in FinishedUpload() argument
160 if (net_error != net::OK) in FinishedUpload()
166 if (net_error != net::OK) in FinishedUpload()
/external/chromium_org/chrome/browser/ui/webui/net_internals/
Dnet_internals_ui_browsertest.cc53 int net_error, in AddCacheEntryOnIOThread() argument
64 if (net_error == net::OK) { in AddCacheEntryOnIOThread()
75 net::HostCache::Entry(net_error, address_list), in AddCacheEntryOnIOThread()
191 double net_error; in AddCacheEntry() local
195 ASSERT_TRUE(list_value->GetDouble(2, &net_error)); in AddCacheEntry()
205 static_cast<int>(net_error), in AddCacheEntry()
/external/chromium_org/net/base/
Dnet_log.cc458 int net_error) const { in AddEventWithNetErrorCode()
459 DCHECK_NE(ERR_IO_PENDING, net_error); in AddEventWithNetErrorCode()
460 if (net_error >= 0) { in AddEventWithNetErrorCode()
463 AddEvent(event_type, NetLog::IntegerCallback("net_error", net_error)); in AddEventWithNetErrorCode()
468 int net_error) const { in EndEventWithNetErrorCode()
469 DCHECK_NE(ERR_IO_PENDING, net_error); in EndEventWithNetErrorCode()
470 if (net_error >= 0) { in EndEventWithNetErrorCode()
473 EndEvent(event_type, NetLog::IntegerCallback("net_error", net_error)); in EndEventWithNetErrorCode()

12345