Home
last modified time | relevance | path

Searched refs:accept_addr (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/base/
Dsocket_unittest.cc194 SocketAddress accept_addr; in ConnectInternal() local
213 EXPECT_TRUE(NULL == server->Accept(&accept_addr)); in ConnectInternal()
214 EXPECT_TRUE(accept_addr.IsNil()); in ConnectInternal()
228 scoped_ptr<AsyncSocket> accepted(server->Accept(&accept_addr)); in ConnectInternal()
230 EXPECT_FALSE(accept_addr.IsNil()); in ConnectInternal()
231 EXPECT_EQ(accepted->GetRemoteAddress(), accept_addr); in ConnectInternal()
249 SocketAddress accept_addr; in ConnectWithDnsLookupInternal() local
277 scoped_ptr<AsyncSocket> accepted(server->Accept(&accept_addr)); in ConnectWithDnsLookupInternal()
279 EXPECT_FALSE(accept_addr.IsNil()); in ConnectWithDnsLookupInternal()
280 EXPECT_EQ(accepted->GetRemoteAddress(), accept_addr); in ConnectWithDnsLookupInternal()
[all …]
Dphysicalsocketserver_unittest.cc128 SocketAddress accept_addr; in ConnectInternalAcceptError() local
153 EXPECT_TRUE(nullptr == server->Accept(&accept_addr)); in ConnectInternalAcceptError()
154 EXPECT_TRUE(accept_addr.IsNil()); in ConnectInternalAcceptError()
170 scoped_ptr<AsyncSocket> accepted(server->Accept(&accept_addr)); in ConnectInternalAcceptError()
172 ASSERT_TRUE(accept_addr.IsNil()); in ConnectInternalAcceptError()
176 EXPECT_TRUE(nullptr == server->Accept(&accept_addr)); in ConnectInternalAcceptError()
177 EXPECT_TRUE(accept_addr.IsNil()); in ConnectInternalAcceptError()
192 scoped_ptr<AsyncSocket> accepted2(server->Accept(&accept_addr)); in ConnectInternalAcceptError()
194 EXPECT_FALSE(accept_addr.IsNil()); in ConnectInternalAcceptError()
195 EXPECT_EQ(accepted2->GetRemoteAddress(), accept_addr); in ConnectInternalAcceptError()
Dvirtualsocket_unittest.cc241 SocketAddress accept_addr; in ConnectTest() local
264 EXPECT_TRUE(NULL == server->Accept(&accept_addr)); in ConnectTest()
265 EXPECT_EQ(AF_UNSPEC, accept_addr.family()); in ConnectTest()
287 Socket* accepted = server->Accept(&accept_addr); in ConnectTest()
289 EXPECT_NE(accept_addr, kEmptyAddr); in ConnectTest()
290 EXPECT_EQ(accepted->GetRemoteAddress(), accept_addr); in ConnectTest()
308 SocketAddress accept_addr; in ConnectToNonListenerTest() local
331 EXPECT_TRUE(NULL == server->Accept(&accept_addr)); in ConnectToNonListenerTest()
332 EXPECT_EQ(accept_addr, nil_addr); in ConnectToNonListenerTest()
343 SocketAddress accept_addr; in CloseDuringConnectTest() local
[all …]
/external/webrtc/webrtc/p2p/base/
Drelayserver.cc552 rtc::SocketAddress accept_addr; in AcceptConnection() local
554 server_socket->Accept(&accept_addr); in AcceptConnection()
Dturnserver.cc174 rtc::SocketAddress accept_addr; in AcceptConnection() local
175 rtc::AsyncSocket* accepted_socket = server_socket->Accept(&accept_addr); in AcceptConnection()