Home
last modified time | relevance | path

Searched refs:WSAGetLastError (Results 1 – 25 of 54) sorted by relevance

123

/external/tensorflow/tensorflow/core/platform/windows/
Dnet.cc48 << GetWindowsErrorMessage(WSAGetLastError()); in IsPortAvailable()
58 << GetWindowsErrorMessage(WSAGetLastError()); in IsPortAvailable()
70 << ") failed: " << GetWindowsErrorMessage(WSAGetLastError()); in IsPortAvailable()
79 << GetWindowsErrorMessage(WSAGetLastError()); in IsPortAvailable()
/external/grpc-grpc/src/core/lib/iomgr/
Dtcp_server_windows.cc201 error = GRPC_WSA_ERROR(WSAGetLastError(), "bind"); in prepare_socket()
206 error = GRPC_WSA_ERROR(WSAGetLastError(), "listen"); in prepare_socket()
213 error = GRPC_WSA_ERROR(WSAGetLastError(), "getsockname"); in prepare_socket()
260 error = GRPC_WSA_ERROR(WSAGetLastError(), "WSASocket"); in start_accept_locked()
275 int last_error = WSAGetLastError(); in start_accept_locked()
331 char* utf8_message = gpr_format_message(WSAGetLastError()); in on_accept()
342 char* utf8_message = gpr_format_message(WSAGetLastError()); in on_accept()
352 char* utf8_message = gpr_format_message(WSAGetLastError()); in on_accept()
407 char* utf8_message = gpr_format_message(WSAGetLastError()); in add_socket_to_server()
498 error = GRPC_WSA_ERROR(WSAGetLastError(), "WSASocket"); in tcp_server_add_port()
Dtcp_client_windows.cc106 error = GRPC_WSA_ERROR(WSAGetLastError(), "ConnectEx"); in on_connect()
153 error = GRPC_WSA_ERROR(WSAGetLastError(), "WSASocket"); in tcp_connect()
169 error = GRPC_WSA_ERROR(WSAGetLastError(), in tcp_connect()
179 error = GRPC_WSA_ERROR(WSAGetLastError(), "bind"); in tcp_connect()
191 int last_error = WSAGetLastError(); in tcp_connect()
Dtcp_windows.cc64 : GRPC_WSA_ERROR(WSAGetLastError(), "WSAIoctl(GRPC_FIONBIO)"); in grpc_tcp_set_non_block()
74 : GRPC_WSA_ERROR(WSAGetLastError(), "setsockopt(IPV6_V6ONLY)"); in set_dualstack()
84 status = WSAGetLastError(); in enable_loopback_fast_path()
244 info->wsa_error = status == 0 ? 0 : WSAGetLastError(); in win_read()
259 int wsa_error = WSAGetLastError(); in win_read()
336 info->wsa_error = status == 0 ? 0 : WSAGetLastError(); in win_write()
360 int wsa_error = WSAGetLastError(); in win_write()
Diocp_windows.cc99 info->wsa_error = success ? 0 : WSAGetLastError(); in grpc_iocp_work()
147 char* utf8_message = gpr_format_message(WSAGetLastError()); in grpc_iocp_add_socket()
Dresolve_address_windows.cc96 error = GRPC_WSA_ERROR(WSAGetLastError(), "getaddrinfo"); in windows_blocking_resolve_address()
Dsocket_windows.cc86 char* utf8_message = gpr_format_message(WSAGetLastError()); in grpc_winsocket_shutdown()
/external/python/cpython3/Modules/_multiprocessing/
Dmultiprocessing.c30 PyErr_SetExcFromWindowsErr(Type, WSAGetLastError()); in _PyMp_SetError()
67 return PyErr_SetExcFromWindowsErr(PyExc_OSError, WSAGetLastError()); in multiprocessing_closesocket()
91 return PyErr_SetExcFromWindowsErr(PyExc_OSError, WSAGetLastError()); in multiprocessing_recv()
115 return PyErr_SetExcFromWindowsErr(PyExc_OSError, WSAGetLastError()); in multiprocessing_send()
/external/grpc-grpc/test/cpp/naming/
Dresolver_component_test.cc275 std::to_string(WSAGetLastError()); in OpenAndCloseSocketsStressLoop()
281 ". WSA error: " + std::to_string(WSAGetLastError()); in OpenAndCloseSocketsStressLoop()
284 ". WSA error: " + std::to_string(WSAGetLastError()); in OpenAndCloseSocketsStressLoop()
293 ASSERT_TRUE(WSAGetLastError() == WSAEWOULDBLOCK) in OpenAndCloseSocketsStressLoop()
299 std::to_string(WSAGetLastError()) + in OpenAndCloseSocketsStressLoop()
303 ". WSA error: " + std::to_string(WSAGetLastError()); in OpenAndCloseSocketsStressLoop()
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver_windows.cc123 char* msg = gpr_format_message(WSAGetLastError()); in RegisterForOnReadableLocked()
129 if (WSAGetLastError() != WSA_IO_PENDING) { in RegisterForOnReadableLocked()
232 char* msg = gpr_format_message(WSAGetLastError()); in TrySendWriteBufSyncNonBlocking()
237 if (WSAGetLastError() == WSA_IO_PENDING) { in TrySendWriteBufSyncNonBlocking()
287 char* msg = gpr_format_message(WSAGetLastError()); in Connect()
289 WSAGetLastError(), msg, GetName()); in Connect()
/external/libcups/cups/
Dhttp.c1237 DEBUG_printf(("3httpGets: recv() error %d!", WSAGetLastError())); in httpGets()
1239 if (WSAGetLastError() == WSAEINTR) in httpGets()
1241 else if (WSAGetLastError() == WSAEWOULDBLOCK) in httpGets()
1246 http->error = WSAGetLastError(); in httpGets()
1248 else if (WSAGetLastError() != http->error) in httpGets()
1250 http->error = WSAGetLastError(); in httpGets()
1863 if (WSAGetLastError() == WSAEINTR || WSAGetLastError() == WSAEWOULDBLOCK) in httpPeek()
1866 http->error = WSAGetLastError(); in httpPeek()
2434 http->error = WSAGetLastError(); in httpReconnect2()
3113 while (nfds < 0 && (WSAGetLastError() == WSAEINTR || in _httpWait()
[all …]
Dhttp-addrlist.c219 if (WSAGetLastError() != WSAEINPROGRESS && WSAGetLastError() != WSAEWOULDBLOCK) in httpAddrConnect2()
302 while (result < 0 && (WSAGetLastError() == WSAEINTR || WSAGetLastError() == WSAEWOULDBLOCK)); in httpAddrConnect2()
Dtls-sspi.c794 DEBUG_printf(("5_httpTLSRead: recv failed: %d", WSAGetLastError())); in _httpTLSRead()
1092 status = WSAGetLastError(); in _httpTLSStop()
1210 DEBUG_printf(("_httpTLSWrite: send failed: %ld", WSAGetLastError())); in _httpTLSWrite()
1397 DEBUG_printf(("5http_sspi_client: send failed: %d", WSAGetLastError())); in http_sspi_client()
1457 DEBUG_printf(("5http_sspi_client: recv failed: %d", WSAGetLastError())); in http_sspi_client()
1525 DEBUG_printf(("5http_sspi_client: send failed: %d", WSAGetLastError())); in http_sspi_client()
2160 if (num == -1 && WSAGetLastError() == WSAEWOULDBLOCK) in http_sspi_server()
2168 DEBUG_printf(("5http_sspi_server: recv failed: %d", WSAGetLastError())); in http_sspi_server()
2225 DEBUG_printf(("5http_sspi_server: handshake send failed: %d", WSAGetLastError())); in http_sspi_server()
/external/python/cpython3/Modules/
Doverlapped.c113 SetFromWindowsErr(WSAGetLastError()); in initialize_function_pointers()
123 SetFromWindowsErr(WSAGetLastError()); in initialize_function_pointers()
465 return SetFromWindowsErr(WSAGetLastError()); in overlapped_BindLocal()
832 self->error = err = (ret < 0 ? WSAGetLastError() : ERROR_SUCCESS); in do_WSARecv()
1021 self->error = err = (ret < 0 ? WSAGetLastError() : ERROR_SUCCESS); in Overlapped_WSASend()
1071 self->error = err = ret ? ERROR_SUCCESS : WSAGetLastError(); in Overlapped_AcceptEx()
1097 SetFromWindowsErr(WSAGetLastError()); in parse_address()
1110 SetFromWindowsErr(WSAGetLastError()); in parse_address()
1163 self->error = err = ret ? ERROR_SUCCESS : WSAGetLastError(); in Overlapped_ConnectEx()
1202 self->error = err = ret ? ERROR_SUCCESS : WSAGetLastError(); in Overlapped_DisconnectEx()
[all …]
/external/webrtc/webrtc/voice_engine/
Dvoice_engine_defines.h245 #define WSAGetLastError() errno macro
301 #define WSAGetLastError() errno macro
/external/tensorflow/tensorflow/contrib/ignite/kernels/client/
Dignite_plain_client_windows.cc68 return errors::Internal("Socket failed with error: ", WSAGetLastError()); in Connect()
97 return errors::Internal("Shutdown failed with error: ", WSAGetLastError()); in Disconnect()
/external/webrtc/webrtc/test/channel_transport/
Dudp_socket2_win.cc163 WSAGetLastError()); in UdpSocket2Windows()
179 WSAGetLastError()); in UdpSocket2Windows()
270 WSAGetLastError()); in SetSockopt()
336 WSAGetLastError()); in Bind()
402 error = WSAGetLastError(); in SendTo()
602 rxError = WSAGetLastError(); in PostRecv()
802 WSAGetLastError()); in SetQos()
1366 (int32_t)this, WSAGetLastError()); in InvalidateSocket()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnetutil.cc46 JNI_TRACE("ioctlsocket %d failed with error: %d", fd, WSAGetLastError()); in setBlocking()
/external/wpa_supplicant_8/src/utils/
Deloop_win.c124 printf("WSACreateEvent() failed: %d\n", WSAGetLastError()); in eloop_register_read_sock()
129 printf("WSAEventSelect() failed: %d\n", WSAGetLastError()); in eloop_register_read_sock()
681 printf("WSACreateEvent() failed: %d\n", WSAGetLastError()); in eloop_wait_for_read_sock()
686 printf("WSAEventSelect() failed: %d\n", WSAGetLastError()); in eloop_wait_for_read_sock()
/external/libevent/
Dbuffer_iocp.c227 int error = WSAGetLastError(); in evbuffer_launch_write_()
293 int error = WSAGetLastError(); in evbuffer_launch_read_()
Dlistener.c546 error = WSAGetLastError(); in start_accepting()
571 error = WSAGetLastError(); in start_accepting()
696 as->error = WSAGetLastError(); in accepted_socket_cb()
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.c329 err = translate_errno( err != SOCKET_ERROR, WSAGetLastError(), kUnknownErr ); in mDNSPlatformInit()
383 require_action( !err || ( err == WSAEAFNOSUPPORT ), exit, err = (mStatus) WSAGetLastError() ); in mDNSPlatformInit()
992 err = translate_errno( sock->fd != INVALID_SOCKET, WSAGetLastError(), mStatus_UnknownErr ); in mDNSPlatformTCPSocket()
998 err = translate_errno( err == 0, WSAGetLastError(), mStatus_UnknownErr ); in mDNSPlatformTCPSocket()
1004 err = translate_errno( err == 0, WSAGetLastError(), mStatus_UnknownErr ); in mDNSPlatformTCPSocket()
1013 err = translate_errno( err == 0, WSAGetLastError(), mStatus_UnknownErr ); in mDNSPlatformTCPSocket()
1071 require_action( !err || ( WSAGetLastError() == WSAEWOULDBLOCK ), exit, err = mStatus_ConnFailed ); in mDNSPlatformTCPConnect()
1222 …err = translate_errno( ( nsent >= 0 ) || ( WSAGetLastError() == WSAEWOULDBLOCK ), WSAGetLastError(… in mDNSPlatformWriteTCP()
1353 …err = translate_errno( ( err == 0 ) || ( WSAGetLastError() == WSA_IO_PENDING ), WSAGetLastError(),… in TCPBeginRecv()
1589 …stIP ) && ( WSAGetLastError() == WSAEHOSTDOWN || WSAGetLastError() == WSAENETDOWN || WSAGetLastErr… in mDNSPlatformSendUDP()
[all …]
/external/webrtc/webrtc/base/
Dwin32socketserver.cc342 LOG_F(LS_ERROR) << "WSAAsyncGetHostByName error: " << WSAGetLastError(); in Connect()
372 int code = WSAGetLastError(); in DoConnect()
588 error_ = WSAGetLastError(); in UpdateLastError()
/external/mdnsresponder/mDNSShared/
Ddnssd_ipc.h47 # define dnssd_errno WSAGetLastError()
/external/conscrypt/common/src/jni/main/include/conscrypt/
Dapp_data.h129 JNI_TRACE("AppData::create WSACreateEvent failed: %d", WSAGetLastError()); in create()

123