Lines Matching refs:sockfd_
1465 : sockfd_(-1), host_name_(host), port_num_(port) { in SocketWriter()
1470 if (sockfd_ != -1) in ~SocketWriter()
1476 GTEST_CHECK_(sockfd_ != -1) in Send()
1480 if (write(sockfd_, message.c_str(), len) != len) { in Send()
1493 GTEST_CHECK_(sockfd_ != -1) in CloseConnection()
1496 close(sockfd_); in CloseConnection()
1497 sockfd_ = -1; in CloseConnection()
1500 int sockfd_; // socket file descriptor member in testing::internal::StreamingListener::SocketWriter
5233 GTEST_CHECK_(sockfd_ == -1) in MakeConnection()
5252 for (addrinfo* cur_addr = servinfo; sockfd_ == -1 && cur_addr != NULL; in MakeConnection()
5254 sockfd_ = socket( in MakeConnection()
5256 if (sockfd_ != -1) { in MakeConnection()
5258 if (connect(sockfd_, cur_addr->ai_addr, cur_addr->ai_addrlen) == -1) { in MakeConnection()
5259 close(sockfd_); in MakeConnection()
5260 sockfd_ = -1; in MakeConnection()
5267 if (sockfd_ == -1) { in MakeConnection()