Home
last modified time | relevance | path

Searched refs:wsa_error (Results 1 – 9 of 9) sorted by relevance

/external/grpc-grpc/src/core/lib/iomgr/
Dtcp_windows.cc188 if (info->wsa_error != 0 && !tcp->shutting_down) { in on_read()
189 char* utf8_message = gpr_format_message(info->wsa_error); in on_read()
244 info->wsa_error = status == 0 ? 0 : WSAGetLastError(); in win_read()
247 if (info->wsa_error != WSAEWOULDBLOCK) { in win_read()
259 int wsa_error = WSAGetLastError(); in win_read() local
260 if (wsa_error != WSA_IO_PENDING) { in win_read()
261 info->wsa_error = wsa_error; in win_read()
263 GRPC_WSA_ERROR(info->wsa_error, "WSARecv")); in win_read()
286 if (info->wsa_error != 0) { in on_write()
287 error = GRPC_WSA_ERROR(info->wsa_error, "WSASend"); in on_write()
[all …]
Diocp_windows.cc94 info->wsa_error = WSA_OPERATION_ABORTED; in grpc_iocp_work()
99 info->wsa_error = success ? 0 : WSAGetLastError(); in grpc_iocp_work()
Dsocket_windows.h59 int wsa_error; member
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dtcp_windows.cc193 if (info->wsa_error != 0 && !tcp->shutting_down) { in on_read()
194 char* utf8_message = gpr_format_message(info->wsa_error); in on_read()
288 info->wsa_error = status == 0 ? 0 : WSAGetLastError(); in win_read()
291 if (info->wsa_error != WSAEWOULDBLOCK) { in win_read()
303 int wsa_error = WSAGetLastError(); in win_read() local
304 if (wsa_error != WSA_IO_PENDING) { in win_read()
305 info->wsa_error = wsa_error; in win_read()
307 GRPC_WSA_ERROR(info->wsa_error, "WSARecv")); in win_read()
334 if (info->wsa_error != 0) { in on_write()
335 error = GRPC_WSA_ERROR(info->wsa_error, "WSASend"); in on_write()
[all …]
Diocp_windows.cc94 info->wsa_error = WSA_OPERATION_ABORTED; in grpc_iocp_work()
99 info->wsa_error = success ? 0 : WSAGetLastError(); in grpc_iocp_work()
Dsocket_windows.h63 int wsa_error; member
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver_windows.cc304 if (winsocket_->read_info.wsa_error != 0) { in OnIocpReadableInner()
309 if (winsocket_->read_info.wsa_error != WSAEMSGSIZE) { in OnIocpReadableInner()
311 char* msg = gpr_format_message(winsocket_->read_info.wsa_error); in OnIocpReadableInner()
341 if (winsocket_->write_info.wsa_error != 0) { in OnIocpWriteableInner()
342 char* msg = gpr_format_message(winsocket_->write_info.wsa_error); in OnIocpWriteableInner()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver_windows.cc592 if (winsocket_->read_info.wsa_error != 0) { in OnIocpReadableLocked()
597 if (winsocket_->read_info.wsa_error != WSAEMSGSIZE) { in OnIocpReadableLocked()
598 error = GRPC_WSA_ERROR(winsocket_->read_info.wsa_error, in OnIocpReadableLocked()
603 GetName(), winsocket_->read_info.wsa_error, in OnIocpReadableLocked()
634 if (winsocket_->write_info.wsa_error != 0) { in OnIocpWriteableLocked()
635 error = GRPC_WSA_ERROR(winsocket_->write_info.wsa_error, in OnIocpWriteableLocked()
640 GetName(), winsocket_->write_info.wsa_error, in OnIocpWriteableLocked()
/external/webrtc/rtc_base/
Dwin32_socket_server.cc170 int wsa_error = WSAGETSELECTERROR(lParam); in OnSocketNotify() local
175 wsa_error = WSAETIMEDOUT; in OnSocketNotify()
179 parent_->OnSocketNotify(static_cast<SOCKET>(wParam), wsa_event, wsa_error); in OnSocketNotify()