/external/chromium/chrome/browser/sync/glue/ |
D | http_bridge_unittest.cc | 160 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_org/sync/internal_api/ |
D | http_bridge_unittest.cc | 171 int os_error = 0; in RunSyncThreadBridgeUseTest() local 173 bridge->MakeSynchronousPost(&os_error, &response_code); in RunSyncThreadBridgeUseTest() 199 int os_error = 0; in TEST_F() local 201 bool success = http_bridge->MakeSynchronousPost(&os_error, &response_code); in TEST_F() 204 EXPECT_EQ(0, os_error); in TEST_F() 223 int os_error = 0; in TEST_F() local 225 bool success = http_bridge->MakeSynchronousPost(&os_error, &response_code); in TEST_F() 228 EXPECT_EQ(0, os_error); in TEST_F() 248 int os_error = 0; in TEST_F() local 250 bool success = http_bridge->MakeSynchronousPost(&os_error, &response_code); in TEST_F() [all …]
|
/external/chromium_org/net/dns/ |
D | host_resolver_proc.cc | 77 int* os_error) { in ResolveUsingPrevious() argument 80 host, address_family, host_resolver_flags, addrlist, os_error); in ResolveUsingPrevious() 85 addrlist, os_error); in ResolveUsingPrevious() 126 int* os_error) { in SystemHostResolverCall() argument 127 if (os_error) in SystemHostResolverCall() 128 *os_error = 0; in SystemHostResolverCall() 223 if (os_error) in SystemHostResolverCall() 224 *os_error = err; in SystemHostResolverCall() 257 int* os_error) { in Resolve() argument 262 os_error); in Resolve()
|
D | host_resolver_proc.h | 38 int* os_error) = 0; 50 int* os_error); 92 int* os_error); 102 int* os_error) OVERRIDE;
|
/external/chromium/net/socket/ |
D | tcp_client_socket_win.cc | 32 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 …]
|
D | tcp_client_socket_libevent.cc | 80 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_org/net/socket/ |
D | tcp_socket_win.cc | 96 int MapConnectError(int os_error) { in MapConnectError() argument 97 switch (os_error) { in MapConnectError() 105 int net_error = MapSystemError(os_error); in MapConnectError() 513 int os_error = WSAGetLastError(); in Write() local 514 if (os_error != WSA_IO_PENDING) { in Write() 515 int net_error = MapSystemError(os_error); in Write() 517 CreateNetLogSocketErrorCallback(net_error, os_error)); in Write() 787 int os_error = WSAGetLastError(); in DoConnect() local 788 if (os_error != WSAEWOULDBLOCK) { in DoConnect() 789 LOG(ERROR) << "connect failed: " << os_error; in DoConnect() [all …]
|
D | socket_net_log_params.cc | 18 int os_error, in NetLogSocketErrorCallback() argument 22 dict->SetInteger("os_error", os_error); in NetLogSocketErrorCallback() 52 int os_error) { in CreateNetLogSocketErrorCallback() argument 53 return base::Bind(&NetLogSocketErrorCallback, net_error, os_error); in CreateNetLogSocketErrorCallback()
|
D | tcp_socket_libevent.cc | 72 int MapAcceptError(int os_error) { in MapAcceptError() argument 73 switch (os_error) { in MapAcceptError() 82 return MapSystemError(os_error); in MapAcceptError() 86 int MapConnectError(int os_error) { in MapConnectError() argument 87 switch (os_error) { in MapConnectError() 93 int net_error = MapSystemError(os_error); in MapConnectError() 655 int os_error = connect_os_error_; in DoConnectComplete() local 659 NetLog::IntegerCallback("os_error", os_error)); in DoConnectComplete() 767 int os_error = 0; in DidCompleteConnect() local 768 socklen_t len = sizeof(os_error); in DidCompleteConnect() [all …]
|
/external/chromium_org/net/base/ |
D | net_errors_posix.cc | 17 Error MapSystemError(int os_error) { in MapSystemError() argument 18 if (os_error != 0) in MapSystemError() 19 DVLOG(2) << "Error " << os_error; in MapSystemError() 23 switch (os_error) { in MapSystemError() 116 LOG(WARNING) << "Unknown error " << os_error in MapSystemError()
|
D | net_errors_win.cc | 14 Error MapSystemError(int os_error) { in MapSystemError() argument 15 if (os_error != 0) in MapSystemError() 16 DVLOG(2) << "Error " << os_error; in MapSystemError() 20 switch (os_error) { in MapSystemError() 119 LOG(WARNING) << "Unknown error " << os_error in MapSystemError()
|
D | file_stream_context_win.cc | 81 LOG(WARNING) << "GetFileSizeEx failed: " << error.os_error; in GetFileSize() 99 if (error.os_error == ERROR_IO_PENDING) { in ReadAsync() 101 } else if (error.os_error == ERROR_HANDLE_EOF) { in ReadAsync() 104 LOG(WARNING) << "ReadFile failed: " << error.os_error; in ReadAsync() 118 if (error.os_error == ERROR_HANDLE_EOF) { in ReadSync() 121 LOG(WARNING) << "ReadFile failed: " << error.os_error; in ReadSync() 139 if (error.os_error == ERROR_IO_PENDING) { in WriteAsync() 142 LOG(WARNING) << "WriteFile failed: " << error.os_error; in WriteAsync() 156 LOG(WARNING) << "WriteFile failed: " << error.os_error; in WriteSync() 167 LOG(WARNING) << "SetEndOfFile failed: " << error.os_error; in Truncate()
|
D | file_stream_context.cc | 30 os_error(0) { in IOResult() 33 FileStream::Context::IOResult::IOResult(int64 result, int os_error) in IOResult() argument 35 os_error(os_error) { in IOResult() 40 int64 os_error) { in FromOSError() argument 41 return IOResult(MapSystemError(os_error), os_error); in FromOSError() 185 source, result.os_error, in RecordError() 189 RecordFileError(result.os_error, source, record_uma_); in RecordError()
|
D | file_stream_net_log_parameters.cc | 13 int os_error, in NetLogFileStreamErrorCallback() argument 19 dict->SetInteger("os_error", os_error); in NetLogFileStreamErrorCallback()
|
D | file_stream_context.h | 129 IOResult(int64 result, int os_error); 130 static IOResult FromOSError(int64 os_error); 133 int os_error; // Set only when result < 0. member
|
/external/chromium/net/base/ |
D | host_resolver_proc.cc | 75 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()
|
D | net_errors_win.cc | 14 Error MapSystemError(int os_error) { in MapSystemError() argument 17 switch (os_error) { in MapSystemError() 48 LOG(WARNING) << "Unknown error " << os_error in MapSystemError()
|
D | net_errors_posix.cc | 13 Error MapSystemError(int os_error) { in MapSystemError() argument 16 switch (os_error) { in MapSystemError() 49 LOG(WARNING) << "Unknown error " << os_error in MapSystemError()
|
D | host_resolver_proc.h | 37 int* os_error) = 0; 49 int* os_error); 90 int* os_error);
|
D | mock_host_resolver.cc | 227 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()
|
D | host_resolver_impl.h | 157 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);
|
/external/chromium_org/chrome/renderer/ |
D | security_filter_peer.cc | 29 int os_error) { in CreateSecurityFilterPeerForDeniedRequest() argument 31 switch (os_error) { in CreateSecurityFilterPeerForDeniedRequest() 47 return CreateSecurityFilterPeerForFrame(peer, os_error); in CreateSecurityFilterPeerForDeniedRequest() 58 webkit_glue::ResourceLoaderBridge::Peer* peer, int os_error) { in CreateSecurityFilterPeerForFrame() argument
|
/external/chromium/net/url_request/ |
D | url_request.cc | 445 void URLRequest::SimulateError(int os_error) { in SimulateError() argument 446 DoCancel(os_error, SSLInfo()); in SimulateError() 449 void URLRequest::SimulateSSLError(int os_error, const SSLInfo& ssl_info) { in SimulateSSLError() argument 455 DoCancel(os_error, ssl_info); in SimulateSSLError() 458 void URLRequest::DoCancel(int os_error, const SSLInfo& ssl_info) { in DoCancel() argument 459 DCHECK(os_error < 0); in DoCancel() 465 status_.set_os_error(os_error); in DoCancel() 519 params = new NetLogIntegerParameter("net_error", status_.os_error()); in ResponseStarted()
|
/external/chromium/net/udp/ |
D | udp_socket_win.cc | 326 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_org/content/browser/download/ |
D | base_file.cc | 352 int os_error) { in LogSystemError() argument 354 net::Error net_error = net::MapSystemError(os_error); in LogSystemError() 356 operation, os_error, in LogSystemError() 363 int os_error, in LogInterruptReason() argument 367 base::Bind(&FileInterruptedNetLogCallback, operation, os_error, reason)); in LogInterruptReason()
|