Home
last modified time | relevance | path

Searched refs:INVALID_SOCKET (Results 1 – 25 of 58) sorted by relevance

123

/third_party/openssl/crypto/bio/
Dbio_sock.c217 int s = INVALID_SOCKET; in BIO_get_accept_socket()
222 return INVALID_SOCKET; in BIO_get_accept_socket()
225 return INVALID_SOCKET; in BIO_get_accept_socket()
231 BIO_ADDRINFO_protocol(res), 0)) == INVALID_SOCKET) { in BIO_get_accept_socket()
232 s = INVALID_SOCKET; in BIO_get_accept_socket()
239 s = INVALID_SOCKET; in BIO_get_accept_socket()
256 if (ret == (int)INVALID_SOCKET) { in BIO_accept()
278 ret = (int)INVALID_SOCKET; in BIO_accept()
Dbio_sock2.c46 return INVALID_SOCKET; in BIO_socket()
53 return INVALID_SOCKET; in BIO_socket()
319 return INVALID_SOCKET; in BIO_accept_ex()
324 return INVALID_SOCKET; in BIO_accept_ex()
Dbss_acpt.c81 bi->num = (int)INVALID_SOCKET; in acpt_new()
100 ret->accept_sock = (int)INVALID_SOCKET; in BIO_ACCEPT_new()
124 if (c->accept_sock != (int)INVALID_SOCKET) { in acpt_close_socket()
127 c->accept_sock = (int)INVALID_SOCKET; in acpt_close_socket()
128 bio->num = (int)INVALID_SOCKET; in acpt_close_socket()
226 if (s == (int)INVALID_SOCKET) { in acpt_state()
Dbss_conn.c143 if (ret == (int)INVALID_SOCKET) { in conn_state()
283 bi->num = (int)INVALID_SOCKET; in conn_new()
296 if (bio->num != (int)INVALID_SOCKET) { in conn_close_socket()
301 bio->num = (int)INVALID_SOCKET; in conn_close_socket()
/third_party/node/deps/openssl/openssl/crypto/bio/
Dbio_sock.c217 int s = INVALID_SOCKET; in BIO_get_accept_socket()
222 return INVALID_SOCKET; in BIO_get_accept_socket()
225 return INVALID_SOCKET; in BIO_get_accept_socket()
231 BIO_ADDRINFO_protocol(res), 0)) == INVALID_SOCKET) { in BIO_get_accept_socket()
232 s = INVALID_SOCKET; in BIO_get_accept_socket()
239 s = INVALID_SOCKET; in BIO_get_accept_socket()
256 if (ret == (int)INVALID_SOCKET) { in BIO_accept()
278 ret = (int)INVALID_SOCKET; in BIO_accept()
Dbio_sock2.c46 return INVALID_SOCKET; in BIO_socket()
53 return INVALID_SOCKET; in BIO_socket()
319 return INVALID_SOCKET; in BIO_accept_ex()
324 return INVALID_SOCKET; in BIO_accept_ex()
Dbss_acpt.c81 bi->num = (int)INVALID_SOCKET; in acpt_new()
100 ret->accept_sock = (int)INVALID_SOCKET; in BIO_ACCEPT_new()
124 if (c->accept_sock != (int)INVALID_SOCKET) { in acpt_close_socket()
127 c->accept_sock = (int)INVALID_SOCKET; in acpt_close_socket()
128 bio->num = (int)INVALID_SOCKET; in acpt_close_socket()
226 if (s == (int)INVALID_SOCKET) { in acpt_state()
Dbss_conn.c143 if (ret == (int)INVALID_SOCKET) { in conn_state()
283 bi->num = (int)INVALID_SOCKET; in conn_new()
296 if (bio->num != (int)INVALID_SOCKET) { in conn_close_socket()
301 bio->num = (int)INVALID_SOCKET; in conn_close_socket()
/third_party/libuv/src/win/
Dtcp.c90 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()
243 assert(handle->socket == INVALID_SOCKET); in uv__tcp_endgame()
299 if (handle->socket == INVALID_SOCKET) { in uv__tcp_try_bind()
307 if (sock == INVALID_SOCKET) { in uv__tcp_try_bind()
399 assert(req->accept_socket == INVALID_SOCKET); in uv__tcp_queue_accept()
410 if (accept_socket == INVALID_SOCKET) { in uv__tcp_queue_accept()
623 req->accept_socket = INVALID_SOCKET; in uv__tcp_listen()
645 req->accept_socket = INVALID_SOCKET; in uv__tcp_listen()
[all …]
Dpoll.c215 if (sock == INVALID_SOCKET) { in uv__fast_poll_create_peer_socket()
216 return INVALID_SOCKET; in uv__fast_poll_create_peer_socket()
234 return INVALID_SOCKET; in uv__fast_poll_create_peer_socket()
254 return INVALID_SOCKET; in uv__fast_poll_get_peer_socket()
432 base_socket = INVALID_SOCKET; in uv_poll_init_socket()
444 assert(base_socket != 0 && base_socket != INVALID_SOCKET); in uv_poll_init_socket()
467 if (peer_socket != INVALID_SOCKET) { in uv_poll_init_socket()
Dudp.c69 if (handle->socket != INVALID_SOCKET) in uv__udp_set_socket()
133 handle->socket = INVALID_SOCKET; in uv__udp_init_ex()
152 if (sock == INVALID_SOCKET) { in uv__udp_init_ex()
173 handle->socket = INVALID_SOCKET; in uv__udp_close()
213 if (handle->socket == INVALID_SOCKET) { in uv__udp_maybe_bind()
215 if (sock == INVALID_SOCKET) { in uv__udp_maybe_bind()
892 if (handle->socket == INVALID_SOCKET) in uv_udp_set_multicast_interface()
923 if (handle->socket == INVALID_SOCKET) in uv_udp_set_broadcast()
990 if (handle->socket == INVALID_SOCKET) \
/third_party/node/deps/uv/src/win/
Dtcp.c90 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()
243 assert(handle->socket == INVALID_SOCKET); in uv__tcp_endgame()
299 if (handle->socket == INVALID_SOCKET) { in uv__tcp_try_bind()
307 if (sock == INVALID_SOCKET) { in uv__tcp_try_bind()
399 assert(req->accept_socket == INVALID_SOCKET); in uv__tcp_queue_accept()
410 if (accept_socket == INVALID_SOCKET) { in uv__tcp_queue_accept()
623 req->accept_socket = INVALID_SOCKET; in uv__tcp_listen()
645 req->accept_socket = INVALID_SOCKET; in uv__tcp_listen()
[all …]
Dpoll.c213 if (sock == INVALID_SOCKET) { in uv__fast_poll_create_peer_socket()
214 return INVALID_SOCKET; in uv__fast_poll_create_peer_socket()
232 return INVALID_SOCKET; in uv__fast_poll_create_peer_socket()
252 return INVALID_SOCKET; in uv__fast_poll_get_peer_socket()
430 base_socket = INVALID_SOCKET; in uv_poll_init_socket()
442 assert(base_socket != 0 && base_socket != INVALID_SOCKET); in uv_poll_init_socket()
465 if (peer_socket != INVALID_SOCKET) { in uv_poll_init_socket()
Dudp.c69 if (handle->socket != INVALID_SOCKET) in uv__udp_set_socket()
133 handle->socket = INVALID_SOCKET; in uv__udp_init_ex()
152 if (sock == INVALID_SOCKET) { in uv__udp_init_ex()
173 handle->socket = INVALID_SOCKET; in uv__udp_close()
213 if (handle->socket == INVALID_SOCKET) { in uv__udp_maybe_bind()
215 if (sock == INVALID_SOCKET) { in uv__udp_maybe_bind()
892 if (handle->socket == INVALID_SOCKET) in uv_udp_set_multicast_interface()
923 if (handle->socket == INVALID_SOCKET) in uv_udp_set_broadcast()
990 if (handle->socket == INVALID_SOCKET) \
/third_party/node/deps/openssl/openssl/apps/lib/
Ds_socket.c130 if (*sock == INVALID_SOCKET) { in init_client()
141 *sock = INVALID_SOCKET; in init_client()
167 *sock = INVALID_SOCKET; in init_client()
175 if (*sock == INVALID_SOCKET) { in init_client()
317 if (asock == INVALID_SOCKET && sock_family_fallback != AF_UNSPEC) { in do_server()
321 if (asock == INVALID_SOCKET in do_server()
325 if (asock != INVALID_SOCKET) in do_server()
Dhttp_server.c44 int acfd = (int) INVALID_SOCKET;
87 if (acfd != (int)INVALID_SOCKET) in socket_timeout()
491 acfd = (int)INVALID_SOCKET; in http_server_get_asn1_req()
/third_party/openssl/apps/lib/
Ds_socket.c130 if (*sock == INVALID_SOCKET) { in init_client()
141 *sock = INVALID_SOCKET; in init_client()
167 *sock = INVALID_SOCKET; in init_client()
175 if (*sock == INVALID_SOCKET) { in init_client()
317 if (asock == INVALID_SOCKET && sock_family_fallback != AF_UNSPEC) { in do_server()
321 if (asock == INVALID_SOCKET in do_server()
325 if (asock != INVALID_SOCKET) in do_server()
Dhttp_server.c44 int acfd = (int) INVALID_SOCKET;
87 if (acfd != (int)INVALID_SOCKET) in socket_timeout()
491 acfd = (int)INVALID_SOCKET; in http_server_get_asn1_req()
/third_party/skia/third_party/externals/microhttpd/src/platform/
Dw32functions.c574 if (INVALID_SOCKET == listen_s) in MHD_W32_pair_of_sockets_()
586 if (INVALID_SOCKET != client_s) in MHD_W32_pair_of_sockets_()
596 if (INVALID_SOCKET != server_s) in MHD_W32_pair_of_sockets_()
622 sockets_pair[0] = INVALID_SOCKET; in MHD_W32_pair_of_sockets_()
623 sockets_pair[1] = INVALID_SOCKET; in MHD_W32_pair_of_sockets_()
/third_party/rust/crates/io-lifetimes/src/
Dtypes.rs23 closesocket, WSADuplicateSocketW, WSAGetLastError, WSASocketW, INVALID_SOCKET, SOCKET,
35 const INVALID_SOCKET: usize = !0 as _; constant
326 if socket != INVALID_SOCKET { in try_clone_to_owned()
346 if socket == INVALID_SOCKET { in try_clone_to_owned()
487 debug_assert!(socket != INVALID_SOCKET as RawSocket); in borrow_raw()
666 debug_assert_ne!(socket, INVALID_SOCKET as RawSocket); in from_raw_socket()
/third_party/libwebsockets/lib/plat/windows/
Dwindows-pipe.c53 if (fd[0] == INVALID_SOCKET) in lws_plat_pipe_create()
57 if (fd[1] == INVALID_SOCKET) in lws_plat_pipe_create()
/third_party/openssl/test/helpers/
Dhandshake.c1301 int lsock = INVALID_SOCKET, asock = INVALID_SOCKET; in create_sctp_socks()
1302 int consock = INVALID_SOCKET; in create_sctp_socks()
1321 if (lsock == INVALID_SOCKET) { in create_sctp_socks()
1332 lsock = INVALID_SOCKET; in create_sctp_socks()
1340 if (lsock == INVALID_SOCKET) in create_sctp_socks()
1351 if (consock == INVALID_SOCKET) in create_sctp_socks()
1360 if (asock == INVALID_SOCKET) in create_sctp_socks()
1365 consock = asock = INVALID_SOCKET; in create_sctp_socks()
1370 if (consock != INVALID_SOCKET) in create_sctp_socks()
1372 if (lsock != INVALID_SOCKET) in create_sctp_socks()
[all …]
/third_party/openssl/ohos_lite/include/internal/
Dsockets.h107 # ifndef INVALID_SOCKET
108 # define INVALID_SOCKET (-1) macro
/third_party/openssl/include/internal/
Dsockets.h111 # ifndef INVALID_SOCKET
112 # define INVALID_SOCKET (-1) macro
/third_party/node/deps/openssl/openssl/include/internal/
Dsockets.h111 # ifndef INVALID_SOCKET
112 # define INVALID_SOCKET (-1) macro

123