Lines Matching refs:GetLocalAddress

240   EXPECT_TRUE(IsUnspecOrEmptyIP(client->GetLocalAddress().ipaddr()));  in ConnectInternal()
256 EXPECT_EQ(0, client->Connect(server->GetLocalAddress())); in ConnectInternal()
257 EXPECT_FALSE(client->GetLocalAddress().IsNil()); in ConnectInternal()
258 EXPECT_NE(server->GetLocalAddress(), client->GetLocalAddress()); in ConnectInternal()
274 EXPECT_EQ(server->GetLocalAddress(), accepted->GetLocalAddress()); in ConnectInternal()
275 EXPECT_EQ(client->GetLocalAddress(), accepted->GetRemoteAddress()); in ConnectInternal()
281 EXPECT_EQ(client->GetRemoteAddress(), server->GetLocalAddress()); in ConnectInternal()
282 EXPECT_EQ(client->GetRemoteAddress(), accepted->GetLocalAddress()); in ConnectInternal()
303 SocketAddress dns_addr(server->GetLocalAddress()); in ConnectWithDnsLookupInternal()
323 EXPECT_EQ(server->GetLocalAddress(), accepted->GetLocalAddress()); in ConnectWithDnsLookupInternal()
324 EXPECT_EQ(client->GetLocalAddress(), accepted->GetRemoteAddress()); in ConnectWithDnsLookupInternal()
330 EXPECT_EQ(client->GetRemoteAddress(), server->GetLocalAddress()); in ConnectWithDnsLookupInternal()
331 EXPECT_EQ(client->GetRemoteAddress(), accepted->GetLocalAddress()); in ConnectWithDnsLookupInternal()
422 EXPECT_EQ(0, client->Connect(SocketAddress(server->GetLocalAddress()))); in ConnectWithClosedSocketInternal()
437 EXPECT_EQ(0, client->Connect(SocketAddress(server->GetLocalAddress()))); in ConnectWhileNotClosedInternal()
441 client->Connect(SocketAddress(server->GetLocalAddress()))); in ConnectWhileNotClosedInternal()
452 EXPECT_EQ(server->GetLocalAddress(), accepted->GetLocalAddress()); in ConnectWhileNotClosedInternal()
453 EXPECT_EQ(client->GetLocalAddress(), accepted->GetRemoteAddress()); in ConnectWhileNotClosedInternal()
455 EXPECT_EQ(client->GetRemoteAddress(), server->GetLocalAddress()); in ConnectWhileNotClosedInternal()
456 EXPECT_EQ(client->GetRemoteAddress(), accepted->GetLocalAddress()); in ConnectWhileNotClosedInternal()
461 "localhost", server->GetLocalAddress().port()))); in ConnectWhileNotClosedInternal()
464 EXPECT_EQ(client->GetRemoteAddress(), server->GetLocalAddress()); in ConnectWhileNotClosedInternal()
465 EXPECT_EQ(client->GetRemoteAddress(), accepted->GetLocalAddress()); in ConnectWhileNotClosedInternal()
484 EXPECT_EQ(0, client->Connect(server->GetLocalAddress())); in ServerCloseDuringConnectInternal()
513 EXPECT_EQ(0, client->Connect(server->GetLocalAddress())); in ClientCloseDuringConnectInternal()
551 EXPECT_EQ(0, client->Connect(server->GetLocalAddress())); in ServerCloseInternal()
562 EXPECT_EQ(client->GetRemoteAddress(), accepted->GetLocalAddress()); in ServerCloseInternal()
563 EXPECT_EQ(accepted->GetRemoteAddress(), client->GetLocalAddress()); in ServerCloseInternal()
626 EXPECT_EQ(0, client->Connect(server->GetLocalAddress())); in CloseInClosedCallbackInternal()
637 EXPECT_EQ(client->GetRemoteAddress(), accepted->GetLocalAddress()); in CloseInClosedCallbackInternal()
638 EXPECT_EQ(accepted->GetRemoteAddress(), client->GetLocalAddress()); in CloseInClosedCallbackInternal()
673 EXPECT_EQ(0, client->Connect(server->GetLocalAddress())); in SocketServerWaitInternal()
680 EXPECT_EQ(server->GetLocalAddress(), accepted->GetLocalAddress()); in SocketServerWaitInternal()
681 EXPECT_EQ(client->GetLocalAddress(), accepted->GetRemoteAddress()); in SocketServerWaitInternal()
686 EXPECT_EQ(client->GetRemoteAddress(), server->GetLocalAddress()); in SocketServerWaitInternal()
687 EXPECT_EQ(client->GetRemoteAddress(), accepted->GetLocalAddress()); in SocketServerWaitInternal()
728 EXPECT_EQ(0, receiver->Connect(server->GetLocalAddress())); in TcpInternal()
739 EXPECT_EQ(receiver->GetRemoteAddress(), sender->GetLocalAddress()); in TcpInternal()
740 EXPECT_EQ(sender->GetRemoteAddress(), receiver->GetLocalAddress()); in TcpInternal()
854 EXPECT_EQ(0, client->Connect(server->GetLocalAddress())); in SingleFlowControlCallbackInternal()
865 EXPECT_EQ(client->GetRemoteAddress(), accepted->GetLocalAddress()); in SingleFlowControlCallbackInternal()
866 EXPECT_EQ(accepted->GetRemoteAddress(), client->GetLocalAddress()); in SingleFlowControlCallbackInternal()
912 SocketAddress addr1 = socket->GetLocalAddress(); in UdpInternal()
1045 SocketAddress address = socket->GetLocalAddress(); in SocketRecvTimestamp()