Home
last modified time | relevance | path

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

12

/external/chromium_org/sync/internal_api/
Dhttp_bridge_unittest.cc170 int os_error = 0; in RunSyncThreadBridgeUseTest() local
172 bridge->MakeSynchronousPost(&os_error, &response_code); in RunSyncThreadBridgeUseTest()
198 int os_error = 0; in TEST_F() local
200 bool success = http_bridge->MakeSynchronousPost(&os_error, &response_code); in TEST_F()
203 EXPECT_EQ(0, os_error); in TEST_F()
222 int os_error = 0; in TEST_F() local
224 bool success = http_bridge->MakeSynchronousPost(&os_error, &response_code); in TEST_F()
227 EXPECT_EQ(0, os_error); in TEST_F()
247 int os_error = 0; in TEST_F() local
249 bool success = http_bridge->MakeSynchronousPost(&os_error, &response_code); in TEST_F()
[all …]
/external/chromium_org/net/dns/
Dhost_resolver_proc.cc77 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()
Dhost_resolver_proc.h38 int* os_error) = 0;
50 int* os_error);
92 int* os_error);
102 int* os_error) OVERRIDE;
Dhost_resolver_impl.cc288 int os_error, in NetLogProcTaskFailedCallback() argument
296 if (os_error) { in NetLogProcTaskFailedCallback()
297 dict->SetInteger("os_error", os_error); in NetLogProcTaskFailedCallback()
299 dict->SetString("os_error_string", gai_strerror(os_error)); in NetLogProcTaskFailedCallback()
306 os_error, in NetLogProcTaskFailedCallback()
671 int os_error = 0; in DoLookup() local
677 &os_error); in DoLookup()
682 attempt_number, error, os_error)); in DoLookup()
701 const int os_error) { in OnLookupComplete() argument
720 RecordPerformanceHistograms(start_time, error, os_error); in OnLookupComplete()
[all …]
Dmock_host_resolver.cc351 int* os_error) { in Resolve() argument
387 addrlist, os_error); in Resolve()
399 host_resolver_flags, addrlist, os_error); in Resolve()
/external/chromium_org/net/socket/
Dtcp_socket_win.cc99 int MapConnectError(int os_error) { in MapConnectError() argument
100 switch (os_error) { in MapConnectError()
108 int net_error = MapSystemError(os_error); in MapConnectError()
540 int os_error = WSAGetLastError(); in Write() local
541 if (os_error != WSA_IO_PENDING) { in Write()
542 int net_error = MapSystemError(os_error); in Write()
544 CreateNetLogSocketErrorCallback(net_error, os_error)); in Write()
813 int os_error = WSAGetLastError(); in DoConnect() local
814 if (os_error != WSAEWOULDBLOCK) { in DoConnect()
815 LOG(ERROR) << "connect failed: " << os_error; in DoConnect()
[all …]
Dsocket_net_log_params.cc18 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()
Dsocket_libevent.cc23 int MapAcceptError(int os_error) { in MapAcceptError() argument
24 switch (os_error) { in MapAcceptError()
33 return MapSystemError(os_error); in MapAcceptError()
37 int MapConnectError(int os_error) { in MapConnectError() argument
38 switch (os_error) { in MapConnectError()
46 int net_error = MapSystemError(os_error); in MapConnectError()
402 int os_error = 0; in ConnectCompleted() local
403 socklen_t len = sizeof(os_error); in ConnectCompleted()
404 if (getsockopt(socket_fd_, SOL_SOCKET, SO_ERROR, &os_error, &len) == 0) { in ConnectCompleted()
406 errno = os_error; in ConnectCompleted()
Dsocket_net_log_params.h18 int os_error);
/external/chromium_org/net/base/
Dnet_errors_posix.cc17 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()
Dnet_errors_win.cc14 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()
Dfile_stream_context.cc32 os_error(0) { in IOResult()
35 FileStream::Context::IOResult::IOResult(int64 result, int os_error) in IOResult() argument
37 os_error(os_error) { in IOResult()
42 int64 os_error) { in FromOSError() argument
43 return IOResult(MapSystemError(os_error), os_error); in FromOSError()
Dfile_stream_context_win.cc71 if (error.os_error == ERROR_IO_PENDING) { in Read()
73 } else if (error.os_error == ERROR_HANDLE_EOF) { in Read()
76 LOG(WARNING) << "ReadFile failed: " << error.os_error; in Read()
92 if (error.os_error == ERROR_IO_PENDING) { in Write()
95 LOG(WARNING) << "WriteFile failed: " << error.os_error; in Write()
Dfile_stream_context.h103 IOResult(int64 result, int os_error);
104 static IOResult FromOSError(int64 os_error);
107 int os_error; // Set only when result < 0. member
Dnet_errors.h43 NET_EXPORT Error MapSystemError(int os_error);
/external/qemu/include/qapi/
Derror.h37 void error_set_errno(Error **err, int os_error, ErrorClass err_class, const char *fmt, ...) GCC_FMT…
53 #define error_setg_errno(err, os_error, fmt, ...) \ argument
54 error_set_errno(err, os_error, ERROR_CLASS_GENERIC_ERROR, fmt, ## __VA_ARGS__)
/external/chromium_org/chrome/renderer/
Dsecurity_filter_peer.cc26 int os_error) { in CreateSecurityFilterPeerForDeniedRequest() argument
28 switch (os_error) { in CreateSecurityFilterPeerForDeniedRequest()
44 return CreateSecurityFilterPeerForFrame(peer, os_error); in CreateSecurityFilterPeerForDeniedRequest()
56 int os_error) { in CreateSecurityFilterPeerForFrame() argument
Dsecurity_filter_peer.h26 int os_error);
30 int os_error);
/external/chromium_org/chrome/third_party/chromevox/third_party/closure-library/closure/bin/build/
Dtreescan.py57 def OnError(os_error): argument
58 raise os_error
/external/chromium_org/content/browser/download/
Dbase_file.cc330 logging::SystemErrorCode os_error) { in LogSystemError() argument
332 base::File::Error file_error = base::File::OSErrorToFileError(os_error); in LogSystemError()
334 operation, os_error, in LogSystemError()
340 int os_error, in LogInterruptReason() argument
344 base::Bind(&FileInterruptedNetLogCallback, operation, os_error, reason)); in LogInterruptReason()
Dbase_file.h139 logging::SystemErrorCode os_error);
144 const char* operation, int os_error,
Ddownload_net_log_parameters.cc195 int os_error, in FileInterruptedNetLogCallback() argument
201 if (os_error != 0) in FileInterruptedNetLogCallback()
202 dict->SetInteger("os_error", os_error); in FileInterruptedNetLogCallback()
Dfile_metadata_mac.mm159 OSStatus os_error = LSSetItemAttribute(&file_ref, kLSRolesAll,
162 if (os_error != noErr) {
163 OSSTATUS_LOG(WARNING, os_error)
/external/chromium_org/content/public/test/
Dbrowser_test_base.cc92 int* os_error) OVERRIDE { in Resolve() argument
118 addrlist, os_error); in Resolve()
/external/chromium_org/net/udp/
Dudp_socket_win.cc648 int os_error = WSAGetLastError(); in InternalRecvFrom() local
649 if (os_error != WSA_IO_PENDING) { in InternalRecvFrom()
650 int result = MapSystemError(os_error); in InternalRecvFrom()
693 int os_error = WSAGetLastError(); in InternalSendTo() local
694 if (os_error != WSA_IO_PENDING) { in InternalSendTo()
695 int result = MapSystemError(os_error); in InternalSendTo()

12