Searched refs:accepted_socket (Results 1 – 2 of 2) sorted by relevance
65 scoped_ptr<ClientSocket> accepted_socket; in TEST_F() local66 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() local85 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() local109 socket_.Accept(&accepted_socket, &accept_callback)); in TEST_F()[all …]
574 talk_base::AsyncSocket* accepted_socket = in AcceptConnection() local576 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()