/external/chromium_org/net/socket/ |
D | socket_descriptor.h | 18 typedef int SocketDescriptor; typedef 19 const SocketDescriptor kInvalidSocket = -1; 21 typedef SOCKET SocketDescriptor; 22 const SocketDescriptor kInvalidSocket = INVALID_SOCKET; 39 virtual SocketDescriptor CreateSocket(int family, int type, int protocol) = 0; 43 SocketDescriptor NET_EXPORT CreatePlatformSocket(int family,
|
D | tcp_listen_socket.cc | 35 SocketDescriptor s = CreateAndBind(ip, port); in CreateAndListen() 43 TCPListenSocket::TCPListenSocket(SocketDescriptor s, in TCPListenSocket() 50 SocketDescriptor TCPListenSocket::CreateAndBind(const string& ip, int port) { in CreateAndBind() 51 SocketDescriptor s = CreatePlatformSocket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in CreateAndBind() 76 SocketDescriptor TCPListenSocket::CreateAndBindAnyPort(const string& ip, in CreateAndBindAnyPort() 78 SocketDescriptor s = CreateAndBind(ip, 0); in CreateAndBindAnyPort() 101 SocketDescriptor conn = AcceptSocket(); in Accept()
|
D | socket_libevent.h | 36 int AdoptConnectedSocket(SocketDescriptor socket, 39 SocketDescriptor ReleaseConnectedSocket(); 80 SocketDescriptor socket_fd() const { return socket_fd_; } in socket_fd() 101 SocketDescriptor socket_fd_;
|
D | unix_domain_listen_socket_posix.cc | 34 SocketDescriptor* socket_fd) { in CreateAndBind() 44 SocketDescriptor fd = CreatePlatformSocket(PF_UNIX, SOCK_STREAM, 0); in CreateAndBind() 70 SocketDescriptor socket_fd = kInvalidSocket; in CreateAndListenInternal() 104 SocketDescriptor s, in UnixDomainListenSocket() 113 SocketDescriptor conn = StreamListenSocket::AcceptSocket(); in Accept()
|
D | tcp_listen_socket.h | 27 static SocketDescriptor CreateAndBind(const std::string& ip, int port); 30 static SocketDescriptor CreateAndBindAnyPort(const std::string& ip, 34 TCPListenSocket(SocketDescriptor s, StreamListenSocket::Delegate* del);
|
D | socket_descriptor.cc | 34 SocketDescriptor CreateSocketDefault(int family, int type, int protocol) { in CreateSocketDefault() 37 SocketDescriptor result = ::WSASocket(family, type, protocol, NULL, 0, in CreateSocketDefault() 54 SocketDescriptor CreatePlatformSocket(int family, int type, int protocol) { in CreatePlatformSocket()
|
D | stream_listen_socket.h | 90 StreamListenSocket(SocketDescriptor s, Delegate* del); 92 SocketDescriptor AcceptSocket(); 132 const SocketDescriptor socket_;
|
D | unix_domain_server_socket_posix.cc | 27 void SetSocketDescriptor(SocketDescriptor* socket, in SetSocketDescriptor() 46 bool UnixDomainServerSocket::GetPeerCredentials(SocketDescriptor socket, in GetPeerCredentials() 119 SocketDescriptor* socket, in AcceptSocketDescriptor()
|
D | unix_domain_server_socket_posix.h | 50 static bool GetPeerCredentials(SocketDescriptor socket_fd, 64 int AcceptSocketDescriptor(SocketDescriptor* socket_descriptor,
|
D | tcp_listen_socket_unittest.h | 90 virtual bool Send(SocketDescriptor sock, const std::string& str); 105 SocketDescriptor test_socket_;
|
D | unix_domain_listen_socket_posix_unittest.cc | 187 SocketDescriptor CreateClientSocket() { in CreateClientSocket() 188 const SocketDescriptor sock = CreatePlatformSocket(PF_UNIX, SOCK_STREAM, 0); in CreateClientSocket() 297 const SocketDescriptor sock = CreateClientSocket(); in TEST_F() 322 const SocketDescriptor sock = CreateClientSocket(); in TEST_F()
|
D | stream_listen_socket.cc | 52 StreamListenSocket::StreamListenSocket(SocketDescriptor s, in StreamListenSocket() 120 SocketDescriptor StreamListenSocket::AcceptSocket() { in AcceptSocket() 121 SocketDescriptor conn = HANDLE_EINTR(accept(socket_, NULL, NULL)); in AcceptSocket()
|
D | unix_domain_client_socket_posix.cc | 162 SocketDescriptor UnixDomainClientSocket::ReleaseConnectedSocket() { in ReleaseConnectedSocket() 166 SocketDescriptor socket_fd = socket_->ReleaseConnectedSocket(); in ReleaseConnectedSocket()
|
D | socket_libevent.cc | 92 int SocketLibevent::AdoptConnectedSocket(SocketDescriptor socket, in AdoptConnectedSocket() 109 SocketDescriptor SocketLibevent::ReleaseConnectedSocket() { in ReleaseConnectedSocket() 111 SocketDescriptor socket_fd = socket_fd_; in ReleaseConnectedSocket()
|
D | unix_domain_client_socket_posix.h | 70 SocketDescriptor ReleaseConnectedSocket();
|
D | unix_domain_listen_socket_posix.h | 55 UnixDomainListenSocket(SocketDescriptor s,
|
D | unix_domain_client_socket_posix_unittest.cc | 160 SocketDescriptor accepted_socket_fd = kInvalidSocket; in TEST_F() 178 SocketDescriptor client_socket_fd = client_socket.ReleaseConnectedSocket(); in TEST_F()
|
D | tcp_listen_socket_unittest.cc | 224 bool TCPListenSocketTester::Send(SocketDescriptor sock, in Send()
|
/external/chromium_org/chrome/utility/local_discovery/ |
D | service_discovery_message_handler.cc | 20 void ClosePlatformSocket(net::SocketDescriptor socket); 27 explicit ScopedSocketFactory(net::SocketDescriptor socket) : socket_(socket) { in ScopedSocketFactory() 37 virtual net::SocketDescriptor CreateSocket(int family, int type, in CreateSocket() 41 net::SocketDescriptor result = net::kInvalidSocket; in CreateSocket() 47 net::SocketDescriptor socket_; 52 SocketInfo(net::SocketDescriptor socket, in SocketInfo() 59 net::SocketDescriptor socket; 108 void ClosePlatformSocket(net::SocketDescriptor socket) { in ClosePlatformSocket() 117 net::SocketDescriptor descriptor = in StaticInitializeSocketFactory() 128 void ClosePlatformSocket(net::SocketDescriptor socket) { in ClosePlatformSocket()
|
/external/chromium_org/components/proximity_auth/ |
D | bluetooth_util_chromeos.cc | 94 void CloseSocket(net::SocketDescriptor socket_descriptor) { in CloseSocket() 117 net::SocketDescriptor socket_descriptor = in SeekDeviceByAddressImpl()
|
/external/chromium_org/net/test/embedded_test_server/ |
D | embedded_test_server.h | 36 HttpListenSocket(const SocketDescriptor socket_descriptor,
|
D | embedded_test_server.cc | 87 HttpListenSocket::HttpListenSocket(const SocketDescriptor socket_descriptor, in HttpListenSocket() 193 SocketDescriptor socket_descriptor = in InitializeOnIOThread()
|
/external/chromium_org/components/nacl/browser/ |
D | nacl_process_host.h | 120 net::SocketDescriptor GetDebugStubSocketHandle();
|
D | nacl_process_host.cc | 769 net::SocketDescriptor NaClProcessHost::GetDebugStubSocketHandle() { in GetDebugStubSocketHandle() 770 net::SocketDescriptor s = net::kInvalidSocket; in GetDebugStubSocketHandle() 878 net::SocketDescriptor server_bound_socket = GetDebugStubSocketHandle(); in StartNaClExecution()
|