Searched refs:sock_info (Results 1 – 3 of 3) sorted by relevance
308 SocketInfo sock_info; in OnConnectionComplete() local309 if (!GetSocketInfo(sock_fd_, &sock_info) || in OnConnectionComplete()310 sock_info.connection_state() != in OnConnectionComplete()322 old_transmit_queue_value_ = sock_info.transmit_queue_value(); in OnConnectionComplete()344 SocketInfo sock_info; in VerifySentData() local345 bool sock_info_found = GetSocketInfo(sock_fd_, &sock_info); in VerifySentData()351 (sock_info.connection_state() != in VerifySentData()353 sock_info.connection_state() != in VerifySentData()359 << sock_info.connection_state(); in VerifySentData()361 } else if (sock_info.transmit_queue_value() > old_transmit_queue_value_ && in VerifySentData()[all …]
259 void ExpectGetSocketInfoReturns(SocketInfo sock_info) { in ExpectGetSocketInfoReturns() argument261 info_list.push_back(sock_info); in ExpectGetSocketInfoReturns()470 SocketInfo sock_info; in TEST_F() local476 EXPECT_FALSE(health_checker_->GetSocketInfo(kProxyFD, &sock_info)); in TEST_F()484 EXPECT_FALSE(health_checker_->GetSocketInfo(kProxyFD, &sock_info)); in TEST_F()492 EXPECT_FALSE(health_checker_->GetSocketInfo(kProxyFD, &sock_info)); in TEST_F()503 EXPECT_FALSE(health_checker_->GetSocketInfo(kProxyFD, &sock_info)); in TEST_F()515 EXPECT_FALSE(health_checker_->GetSocketInfo(kProxyFD, &sock_info)); in TEST_F()528 EXPECT_TRUE(health_checker_->GetSocketInfo(kProxyFD, &sock_info)); in TEST_F()530 .IsSameSocketAs(sock_info)); in TEST_F()[all …]
187 bool GetSocketInfo(int sock_fd, SocketInfo* sock_info);