Searched refs:SocketDescriptor (Results 1 – 16 of 16) sorted by relevance
/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 | 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 | unix_domain_socket_posix.cc | 63 SocketDescriptor s = CreateAndBind(path, use_abstract_namespace); in CreateAndListenInternal() 96 SocketDescriptor s, in UnixDomainSocket() 105 SocketDescriptor UnixDomainSocket::CreateAndBind(const std::string& path, in CreateAndBind() 111 const SocketDescriptor s = CreatePlatformSocket(PF_UNIX, SOCK_STREAM, 0); in CreateAndBind() 141 SocketDescriptor conn = StreamListenSocket::AcceptSocket(); in Accept()
|
D | stream_listen_socket.h | 90 StreamListenSocket(SocketDescriptor s, Delegate* del); 92 SocketDescriptor AcceptSocket(); 132 const SocketDescriptor socket_;
|
D | tcp_listen_socket_unittest.h | 90 virtual bool Send(SocketDescriptor sock, const std::string& str); 105 SocketDescriptor test_socket_;
|
D | unix_domain_socket_posix_unittest.cc | 189 SocketDescriptor CreateClientSocket() { in CreateClientSocket() 190 const SocketDescriptor sock = CreatePlatformSocket(PF_UNIX, SOCK_STREAM, 0); in CreateClientSocket() 293 const SocketDescriptor sock = CreateClientSocket(); in TEST_F() 318 const SocketDescriptor sock = CreateClientSocket(); in TEST_F()
|
D | unix_domain_socket_posix.h | 59 UnixDomainSocket(SocketDescriptor s, 70 static SocketDescriptor CreateAndBind(const std::string& path,
|
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 | 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/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() 181 SocketDescriptor socket_descriptor = in InitializeOnIOThread()
|
/external/chromium_org/components/nacl/browser/ |
D | nacl_process_host.h | 119 net::SocketDescriptor GetDebugStubSocketHandle();
|
D | nacl_process_host.cc | 774 net::SocketDescriptor NaClProcessHost::GetDebugStubSocketHandle() { in GetDebugStubSocketHandle() 775 net::SocketDescriptor s = net::kInvalidSocket; in GetDebugStubSocketHandle() 870 net::SocketDescriptor server_bound_socket = GetDebugStubSocketHandle(); in StartNaClExecution()
|