Searched refs:accept_addr (Results 1 – 6 of 6) sorted by relevance
/external/webrtc/webrtc/base/ |
D | socket_unittest.cc | 194 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 …]
|
D | physicalsocketserver_unittest.cc | 128 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()
|
D | virtualsocket_unittest.cc | 241 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/ltp/testcases/kernel/syscalls/accept4/ |
D | accept4_01.c | 38 static struct sockaddr_in *conn_addr, *accept_addr; variable 115 addrlen = sizeof(*accept_addr); in verify_accept4() 118 TEST(accept4_01(listening_fd, (struct sockaddr *)accept_addr, &addrlen, in verify_accept4() 121 TEST(accept4(listening_fd, (struct sockaddr *)accept_addr, &addrlen, in verify_accept4() 167 {&accept_addr, .size = sizeof(*accept_addr)},
|
/external/webrtc/webrtc/p2p/base/ |
D | relayserver.cc | 552 rtc::SocketAddress accept_addr; in AcceptConnection() local 554 server_socket->Accept(&accept_addr); in AcceptConnection()
|
D | turnserver.cc | 174 rtc::SocketAddress accept_addr; in AcceptConnection() local 175 rtc::AsyncSocket* accepted_socket = server_socket->Accept(&accept_addr); in AcceptConnection()
|