/external/chromium_org/net/socket/ |
D | tcp_listen_socket.cc | 36 if (s == kInvalidSocket) in CreateAndListen() 52 if (s != kInvalidSocket) { in CreateAndBind() 70 s = kInvalidSocket; in CreateAndBind() 79 if (s == kInvalidSocket) in CreateAndBindAnyPort() 80 return kInvalidSocket; in CreateAndBindAnyPort() 94 return kInvalidSocket; in CreateAndBindAnyPort() 102 if (conn == kInvalidSocket) in Accept()
|
D | unix_domain_socket_posix.cc | 64 if (s == kInvalidSocket && !fallback_path.empty()) in CreateAndListenInternal() 66 if (s == kInvalidSocket) in CreateAndListenInternal() 110 return kInvalidSocket; in CreateAndBind() 112 if (s == kInvalidSocket) in CreateAndBind() 113 return kInvalidSocket; in CreateAndBind() 135 return kInvalidSocket; in CreateAndBind() 142 if (conn == kInvalidSocket) in Accept()
|
D | tcp_socket_libevent.cc | 137 : socket_(kInvalidSocket), in TCPSocketLibevent() 173 DCHECK_EQ(socket_, kInvalidSocket); in Open() 194 DCHECK_EQ(socket_, kInvalidSocket); in AdoptConnectedSocket() 211 DCHECK_NE(socket_, kInvalidSocket); in Bind() 229 DCHECK_NE(socket_, kInvalidSocket); in Listen() 272 DCHECK_NE(socket_, kInvalidSocket); in Connect() 305 if (socket_ == kInvalidSocket || waiting_connect_) in IsConnected() 328 if (socket_ == kInvalidSocket || waiting_connect_) in IsConnectedAndIdle() 350 DCHECK_NE(kInvalidSocket, socket_); in Read() 390 DCHECK_NE(kInvalidSocket, socket_); in Write() [all …]
|
D | socket_descriptor.h | 19 const SocketDescriptor kInvalidSocket = -1; variable 22 const SocketDescriptor kInvalidSocket = INVALID_SOCKET;
|
D | socket_descriptor.cc | 39 if (result != kInvalidSocket && family == AF_INET6 && in CreateSocketDefault() 45 return kInvalidSocket; in CreateSocketDefault()
|
D | unix_domain_socket_posix_unittest.cc | 193 return kInvalidSocket; in CreateClientSocket() 203 return kInvalidSocket; in CreateClientSocket() 294 ASSERT_NE(kInvalidSocket, sock); in TEST_F() 319 ASSERT_NE(kInvalidSocket, sock); in TEST_F()
|
D | stream_listen_socket.cc | 105 if (conn == kInvalidSocket) in AcceptSocket() 198 if (socket_ != kInvalidSocket) {
|
D | tcp_socket_libevent.h | 72 bool IsValid() const { return socket_ != kInvalidSocket; } in IsValid()
|
D | tcp_listen_socket_unittest.cc | 50 ASSERT_NE(kInvalidSocket, test_socket_); in SetUp()
|
/external/chromium/net/base/ |
D | listen_socket.cc | 40 const SOCKET ListenSocket::kInvalidSocket = INVALID_SOCKET; member in ListenSocket 43 const SOCKET ListenSocket::kInvalidSocket = -1; member in ListenSocket 50 if (s == kInvalidSocket) { in Listen() 109 if (s != kInvalidSocket) { in Listen() 126 s = kInvalidSocket; in Listen() 137 if (conn != kInvalidSocket) { in Accept() 184 if (conn != kInvalidSocket) { 239 if (s && s != kInvalidSocket) {
|
D | network_change_notifier_linux.cc | 21 const int kInvalidSocket = -1; variable 66 netlink_fd_(kInvalidSocket), in Thread() 74 netlink_fd_ = kInvalidSocket; in Init() 81 if (netlink_fd_ != kInvalidSocket) { in CleanUp() 84 netlink_fd_ = kInvalidSocket; in CleanUp()
|
D | listen_socket.h | 86 static const SOCKET kInvalidSocket; variable
|
/external/chromium/net/socket/ |
D | tcp_server_socket_libevent.cc | 33 const int kInvalidSocket = -1; variable 40 : socket_(kInvalidSocket), in TCPServerSocketLibevent() 51 if (socket_ != kInvalidSocket) in ~TCPServerSocketLibevent() 59 DCHECK_EQ(socket_, kInvalidSocket); in Listen() 173 if (socket_ != kInvalidSocket) { in Close() 176 socket_ = kInvalidSocket; in Close()
|
D | tcp_client_socket_libevent.cc | 42 const int kInvalidSocket = -1; variable 109 : socket_(kInvalidSocket), in TCPClientSocketLibevent() 143 DCHECK_EQ(socket_, kInvalidSocket); in AdoptSocket() 169 if (socket_ != kInvalidSocket) in Connect() 326 if (socket_ == kInvalidSocket) in DoDisconnect() 341 socket_ = kInvalidSocket; in DoDisconnect() 348 if (socket_ == kInvalidSocket || waiting_connect()) in IsConnected() 365 if (socket_ == kInvalidSocket || waiting_connect()) in IsConnectedAndIdle() 384 DCHECK_NE(kInvalidSocket, socket_); in Read() 423 DCHECK_NE(kInvalidSocket, socket_); in Write() [all …]
|
/external/chromium/net/udp/ |
D | udp_socket_libevent.cc | 34 : socket_(kInvalidSocket), in UDPSocketLibevent() 78 socket_ = kInvalidSocket; in Close() 136 DCHECK_NE(kInvalidSocket, socket_); in RecvFrom() 178 DCHECK_NE(kInvalidSocket, socket_); in SendToOrWrite() 285 if (socket_ == kInvalidSocket) in CreateSocket()
|
D | udp_socket_libevent.h | 94 bool is_connected() const { return socket_ != kInvalidSocket; } in is_connected() 97 static const int kInvalidSocket = -1;
|
/external/chromium/net/tools/fetch/ |
D | http_listen_socket.cc | 33 DCHECK_NE(conn, ListenSocket::kInvalidSocket); in Accept() 34 if (conn == ListenSocket::kInvalidSocket) { in Accept() 49 if (s == ListenSocket::kInvalidSocket) { in Listen()
|
/external/chromium_org/net/tools/fetch/ |
D | http_listen_socket.cc | 27 DCHECK_NE(conn, net::kInvalidSocket); in Accept() 28 if (conn == net::kInvalidSocket) { in Accept() 43 if (s == net::kInvalidSocket) { in CreateAndListen()
|
/external/chromium_org/components/nacl/browser/ |
D | nacl_process_host.cc | 672 net::SocketDescriptor s = net::kInvalidSocket; in GetDebugStubSocketHandle() 678 if (s != net::kInvalidSocket) { in GetDebugStubSocketHandle() 684 if (s == net::kInvalidSocket) { in GetDebugStubSocketHandle() 686 return net::kInvalidSocket; in GetDebugStubSocketHandle() 692 return net::kInvalidSocket; in GetDebugStubSocketHandle() 754 if (server_bound_socket != net::kInvalidSocket) { in StartNaClExecution()
|
/external/chromium_org/net/udp/ |
D | udp_socket_libevent.cc | 67 : socket_(kInvalidSocket), in UDPSocketLibevent() 115 socket_ = kInvalidSocket; in Close() 172 DCHECK_NE(kInvalidSocket, socket_); in RecvFrom() 216 DCHECK_NE(kInvalidSocket, socket_); in SendToOrWrite() 420 if (socket_ == kInvalidSocket) in CreateSocket()
|
D | udp_socket_libevent.h | 103 bool is_connected() const { return socket_ != kInvalidSocket; } in is_connected()
|
/external/chromium_org/chrome/utility/local_discovery/ |
D | service_discovery_message_handler.cc | 34 socket_ = net::kInvalidSocket; in ~ScopedSocketFactory() 41 net::SocketDescriptor result = net::kInvalidSocket; in CreateSocket() 93 if (sockets_[i].socket != net::kInvalidSocket) in Reset()
|
/external/chromium_org/chrome/browser/local_discovery/ |
D | service_discovery_host_client.cc | 37 LOG_IF(ERROR, socket_descriptor.fd == net::kInvalidSocket) in GetSocketsOnFileThread() 39 if (socket_descriptor.fd != net::kInvalidSocket) { in GetSocketsOnFileThread()
|
/external/chromium_org/net/test/embedded_test_server/ |
D | embedded_test_server.cc | 184 if (socket_descriptor == kInvalidSocket) in InitializeOnIOThread()
|
/external/chromium_org/net/server/ |
D | http_server_unittest.cc | 268 : StreamListenSocket(kInvalidSocket, delegate) {} in MockStreamListenSocket()
|