Home
last modified time | relevance | path

Searched refs:CreateAsyncSocket (Results 1 – 25 of 44) sorted by relevance

12

/external/webrtc/webrtc/base/
Dsocket_unittest.cc197 scoped_ptr<AsyncSocket> client(ss_->CreateAsyncSocket(loopback.family(), in ConnectInternal()
205 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectInternal()
253 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupInternal()
258 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupInternal()
301 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectFailInternal()
306 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectFailInternal()
334 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupFailInternal()
339 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupFailInternal()
372 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithClosedSocketInternal()
378 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithClosedSocketInternal()
[all …]
Dvirtualsocket_unittest.cc170 ss_->CreateAsyncSocket(default_route.family(), SOCK_DGRAM); in TestDefaultRoute()
178 ss_->CreateAsyncSocket(default_route.family(), SOCK_DGRAM); in TestDefaultRoute()
198 AsyncSocket* socket = ss_->CreateAsyncSocket(initial_addr.family(), in BasicTest()
207 ss_->CreateAsyncSocket(initial_addr.family(), SOCK_DGRAM); in BasicTest()
246 AsyncSocket* client = ss_->CreateAsyncSocket(initial_addr.family(), in ConnectTest()
253 AsyncSocket* server = ss_->CreateAsyncSocket(initial_addr.family(), in ConnectTest()
314 AsyncSocket* client = ss_->CreateAsyncSocket(initial_addr.family(), in ConnectToNonListenerTest()
319 AsyncSocket* server = ss_->CreateAsyncSocket(initial_addr.family(), in ConnectToNonListenerTest()
348 scoped_ptr<AsyncSocket> client(ss_->CreateAsyncSocket(initial_addr.family(), in CloseDuringConnectTest()
351 scoped_ptr<AsyncSocket> server(ss_->CreateAsyncSocket(initial_addr.family(), in CloseDuringConnectTest()
[all …]
Dnatsocketfactory.cc318 AsyncSocket* NATSocketFactory::CreateAsyncSocket(int type) { in CreateAsyncSocket() function in rtc::NATSocketFactory
319 return CreateAsyncSocket(AF_INET, type); in CreateAsyncSocket()
322 AsyncSocket* NATSocketFactory::CreateAsyncSocket(int family, int type) { in CreateAsyncSocket() function in rtc::NATSocketFactory
333 return factory_->CreateAsyncSocket(family, type); in CreateInternalSocket()
368 AsyncSocket* NATSocketServer::CreateAsyncSocket(int type) { in CreateAsyncSocket() function in rtc::NATSocketServer
369 return CreateAsyncSocket(AF_INET, type); in CreateAsyncSocket()
372 AsyncSocket* NATSocketServer::CreateAsyncSocket(int family, int type) { in CreateAsyncSocket() function in rtc::NATSocketServer
394 socket = nat->internal_factory()->CreateAsyncSocket(family, type); in CreateInternalSocket()
398 socket = server_->CreateAsyncSocket(family, type); in CreateInternalSocket()
Dnatsocketfactory.h46 AsyncSocket* CreateAsyncSocket(int type) override;
47 AsyncSocket* CreateAsyncSocket(int family, int type) override;
139 AsyncSocket* CreateAsyncSocket(int type) override;
140 AsyncSocket* CreateAsyncSocket(int family, int type) override;
Dsslsocketfactory.cc123 AsyncSocket* SslSocketFactory::CreateAsyncSocket(int type) { in CreateAsyncSocket() function in rtc::SslSocketFactory
124 return CreateAsyncSocket(AF_INET, type); in CreateAsyncSocket()
127 AsyncSocket* SslSocketFactory::CreateAsyncSocket(int family, int type) { in CreateAsyncSocket() function in rtc::SslSocketFactory
139 AsyncSocket* socket = factory_->CreateAsyncSocket(family, type); in CreateProxySocket()
Dsocketfactory.h32 virtual AsyncSocket* CreateAsyncSocket(int type) = 0;
33 virtual AsyncSocket* CreateAsyncSocket(int family, int type) = 0;
Dfirewallsocketserver.cc182 return WrapSocket(server_->CreateAsyncSocket(family, type), type); in CreateSocket()
185 AsyncSocket* FirewallSocketServer::CreateAsyncSocket(int type) { in CreateAsyncSocket() function in rtc::FirewallSocketServer
186 return CreateAsyncSocket(AF_INET, type); in CreateAsyncSocket()
189 AsyncSocket* FirewallSocketServer::CreateAsyncSocket(int family, int type) { in CreateAsyncSocket() function in rtc::FirewallSocketServer
190 return WrapSocket(server_->CreateAsyncSocket(family, type), type); in CreateAsyncSocket()
Dnullsocketserver.h44 virtual rtc::AsyncSocket* CreateAsyncSocket(int type) { in CreateAsyncSocket() function
49 virtual rtc::AsyncSocket* CreateAsyncSocket(int family, int type) { in CreateAsyncSocket() function
Dsslsocketfactory.h57 AsyncSocket* CreateAsyncSocket(int type) override;
58 AsyncSocket* CreateAsyncSocket(int family, int type) override;
Dtestclient_unittest.cc23 ->CreateAsyncSocket(loopback.family(), SOCK_DGRAM); in TestUdpInternal()
39 ->CreateAsyncSocket(loopback.family(), SOCK_STREAM); in TestTcpInternal()
Dmacsocketserver.h35 AsyncSocket* CreateAsyncSocket(int type) override;
36 AsyncSocket* CreateAsyncSocket(int family, int type) override;
Dphysicalsocketserver_unittest.cc42 AsyncSocket* CreateAsyncSocket(int type) override { in CreateAsyncSocket() function in rtc::FakePhysicalSocketServer
52 AsyncSocket* CreateAsyncSocket(int family, int type) override { in CreateAsyncSocket() function in rtc::FakePhysicalSocketServer
131 scoped_ptr<AsyncSocket> client1(server_->CreateAsyncSocket(loopback.family(), in ConnectInternalAcceptError()
137 scoped_ptr<AsyncSocket> client2(server_->CreateAsyncSocket(loopback.family(), in ConnectInternalAcceptError()
145 server_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectInternalAcceptError()
Dfirewallsocketserver.h64 AsyncSocket* CreateAsyncSocket(int type) override;
65 AsyncSocket* CreateAsyncSocket(int family, int type) override;
Dmacsocketserver.cc40 AsyncSocket* MacBaseSocketServer::CreateAsyncSocket(int type) { in CreateAsyncSocket() function in rtc::MacBaseSocketServer
41 return CreateAsyncSocket(AF_INET, type); in CreateAsyncSocket()
44 AsyncSocket* MacBaseSocketServer::CreateAsyncSocket(int family, int type) { in CreateAsyncSocket() function in rtc::MacBaseSocketServer
Dwin32socketserver.h104 virtual AsyncSocket* CreateAsyncSocket(int type);
105 virtual AsyncSocket* CreateAsyncSocket(int family, int type);
Dnat_unittest.cc182 scoped_ptr<AsyncSocket> client(pss->CreateAsyncSocket(src.family(), in TestConnectivity()
184 scoped_ptr<AsyncSocket> server(pss->CreateAsyncSocket(src.family(), in TestConnectivity()
366 server_.reset(ext_vss_->CreateAsyncSocket(SOCK_STREAM)); in TEST_F()
370 client_.reset(natsf_->CreateAsyncSocket(SOCK_STREAM)); in TEST_F()
Dproxyserver.cc23 server_socket_(int_factory->CreateAsyncSocket(int_addr.family(), in ProxyServer()
47 AsyncSocket* ext_socket = ext_factory_->CreateAsyncSocket(ext_ip_.family(), in OnAcceptEvent()
Dphysicalsocketserver.h68 AsyncSocket* CreateAsyncSocket(int type) override;
69 AsyncSocket* CreateAsyncSocket(int family, int type) override;
Dasyncudpsocket_unittest.cc28 socket_(vss_->CreateAsyncSocket(SOCK_DGRAM)), in AsyncUdpSocketTest()
Dasynctcpsocket_unittest.cc28 socket_(vss_->CreateAsyncSocket(SOCK_STREAM)), in AsyncTCPSocketTest()
Dwin32socketserver.cc740 return CreateAsyncSocket(family, type); in CreateSocket()
743 AsyncSocket* Win32SocketServer::CreateAsyncSocket(int type) { in CreateAsyncSocket() function in rtc::Win32SocketServer
744 return CreateAsyncSocket(AF_INET, type); in CreateAsyncSocket()
747 AsyncSocket* Win32SocketServer::CreateAsyncSocket(int family, int type) { in CreateAsyncSocket() function in rtc::Win32SocketServer
/external/webrtc/webrtc/p2p/base/
Dbasicpacketsocketfactory.cc52 socket_factory()->CreateAsyncSocket( in CreateUdpSocket()
78 socket_factory()->CreateAsyncSocket(local_address.family(), in CreateServerTcpSocket()
112 socket_factory()->CreateAsyncSocket(local_address.family(), SOCK_STREAM); in CreateClientTcpSocket()
Dasyncstuntcpsocket_unittest.cc79 rtc::AsyncSocket* server = vss_->CreateAsyncSocket( in CreateSockets()
86 rtc::AsyncSocket* client = vss_->CreateAsyncSocket( in CreateSockets()
Dteststunserver.h26 thread->socketserver()->CreateAsyncSocket(addr.family(), SOCK_DGRAM); in Create()
Drelayport_unittest.cc208 virtual_socket_server_->CreateAsyncSocket(SOCK_DGRAM); in CreateAsyncUdpSocket()
218 virtual_socket_server_->CreateAsyncSocket(SOCK_STREAM); in CreateServerSocket()

12