Home
last modified time | relevance | path

Searched refs:accepted_socket (Results 1 – 2 of 2) sorted by relevance

/external/chromium/net/socket/
Dtcp_server_socket_unittest.cc65 scoped_ptr<ClientSocket> accepted_socket; in TEST_F() local
66 int result = socket_.Accept(&accepted_socket, &accept_callback); in TEST_F()
71 ASSERT_TRUE(accepted_socket.get() != NULL); in TEST_F()
74 EXPECT_EQ(GetPeerAddress(accepted_socket.get()).address(), in TEST_F()
83 scoped_ptr<ClientSocket> accepted_socket; in TEST_F() local
85 ASSERT_EQ(ERR_IO_PENDING, socket_.Accept(&accepted_socket, &accept_callback)); in TEST_F()
96 EXPECT_TRUE(accepted_socket != NULL); in TEST_F()
99 EXPECT_EQ(GetPeerAddress(accepted_socket.get()).address(), in TEST_F()
106 scoped_ptr<ClientSocket> accepted_socket; in TEST_F() local
109 socket_.Accept(&accepted_socket, &accept_callback)); in TEST_F()
[all …]
/external/chromium/third_party/libjingle/source/talk/p2p/base/
Drelayserver.cc574 talk_base::AsyncSocket* accepted_socket = in AcceptConnection() local
576 if (accepted_socket != NULL) { in AcceptConnection()
582 accepted_socket = new talk_base::AsyncSSLServerSocket(accepted_socket); in AcceptConnection()
585 new talk_base::AsyncTCPSocket(accepted_socket, false); in AcceptConnection()