Home
last modified time | relevance | path

Searched refs:SocketDescriptor (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/net/socket/
Dsocket_descriptor.h18 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,
Dtcp_listen_socket.cc35 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()
Dtcp_listen_socket.h27 static SocketDescriptor CreateAndBind(const std::string& ip, int port);
30 static SocketDescriptor CreateAndBindAnyPort(const std::string& ip,
34 TCPListenSocket(SocketDescriptor s, StreamListenSocket::Delegate* del);
Dsocket_descriptor.cc34 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()
Dunix_domain_socket_posix.cc63 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()
Dstream_listen_socket.h90 StreamListenSocket(SocketDescriptor s, Delegate* del);
92 SocketDescriptor AcceptSocket();
132 const SocketDescriptor socket_;
Dtcp_listen_socket_unittest.h90 virtual bool Send(SocketDescriptor sock, const std::string& str);
105 SocketDescriptor test_socket_;
Dunix_domain_socket_posix_unittest.cc189 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()
Dunix_domain_socket_posix.h59 UnixDomainSocket(SocketDescriptor s,
70 static SocketDescriptor CreateAndBind(const std::string& path,
Dstream_listen_socket.cc52 StreamListenSocket::StreamListenSocket(SocketDescriptor s, in StreamListenSocket()
120 SocketDescriptor StreamListenSocket::AcceptSocket() { in AcceptSocket()
121 SocketDescriptor conn = HANDLE_EINTR(accept(socket_, NULL, NULL)); in AcceptSocket()
Dtcp_listen_socket_unittest.cc224 bool TCPListenSocketTester::Send(SocketDescriptor sock, in Send()
/external/chromium_org/chrome/utility/local_discovery/
Dservice_discovery_message_handler.cc20 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/
Dembedded_test_server.h36 HttpListenSocket(const SocketDescriptor socket_descriptor,
Dembedded_test_server.cc87 HttpListenSocket::HttpListenSocket(const SocketDescriptor socket_descriptor, in HttpListenSocket()
181 SocketDescriptor socket_descriptor = in InitializeOnIOThread()
/external/chromium_org/components/nacl/browser/
Dnacl_process_host.h119 net::SocketDescriptor GetDebugStubSocketHandle();
Dnacl_process_host.cc774 net::SocketDescriptor NaClProcessHost::GetDebugStubSocketHandle() { in GetDebugStubSocketHandle()
775 net::SocketDescriptor s = net::kInvalidSocket; in GetDebugStubSocketHandle()
870 net::SocketDescriptor server_bound_socket = GetDebugStubSocketHandle(); in StartNaClExecution()