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/lldb/tools/debugserver/source/ |
D | RNBSocket.cpp | 150 struct sockaddr_in accept_addr; in Listen() local 151 ::memset (&accept_addr, 0, sizeof accept_addr); in Listen() 152 accept_addr.sin_len = sizeof accept_addr; in Listen() 159 socklen_t accept_addr_len = sizeof accept_addr; in Listen() 160 m_fd = ::accept (listen_fd, (struct sockaddr *)&accept_addr, &accept_addr_len); in Listen() 166 …::accept ( socket = %i, address = %p, address_len = %u )", listen_fd, &accept_addr, accept_addr_le… in Listen() 176 accept_addr.sin_addr.s_addr == listen_addr.sin_addr.s_addr) in Listen() 184 const uint8_t *accept_ip = (const uint8_t *)&accept_addr.sin_addr.s_addr; in Listen()
|
/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()
|