/external/libxml2/ |
D | nanoftp.c | 488 ret->controlFd = INVALID_SOCKET; in xmlNanoFTPNewCtxt() 515 if (ctxt->controlFd != INVALID_SOCKET) closesocket(ctxt->controlFd); in xmlNanoFTPFreeCtxt() 516 ctxt->controlFd = INVALID_SOCKET; in xmlNanoFTPFreeCtxt() 571 if ((ctxt == NULL) || (ctxt->controlFd == INVALID_SOCKET)) return(-1); in xmlNanoFTPGetMore() 623 closesocket(ctxt->controlFd); ctxt->controlFd = INVALID_SOCKET; in xmlNanoFTPGetMore() 624 ctxt->controlFd = INVALID_SOCKET; in xmlNanoFTPGetMore() 652 if ((ctxt == NULL) || (ctxt->controlFd == INVALID_SOCKET)) return(-1); in xmlNanoFTPReadResponse() 741 if ((ctxt == NULL) || (ctxt->controlFd == INVALID_SOCKET)) return(-1); in xmlNanoFTPCheckResponse() 830 if ((ctxt == NULL) || (ctxt->controlFd == INVALID_SOCKET)) return(-1); in xmlNanoFTPQuit() 958 if (ctxt->controlFd == INVALID_SOCKET) { in xmlNanoFTPConnect() [all …]
|
D | nanohttp.c | 103 #define INVALID_SOCKET (-1) macro 197 if (s != INVALID_SOCKET) { in have_ipv6() 401 ret->fd = INVALID_SOCKET; in xmlNanoHTTPNewCtxt() 438 if (ctxt->fd != INVALID_SOCKET) closesocket(ctxt->fd); in xmlNanoHTTPFreeCtxt() 439 ctxt->fd = INVALID_SOCKET; in xmlNanoHTTPFreeCtxt() 878 if (s == INVALID_SOCKET) { in xmlNanoHTTPConnectAttempt() 883 return INVALID_SOCKET; in xmlNanoHTTPConnectAttempt() 924 return INVALID_SOCKET; in xmlNanoHTTPConnectAttempt() 939 return INVALID_SOCKET; in xmlNanoHTTPConnectAttempt() 952 return INVALID_SOCKET; in xmlNanoHTTPConnectAttempt() [all …]
|
/external/webrtc/webrtc/examples/peerconnection/server/ |
D | data_socket.h | 30 #ifndef INVALID_SOCKET 31 #define INVALID_SOCKET static_cast<NativeSocket>(-1) macro 39 SocketBase() : socket_(INVALID_SOCKET) { } in SocketBase() 44 bool valid() const { return socket_ != INVALID_SOCKET; } in valid()
|
D | data_socket.cc | 61 if (socket_ != INVALID_SOCKET) { in Close() 63 socket_ = INVALID_SOCKET; in Close() 289 if (client == INVALID_SOCKET) in Accept()
|
/external/autotest/client/tests/kvm/deps/ |
D | finish.cpp | 66 if (ListenSocket == INVALID_SOCKET) in PrepareListenSocket() 94 SOCKET ListenSocket = INVALID_SOCKET, ClientSocket = INVALID_SOCKET; in main() 115 if (ClientSocket == INVALID_SOCKET) { in main()
|
/external/webrtc/webrtc/test/channel_transport/ |
D | udp_socket_posix.cc | 73 if(_socket != INVALID_SOCKET) in ~UdpSocketPosix() 76 _socket = INVALID_SOCKET; in ~UdpSocketPosix() 169 return _socket != INVALID_SOCKET; in ValidHandle() 257 _socket = INVALID_SOCKET; in ReadyForDeletion() 271 if (_socket == INVALID_SOCKET) in CleanUp()
|
D | udp_socket_wrapper.h | 30 #ifndef INVALID_SOCKET 31 #define INVALID_SOCKET (SOCKET)(~0) macro
|
D | udp_socket2_win.cc | 71 _socket = INVALID_SOCKET; in UdpSocket2Windows() 133 if (_socket != INVALID_SOCKET) in UdpSocket2Windows() 155 if (_socket == INVALID_SOCKET) in UdpSocket2Windows() 221 return GetFd() != INVALID_SOCKET; in ValidHandle() 1339 const bool returnValue = _socket != INVALID_SOCKET; in AquireSocket() 1355 if(_socket == INVALID_SOCKET) in InvalidateSocket() 1368 _socket = INVALID_SOCKET; in InvalidateSocket()
|
D | udp_socket_wrapper.cc | 107 if (sl->GetFd() != INVALID_SOCKET && sl->GetFd() < FD_SETSIZE) in CreateSocket()
|
/external/webrtc/webrtc/base/ |
D | win32socketserver.cc | 230 : socket_(INVALID_SOCKET), error_(0), state_(CS_CLOSED), connect_time_(0), in Win32Socket() 242 if (socket_ == INVALID_SOCKET) { in CreateT() 253 ASSERT(socket_ == INVALID_SOCKET); in Attach() 254 if (socket_ != INVALID_SOCKET) in Attach() 257 ASSERT(s != INVALID_SOCKET); in Attach() 258 if (s == INVALID_SOCKET) in Attach() 306 ASSERT(socket_ != INVALID_SOCKET); in Bind() 307 if (socket_ == INVALID_SOCKET) in Bind() 356 if ((socket_ == INVALID_SOCKET) && !CreateT(addr.family(), SOCK_STREAM)) { in DoConnect() 481 if (s == INVALID_SOCKET) in Accept() [all …]
|
D | physicalsocketserver.cc | 101 state_((s == INVALID_SOCKET) ? CS_CLOSED : CS_CONNECTED), in PhysicalSocket() 111 if (s_ != INVALID_SOCKET) { in PhysicalSocket() 132 return s_ != INVALID_SOCKET; in Create() 200 if ((s_ == INVALID_SOCKET) && in DoConnect() 382 if (s == INVALID_SOCKET) in Accept() 390 if (s_ == INVALID_SOCKET) in Close() 394 s_ = INVALID_SOCKET; in Close() 572 ASSERT(s_ != INVALID_SOCKET); in Initialize() 752 if (s_ == INVALID_SOCKET) in Close() 1103 return INVALID_SOCKET; in GetSocket() [all …]
|
D | macasyncsocket.cc | 35 native_socket_(INVALID_SOCKET), in MacAsyncSocket() 237 if (socket_fd == INVALID_SOCKET) { in Accept() 273 native_socket_ = INVALID_SOCKET; // invalidates the socket in Close() 345 if (native_socket_ == INVALID_SOCKET) { in Initialize()
|
D | socket.h | 116 #define INVALID_SOCKET (-1) macro
|
/external/libmicrohttpd/src/platform/ |
D | w32functions.c | 574 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_()
|
/external/libxml2/include/libxml/ |
D | nanoftp.h | 34 #undef INVALID_SOCKET 35 #define INVALID_SOCKET (-1) macro
|
/external/libevent/ |
D | listener.c | 504 res->s = INVALID_SOCKET; in new_accepting_socket() 521 if (as->s != INVALID_SOCKET) in free_and_unlock_accepting_socket() 541 if (s == INVALID_SOCKET) { in start_accepting() 588 as->s = INVALID_SOCKET; in stop_accepting() 630 as->s = INVALID_SOCKET; in accepted_socket_invoke_user_cb() 678 } else if (as->s == INVALID_SOCKET) { in accepted_socket_cb() 716 if (!as->free_on_cb && as->s == INVALID_SOCKET) in iocp_listener_enable() 738 if (!as->free_on_cb && as->s != INVALID_SOCKET) { in iocp_listener_disable_impl()
|
/external/netperf/src/ |
D | nettest_unix.c | 155 if (temp_socket == INVALID_SOCKET){ in create_unix_socket() 310 if (send_socket == INVALID_SOCKET){ in send_stream_stream() 428 sizeof(server)) == INVALID_SOCKET){ in send_stream_stream() 801 if (s_listen == INVALID_SOCKET) { in recv_stream_stream() 918 &addrlen)) == INVALID_SOCKET) { in recv_stream_stream() 1148 if (send_socket == INVALID_SOCKET){ in send_stream_rr() 1232 sizeof(server)) == INVALID_SOCKET){ in send_stream_rr() 1611 if (data_socket == INVALID_SOCKET){ in send_dg_stream() 1700 sizeof(server)) == INVALID_SOCKET){ in send_dg_stream() 2030 if (s_data == INVALID_SOCKET) { in recv_dg_stream() [all …]
|
D | nettest_bsd.c | 1205 if (temp_socket == INVALID_SOCKET){ in create_data_socket() 1838 if (send_socket == INVALID_SOCKET){ in send_tcp_stream() 1986 remote_res->ai_addrlen) == INVALID_SOCKET){ in send_tcp_stream() 2557 if (recv_socket == INVALID_SOCKET){ in send_tcp_maerts() 2705 remote_res->ai_addrlen) == INVALID_SOCKET){ in send_tcp_maerts() 3194 if (send_socket == INVALID_SOCKET){ in send_tcp_mss() 3289 remote_res->ai_addrlen) == INVALID_SOCKET){ in send_tcp_mss() 3496 if (send_socket == INVALID_SOCKET){ in send_exs_tcp_stream() 3640 remote_res->ai_addrlen) == INVALID_SOCKET){ in send_exs_tcp_stream() 4256 if (send_socket == INVALID_SOCKET){ [all …]
|
D | nettest_sdp.c | 301 if (send_socket == INVALID_SOCKET){ in send_sdp_stream() 449 remote_res->ai_addrlen) == INVALID_SOCKET){ in send_sdp_stream() 998 if (recv_socket == INVALID_SOCKET){ in send_sdp_maerts() 1146 remote_res->ai_addrlen) == INVALID_SOCKET){ in send_sdp_maerts() 1674 if (s_listen == INVALID_SOCKET) { in recv_sdp_stream() 1782 &addrlen)) == INVALID_SOCKET) { in recv_sdp_stream() 2009 if (s_listen == INVALID_SOCKET) { in recv_sdp_maerts() 2130 &addrlen)) == INVALID_SOCKET) { in recv_sdp_maerts() 2442 if (send_socket == INVALID_SOCKET){ in send_sdp_rr() 2544 remote_res->ai_addrlen) == INVALID_SOCKET){ in send_sdp_rr() [all …]
|
D | netserver.c | 392 if (server_sock != INVALID_SOCKET) { in set_server_sock() 405 socket(TCPIP$C_AUXS, SOCK_STREAM, 0)) == INVALID_SOCKET) { in set_server_sock() 491 if (temp_socket == INVALID_SOCKET) { in create_listens() 640 SOCKET max = INVALID_SOCKET; in set_fdset() 1181 &peeraddrlen)) == INVALID_SOCKET) { in accept_connection()
|
D | netlib.c | 180 SOCKET win_kludge_socket = INVALID_SOCKET; 181 SOCKET win_kludge_socket2 = INVALID_SOCKET; 220 SOCKET netlib_control = INVALID_SOCKET; 221 SOCKET server_sock = INVALID_SOCKET; 1145 if (win_kludge_socket != INVALID_SOCKET) { in emulate_alarm() 1149 if (win_kludge_socket2 != INVALID_SOCKET) { in emulate_alarm() 3246 return(INVALID_SOCKET); in establish_control_internal() 3250 return(INVALID_SOCKET); in establish_control_internal() 3283 if (control_sock == INVALID_SOCKET) { in establish_control_internal() 3292 return(INVALID_SOCKET); in establish_control_internal() [all …]
|
D | nettest_xti.c | 190 if (temp_socket == INVALID_SOCKET){ in create_xti_endpoint() 649 if (send_socket == INVALID_SOCKET) { in send_xti_tcp_stream() 828 NULL) == INVALID_SOCKET){ in send_xti_tcp_stream() 1366 if (s_listen == INVALID_SOCKET) { in recv_xti_tcp_stream() 1882 if (send_socket == INVALID_SOCKET){ in send_xti_tcp_rr() 2013 NULL) == INVALID_SOCKET){ in send_xti_tcp_rr() 2580 if (data_socket == INVALID_SOCKET) { in send_xti_udp_stream() 3196 if (s_data == INVALID_SOCKET) { in recv_xti_udp_stream() 3628 if (send_socket == INVALID_SOCKET){ in send_xti_udp_rr() 4278 if (s_data == INVALID_SOCKET) { in recv_xti_udp_rr() [all …]
|
/external/mdnsresponder/mDNSShared/ |
D | dnssd_ipc.h | 39 # define dnssd_InvalidSocket INVALID_SOCKET 40 # define dnssd_SocketValid(s) ((s) != INVALID_SOCKET)
|
/external/dbus/dbus/ |
D | dbus-sockets-win.h | 44 #define DBUS_SOCKET_IS_INVALID(s) ((SOCKET)(s) == INVALID_SOCKET)
|
/external/libmicrohttpd/src/include/ |
D | platform.h | 183 #define MHD_INVALID_SOCKET (INVALID_SOCKET)
|