Lines Matching refs:AsyncSocket
66 AsyncSocket* CreateAsyncSocket(int family, int type) override { in CreateAsyncSocket()
75 AsyncSocket* WrapSocket(SOCKET s) override { in WrapSocket()
201 std::unique_ptr<AsyncSocket> client1( in ConnectInternalAcceptError()
204 EXPECT_EQ(AsyncSocket::CS_CLOSED, client1->GetState()); in ConnectInternalAcceptError()
207 std::unique_ptr<AsyncSocket> client2( in ConnectInternalAcceptError()
210 EXPECT_EQ(AsyncSocket::CS_CLOSED, client2->GetState()); in ConnectInternalAcceptError()
214 std::unique_ptr<AsyncSocket> server( in ConnectInternalAcceptError()
219 EXPECT_EQ(AsyncSocket::CS_CONNECTING, server->GetState()); in ConnectInternalAcceptError()
232 EXPECT_EQ(AsyncSocket::CS_CONNECTING, client1->GetState()); in ConnectInternalAcceptError()
241 std::unique_ptr<AsyncSocket> accepted(server->Accept(&accept_addr)); in ConnectInternalAcceptError()
256 EXPECT_EQ(AsyncSocket::CS_CONNECTING, client2->GetState()); in ConnectInternalAcceptError()
264 std::unique_ptr<AsyncSocket> accepted2(server->Accept(&accept_addr)); in ConnectInternalAcceptError()
471 std::unique_ptr<AsyncSocket> socket( in TEST_F()
483 std::unique_ptr<AsyncSocket> socket( in TEST_F()
497 std::unique_ptr<AsyncSocket> socket( in TEST_F()