Home
last modified time | relevance | path

Searched refs:os_error (Results 1 – 25 of 50) sorted by relevance

12

/external/chromium/chrome/browser/sync/glue/
Dhttp_bridge_unittest.cc160 int os_error = 0; in TEST_F() local
162 bool success = http_bridge->MakeSynchronousPost(&os_error, &response_code); in TEST_F()
165 EXPECT_EQ(0, os_error); in TEST_F()
184 int os_error = 0; in TEST_F() local
186 bool success = http_bridge->MakeSynchronousPost(&os_error, &response_code); in TEST_F()
189 EXPECT_EQ(0, os_error); in TEST_F()
210 int os_error = 0; in TEST_F() local
212 bool success = http_bridge->MakeSynchronousPost(&os_error, &response_code); in TEST_F()
215 EXPECT_EQ(0, os_error); in TEST_F()
238 int os_error = 0; in TEST_F() local
[all …]
/external/chromium/net/socket/
Dtcp_client_socket_win.cc32 int MapConnectError(int os_error) { in MapConnectError() argument
33 switch (os_error) { in MapConnectError()
41 int net_error = MapSystemError(os_error); in MapConnectError()
358 int os_error = WSAGetLastError(); in DoConnect() local
359 if (os_error != WSAEWOULDBLOCK) { in DoConnect()
360 LOG(ERROR) << "connect failed: " << os_error; in DoConnect()
361 connect_os_error_ = os_error; in DoConnect()
362 return MapConnectError(os_error); in DoConnect()
372 int os_error = connect_os_error_; in DoConnectComplete() local
376 params = new NetLogIntegerParameter("os_error", os_error); in DoConnectComplete()
[all …]
Dtcp_client_socket_libevent.cc80 int MapConnectError(int os_error) { in MapConnectError() argument
81 switch (os_error) { in MapConnectError()
87 int net_error = MapSystemError(os_error); in MapConnectError()
290 int os_error = connect_os_error_; in DoConnectComplete() local
294 params = new NetLogIntegerParameter("os_error", os_error); in DoConnectComplete()
600 int os_error = 0; in DidCompleteConnect() local
601 socklen_t len = sizeof(os_error); in DidCompleteConnect()
602 if (getsockopt(socket_, SOL_SOCKET, SO_ERROR, &os_error, &len) < 0) in DidCompleteConnect()
603 os_error = errno; in DidCompleteConnect()
606 if (os_error == EINPROGRESS || os_error == EALREADY) { in DidCompleteConnect()
[all …]
/external/chromium/net/base/
Dhost_resolver_proc.cc75 int* os_error) { in ResolveUsingPrevious() argument
78 addrlist, os_error); in ResolveUsingPrevious()
83 addrlist, os_error); in ResolveUsingPrevious()
124 int* os_error) { in SystemHostResolverProc() argument
127 if (os_error) in SystemHostResolverProc()
128 *os_error = 0; in SystemHostResolverProc()
247 if (os_error) in SystemHostResolverProc()
248 *os_error = err; in SystemHostResolverProc()
Dnet_errors_win.cc14 Error MapSystemError(int os_error) { in MapSystemError() argument
17 switch (os_error) { in MapSystemError()
48 LOG(WARNING) << "Unknown error " << os_error in MapSystemError()
Dnet_errors_posix.cc13 Error MapSystemError(int os_error) { in MapSystemError() argument
16 switch (os_error) { in MapSystemError()
49 LOG(WARNING) << "Unknown error " << os_error in MapSystemError()
Dhost_resolver_proc.h37 int* os_error) = 0;
49 int* os_error);
90 int* os_error);
Dmock_host_resolver.cc227 int* os_error) { in Resolve() argument
256 addrlist, os_error); in Resolve()
268 host_resolver_flags, addrlist, os_error); in Resolve()
287 int* os_error) { in Resolve() argument
290 addrlist, os_error); in Resolve()
Dhost_resolver_impl.h157 void OnJobComplete(Job* job, int net_error, int os_error,
165 void OnJobCompleteInternal(Job* job, int net_error, int os_error,
180 int os_error);
Dhost_resolver_impl.cc98 int* os_error) { in ResolveAddrInfo() argument
102 host_resolver_flags, out, os_error); in ResolveAddrInfo()
106 host_resolver_flags, out, os_error); in ResolveAddrInfo()
113 HostResolveFailedParams(int net_error, int os_error) in HostResolveFailedParams() argument
115 os_error_(os_error) { in HostResolveFailedParams()
1049 int os_error = 0; in Resolve() local
1052 key.host_resolver_flags, &addrlist, &os_error); in Resolve()
1064 os_error); in Resolve()
1203 int os_error, in OnJobComplete() argument
1211 OnJobCompleteInternal(job, net_error, os_error, addrlist); in OnJobComplete()
[all …]
Dmock_host_resolver.h143 int* os_error);
166 int* os_error);
Dnet_errors.h40 Error MapSystemError(int os_error);
/external/chromium/net/url_request/
Durl_request.cc441 void URLRequest::SimulateError(int os_error) { in SimulateError() argument
442 DoCancel(os_error, SSLInfo()); in SimulateError()
445 void URLRequest::SimulateSSLError(int os_error, const SSLInfo& ssl_info) { in SimulateSSLError() argument
451 DoCancel(os_error, ssl_info); in SimulateSSLError()
454 void URLRequest::DoCancel(int os_error, const SSLInfo& ssl_info) { in DoCancel() argument
455 DCHECK(os_error < 0); in DoCancel()
461 status_.set_os_error(os_error); in DoCancel()
515 params = new NetLogIntegerParameter("net_error", status_.os_error()); in ResponseStarted()
Durl_request.h483 void SimulateError(int os_error);
489 void SimulateSSLError(int os_error, const SSLInfo& ssl_info);
618 void DoCancel(int os_error, const SSLInfo& ssl_info);
Durl_request_job_tracker_unittest.cc137 arg.os_error() == other.os_error());
Durl_request_status.h44 int os_error() const { return os_error_; } in os_error() function
/external/chromium/net/udp/
Dudp_socket_win.cc326 int os_error = WSAGetLastError(); in InternalRecvFrom() local
327 if (os_error != WSA_IO_PENDING) in InternalRecvFrom()
328 return MapSystemError(os_error); in InternalRecvFrom()
364 int os_error = WSAGetLastError(); in InternalSendTo() local
365 if (os_error != WSA_IO_PENDING) in InternalSendTo()
366 return MapSystemError(os_error); in InternalSendTo()
/external/chromium/chrome/browser/net/
Dchrome_network_delegate.cc27 switch (request->status().os_error()) { in ForwardProxyErrors()
32 event_router, profile_id, request->status().os_error()); in ForwardProxyErrors()
/external/chromium/chrome/browser/
Dintranet_redirect_detector.cc172 int* os_error) { in Resolve() argument
182 os_error); in Resolve()
/external/chromium/chrome/common/net/
Draw_host_resolver_proc.cc20 int* os_error) { in Resolve() argument
Draw_host_resolver_proc.h31 int* os_error);
/external/chromium/chrome/browser/download/
Ddownload_manager.cc539 int os_error, in OnResponseCompleted() argument
547 if (os_error == 0 || os_error == net::ERR_CONNECTION_CLOSED) { in OnResponseCompleted()
550 OnDownloadError(download_id, size, os_error); in OnResponseCompleted()
736 int os_error) { in OnDownloadError() argument
746 VLOG(20) << "Error " << os_error << " at offset " in OnDownloadError()
762 download->Interrupted(size, os_error); in OnDownloadError()
Ddownload_file_manager.cc210 int os_error, in OnResponseCompleted() argument
213 << " os_error = " << os_error in OnResponseCompleted()
237 id, download->bytes_so_far(), os_error, hash)); in OnResponseCompleted()
Ddownload_manager.h124 void OnResponseCompleted(int32 download_id, int64 size, int os_error,
302 void OnDownloadError(int32 download_id, int64 size, int os_error);
/external/chromium/chrome/browser/renderer_host/
Ddownload_resource_handler.cc178 << " status.os_error() = " << status.os_error(); in OnResponseCompleted()
180 status.os_error() : 0; in OnResponseCompleted()

12