/external/chromium/third_party/libjingle/source/talk/base/ |
D | win32socketserver.cc | 238 : socket_(INVALID_SOCKET), error_(0), state_(CS_CLOSED), connect_time_(0), in Win32Socket() 250 if (socket_ == INVALID_SOCKET) { in CreateT() 261 ASSERT(socket_ == INVALID_SOCKET); in Attach() 262 if (socket_ != INVALID_SOCKET) in Attach() 265 ASSERT(s != INVALID_SOCKET); in Attach() 266 if (s == INVALID_SOCKET) in Attach() 317 ASSERT(socket_ != INVALID_SOCKET); in Bind() 318 if (socket_ == INVALID_SOCKET) in Bind() 329 if ((socket_ == INVALID_SOCKET) && !CreateT(SOCK_STREAM)) in Connect() 470 if (s == INVALID_SOCKET) in Accept() [all …]
|
D | physicalsocketserver.cc | 109 PhysicalSocket(PhysicalSocketServer* ss, SOCKET s = INVALID_SOCKET) in PhysicalSocket() 111 state_((s == INVALID_SOCKET) ? CS_CLOSED : CS_CONNECTED), in PhysicalSocket() 121 if (s_ != INVALID_SOCKET) { in PhysicalSocket() 143 return s_ != INVALID_SOCKET; in Create() 193 if ((s_ == INVALID_SOCKET) && !Create(SOCK_STREAM)) in Connect() 375 if (s == INVALID_SOCKET) in Accept() 384 if (s_ == INVALID_SOCKET) in Close() 388 s_ = INVALID_SOCKET; in Close() 871 if (s_ == INVALID_SOCKET) in Close() 999 return INVALID_SOCKET; in GetSocket() [all …]
|
D | socket.h | 132 #define INVALID_SOCKET (-1) macro
|
/external/openssl/crypto/bio/ |
D | bss_acpt.c | 134 bi->num=INVALID_SOCKET; in acpt_new() 152 ret->accept_sock=INVALID_SOCKET; in BIO_ACCEPT_new() 173 if (c->accept_sock != INVALID_SOCKET) in acpt_close_socket() 177 c->accept_sock=INVALID_SOCKET; in acpt_close_socket() 178 bio->num=INVALID_SOCKET; in acpt_close_socket() 216 if (s == INVALID_SOCKET) in acpt_state()
|
D | b_sock.c | 632 int s=INVALID_SOCKET,cs,addrlen; in BIO_get_accept_socket() 640 if (BIO_sock_init() != 1) return(INVALID_SOCKET); in BIO_get_accept_socket() 642 if ((str=BUF_strdup(host)) == NULL) return(INVALID_SOCKET); in BIO_get_accept_socket() 739 if (s == INVALID_SOCKET) in BIO_get_accept_socket() 788 if (cs != INVALID_SOCKET) in BIO_get_accept_socket() 793 if (ii == INVALID_SOCKET) in BIO_get_accept_socket() 819 if ((ret == 0) && (s != INVALID_SOCKET)) in BIO_get_accept_socket() 822 s= INVALID_SOCKET; in BIO_get_accept_socket() 829 int ret=INVALID_SOCKET; in BIO_accept() 876 if (ret == INVALID_SOCKET) in BIO_accept()
|
D | bss_conn.c | 213 if (ret == INVALID_SOCKET) in conn_state() 361 bi->num=INVALID_SOCKET; in conn_new() 374 if (bio->num != INVALID_SOCKET) in conn_close_socket() 380 bio->num=INVALID_SOCKET; in conn_close_socket()
|
/external/chromium/net/socket/ |
D | tcp_client_socket_win.cc | 215 : socket_(INVALID_SOCKET), in TCPClientSocketWin() 239 DCHECK_EQ(socket_, INVALID_SOCKET); in AdoptSocket() 260 if (socket_ != INVALID_SOCKET) in Connect() 406 if (socket_ == INVALID_SOCKET) in DoDisconnect() 420 socket_ = INVALID_SOCKET; in DoDisconnect() 442 if (socket_ == INVALID_SOCKET || waiting_connect()) in IsConnected() 459 if (socket_ == INVALID_SOCKET || waiting_connect()) in IsConnectedAndIdle() 520 DCHECK_NE(socket_, INVALID_SOCKET); in Read() 568 DCHECK_NE(socket_, INVALID_SOCKET); in Write() 635 if (socket_ == INVALID_SOCKET) { in CreateSocket()
|
D | tcp_server_socket_win.cc | 20 : socket_(INVALID_SOCKET), in TCPServerSocketWin() 40 DCHECK_EQ(socket_, INVALID_SOCKET); in Listen() 157 if (socket_ != INVALID_SOCKET) { in Close() 160 socket_ = INVALID_SOCKET; in Close()
|
/external/chromium/net/udp/ |
D | udp_socket_win.cc | 36 : socket_(INVALID_SOCKET), in UDPSocketWin() 74 socket_ = INVALID_SOCKET; in Close() 132 DCHECK_NE(INVALID_SOCKET, socket_); in RecvFrom() 166 DCHECK_NE(INVALID_SOCKET, socket_); in SendToOrWrite() 225 if (socket_ == INVALID_SOCKET) in CreateSocket()
|
D | udp_socket_win.h | 96 bool is_connected() const { return socket_ != INVALID_SOCKET; } in is_connected()
|
/external/chromium/chrome/browser/debugger/ |
D | devtools_remote_listen_socket.cc | 37 const int INVALID_SOCKET = -1; variable 91 if (s == INVALID_SOCKET) { in Listen() 215 if (conn != INVALID_SOCKET) { in Accept()
|
D | devtools_remote_listen_socket_unittest.h | 40 const int INVALID_SOCKET = -1; variable
|
D | devtools_remote_listen_socket_unittest.cc | 79 test_socket_(INVALID_SOCKET) { in DevToolsRemoteListenSocketTester() 111 ASSERT_NE(INVALID_SOCKET, test_socket_); in SetUp()
|
/external/netperf/ |
D | nettest_unix.c | 158 if (temp_socket == INVALID_SOCKET){ in create_unix_socket() 312 if (send_socket == INVALID_SOCKET){ in send_stream_stream() 430 sizeof(server)) == INVALID_SOCKET){ in send_stream_stream() 802 if (s_listen == INVALID_SOCKET) { in recv_stream_stream() 919 &addrlen)) == INVALID_SOCKET) { in recv_stream_stream() 1149 if (send_socket == INVALID_SOCKET){ in send_stream_rr() 1233 sizeof(server)) == INVALID_SOCKET){ in send_stream_rr() 1611 if (data_socket == INVALID_SOCKET){ in send_dg_stream() 1697 sizeof(server)) == INVALID_SOCKET){ in send_dg_stream() 2027 if (s_data == INVALID_SOCKET) { in recv_dg_stream() [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 | nettest_bsd.c | 867 if (temp_socket == INVALID_SOCKET){ in create_data_socket() 1378 if (send_socket == INVALID_SOCKET){ in send_tcp_stream() 1526 remote_res->ai_addrlen) == INVALID_SOCKET){ in send_tcp_stream() 2072 if (recv_socket == INVALID_SOCKET){ in send_tcp_maerts() 2220 remote_res->ai_addrlen) == INVALID_SOCKET){ in send_tcp_maerts() 2804 if (send_socket == INVALID_SOCKET){ in send_exs_tcp_stream() 2948 remote_res->ai_addrlen) == INVALID_SOCKET){ in send_exs_tcp_stream() 3575 if (send_socket == INVALID_SOCKET){ 3752 remote_res->ai_addrlen) == INVALID_SOCKET){ 4331 if (s_listen == INVALID_SOCKET) { in recv_tcp_stream() [all …]
|
D | netlib.c | 182 SOCKET win_kludge_socket = INVALID_SOCKET; 183 SOCKET win_kludge_socket2 = INVALID_SOCKET; 220 SOCKET netlib_control = INVALID_SOCKET; 221 SOCKET server_sock = INVALID_SOCKET; 892 if (win_kludge_socket != INVALID_SOCKET) { in emulate_alarm() 895 if (win_kludge_socket2 != INVALID_SOCKET) { in emulate_alarm() 2286 if (netlib_control != INVALID_SOCKET) { in recv_request() 2687 return(INVALID_SOCKET); in establish_control_internal() 2728 return(INVALID_SOCKET); in establish_control_internal() 2752 if (control_sock == INVALID_SOCKET) { in establish_control_internal() [all …]
|
D | netserver.c | 510 if (server_control == INVALID_SOCKET) { in set_up_server() 644 &peeraddr_len)) == INVALID_SOCKET) in set_up_server() 1007 if ( (server_sock = socket(TCPIP$C_AUXS, SOCK_STREAM, 0)) == INVALID_SOCKET ) in main()
|
D | nettest_xti.c | 191 if (temp_socket == INVALID_SOCKET){ in create_xti_endpoint() 650 if (send_socket == INVALID_SOCKET) { in send_xti_tcp_stream() 829 NULL) == INVALID_SOCKET){ in send_xti_tcp_stream() 1367 if (s_listen == INVALID_SOCKET) { in recv_xti_tcp_stream() 1883 if (send_socket == INVALID_SOCKET){ in send_xti_tcp_rr() 2014 NULL) == INVALID_SOCKET){ in send_xti_tcp_rr() 2581 if (data_socket == INVALID_SOCKET) { in send_xti_udp_stream() 3197 if (s_data == INVALID_SOCKET) { in recv_xti_udp_stream() 3629 if (send_socket == INVALID_SOCKET){ in send_xti_udp_rr() 4279 if (s_data == INVALID_SOCKET) { in recv_xti_udp_rr() [all …]
|
/external/dbus/dbus/ |
D | dbus-sockets-win.h | 54 #define DBUS_SOCKET_IS_INVALID(s) ((SOCKET)(s) == INVALID_SOCKET)
|
D | dbus-sysdeps-win.c | 453 return fd == INVALID_SOCKET ? TRUE : FALSE; in _dbus_socket_is_invalid() 824 if (temp == INVALID_SOCKET) in _dbus_full_duplex_pipe() 855 if (socket1 == INVALID_SOCKET) in _dbus_full_duplex_pipe() 868 if (socket2 == INVALID_SOCKET) in _dbus_full_duplex_pipe() 1305 if ((fd = socket (tmp->ai_family, SOCK_STREAM, 0)) == INVALID_SOCKET) in _dbus_connect_tcp_socket_with_nonce() 1451 if ((fd = socket (tmp->ai_family, SOCK_STREAM, 0)) == INVALID_SOCKET) in _dbus_listen_tcp_socket()
|
/external/openssl/apps/ |
D | s_socket.c | 271 if (s == INVALID_SOCKET) { perror("socket"); return(0); } in init_client_ip() 352 if (s == INVALID_SOCKET) goto err; in init_server_long() 406 if (ret == INVALID_SOCKET) in do_accept()
|
/external/chromium/net/base/ |
D | listen_socket_unittest.h | 34 const int INVALID_SOCKET = -1; variable
|
D | listen_socket.cc | 40 const SOCKET ListenSocket::kInvalidSocket = INVALID_SOCKET;
|
/external/openssl/ |
D | e_os.h | 549 # define INVALID_SOCKET (int)(~0) macro 622 # ifndef INVALID_SOCKET 623 # define INVALID_SOCKET (-1) macro
|