Lines Matching refs:status
137 int uv__ntstatus_to_winsock_error(NTSTATUS status) { in uv__ntstatus_to_winsock_error() argument
138 switch (status) { in uv__ntstatus_to_winsock_error()
241 if ((status & (FACILITY_NTWIN32 << 16)) == (FACILITY_NTWIN32 << 16) && in uv__ntstatus_to_winsock_error()
242 (status & (ERROR_SEVERITY_ERROR | ERROR_SEVERITY_WARNING))) { in uv__ntstatus_to_winsock_error()
245 return (DWORD) (status & 0xffff); in uv__ntstatus_to_winsock_error()
273 NTSTATUS status; in uv__wsarecv_workaround() local
306 status = pNtDeviceIoControlFile((HANDLE) socket, in uv__wsarecv_workaround()
320 switch (status) { in uv__wsarecv_workaround()
349 error = uv__ntstatus_to_winsock_error(status); in uv__wsarecv_workaround()
368 NTSTATUS status; in uv__wsarecvfrom_workaround() local
404 status = pNtDeviceIoControlFile((HANDLE) socket, in uv__wsarecvfrom_workaround()
418 switch (status) { in uv__wsarecvfrom_workaround()
447 error = uv__ntstatus_to_winsock_error(status); in uv__wsarecvfrom_workaround()
467 NTSTATUS status; in uv__msafd_poll() local
494 status = pNtDeviceIoControlFile((HANDLE) socket, in uv__msafd_poll()
508 if (status == STATUS_PENDING) { in uv__msafd_poll()
518 status = iosb.Status; in uv__msafd_poll()
524 switch (status) { in uv__msafd_poll()
534 error = uv__ntstatus_to_winsock_error(status); in uv__msafd_poll()