Lines Matching refs:INVALID_SOCKET
90 if (handle->socket != INVALID_SOCKET) in uv__tcp_set_socket()
168 handle->socket = INVALID_SOCKET; in uv_tcp_init_ex()
184 if (sock == INVALID_SOCKET) { in uv_tcp_init_ex()
239 assert(handle->socket == INVALID_SOCKET); in uv__tcp_endgame()
296 if (handle->socket == INVALID_SOCKET) { in uv__tcp_try_bind()
304 if (sock == INVALID_SOCKET) { in uv__tcp_try_bind()
396 assert(req->accept_socket == INVALID_SOCKET); in uv__tcp_queue_accept()
407 if (accept_socket == INVALID_SOCKET) { in uv__tcp_queue_accept()
620 req->accept_socket = INVALID_SOCKET; in uv__tcp_listen()
642 req->accept_socket = INVALID_SOCKET; in uv__tcp_listen()
665 if (req->accept_socket == INVALID_SOCKET) { in uv__tcp_accept()
691 req->accept_socket = INVALID_SOCKET; in uv__tcp_accept()
1161 handle->socket = INVALID_SOCKET; in uv__process_tcp_write_req()
1182 if (req->accept_socket == INVALID_SOCKET) { in uv__process_tcp_accept_req()
1210 req->accept_socket = INVALID_SOCKET; in uv__process_tcp_accept_req()
1311 if (socket == INVALID_SOCKET) { in uv__tcp_xfer_import()
1338 if (handle->socket != INVALID_SOCKET) { in uv_tcp_nodelay()
1357 if (handle->socket != INVALID_SOCKET) { in uv_tcp_keepalive()
1448 assert(socket != 0 && socket != INVALID_SOCKET); in uv__tcp_try_cancel_reqs()
1472 if (req->accept_socket != INVALID_SOCKET) { in uv__tcp_close()
1474 req->accept_socket = INVALID_SOCKET; in uv__tcp_close()
1494 tcp->socket = INVALID_SOCKET; in uv__tcp_close()
1590 SOCKET server = INVALID_SOCKET; in uv_socketpair()
1591 SOCKET client0 = INVALID_SOCKET; in uv_socketpair()
1592 SOCKET client1 = INVALID_SOCKET; in uv_socketpair()
1611 if (server == INVALID_SOCKET) in uv_socketpair()
1626 if (client0 == INVALID_SOCKET) in uv_socketpair()
1633 if (client1 == INVALID_SOCKET) in uv_socketpair()
1687 if (server != INVALID_SOCKET) in uv_socketpair()
1689 if (client0 != INVALID_SOCKET) in uv_socketpair()
1691 if (client1 != INVALID_SOCKET) in uv_socketpair()