Home
last modified time | relevance | path

Searched refs:sockfd_ (Results 1 – 14 of 14) sorted by relevance

/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-internal-inl.h1058 : sockfd_(-1), host_name_(host), port_num_(port) { in SocketWriter()
1063 if (sockfd_ != -1) in ~SocketWriter()
1069 GTEST_CHECK_(sockfd_ != -1) in Send()
1073 if (write(sockfd_, message.c_str(), len) != len) { in Send()
1086 GTEST_CHECK_(sockfd_ != -1) in CloseConnection()
1089 close(sockfd_); in CloseConnection()
1090 sockfd_ = -1; in CloseConnection()
1093 int sockfd_; // socket file descriptor variable
Dgtest.cc3782 GTEST_CHECK_(sockfd_ == -1) in MakeConnection()
3801 for (addrinfo* cur_addr = servinfo; sockfd_ == -1 && cur_addr != NULL; in MakeConnection()
3803 sockfd_ = socket( in MakeConnection()
3805 if (sockfd_ != -1) { in MakeConnection()
3807 if (connect(sockfd_, cur_addr->ai_addr, cur_addr->ai_addrlen) == -1) { in MakeConnection()
3808 close(sockfd_); in MakeConnection()
3809 sockfd_ = -1; in MakeConnection()
3816 if (sockfd_ == -1) { in MakeConnection()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/
Dgtest-internal-inl.h1058 : sockfd_(-1), host_name_(host), port_num_(port) { in SocketWriter()
1063 if (sockfd_ != -1) in ~SocketWriter()
1069 GTEST_CHECK_(sockfd_ != -1) in Send()
1073 if (write(sockfd_, message.c_str(), len) != len) { in Send()
1086 GTEST_CHECK_(sockfd_ != -1) in CloseConnection()
1089 close(sockfd_); in CloseConnection()
1090 sockfd_ = -1; in CloseConnection()
1093 int sockfd_; // socket file descriptor variable
Dgtest.cc3781 GTEST_CHECK_(sockfd_ == -1) in MakeConnection()
3800 for (addrinfo* cur_addr = servinfo; sockfd_ == -1 && cur_addr != NULL; in MakeConnection()
3802 sockfd_ = socket( in MakeConnection()
3804 if (sockfd_ != -1) { in MakeConnection()
3806 if (connect(sockfd_, cur_addr->ai_addr, cur_addr->ai_addrlen) == -1) { in MakeConnection()
3807 close(sockfd_); in MakeConnection()
3808 sockfd_ = -1; in MakeConnection()
3815 if (sockfd_ == -1) { in MakeConnection()
/external/mesa3d/src/gtest/src/
Dgtest-internal-inl.h1058 : sockfd_(-1), host_name_(host), port_num_(port) { in SocketWriter()
1063 if (sockfd_ != -1) in ~SocketWriter()
1069 GTEST_CHECK_(sockfd_ != -1) in Send()
1073 if (write(sockfd_, message.c_str(), len) != len) { in Send()
1086 GTEST_CHECK_(sockfd_ != -1) in CloseConnection()
1089 close(sockfd_); in CloseConnection()
1090 sockfd_ = -1; in CloseConnection()
1093 int sockfd_; // socket file descriptor variable
Dgtest.cc3781 GTEST_CHECK_(sockfd_ == -1) in MakeConnection()
3800 for (addrinfo* cur_addr = servinfo; sockfd_ == -1 && cur_addr != NULL; in MakeConnection()
3802 sockfd_ = socket( in MakeConnection()
3804 if (sockfd_ != -1) { in MakeConnection()
3806 if (connect(sockfd_, cur_addr->ai_addr, cur_addr->ai_addrlen) == -1) { in MakeConnection()
3807 close(sockfd_); in MakeConnection()
3808 sockfd_ = -1; in MakeConnection()
3815 if (sockfd_ == -1) { in MakeConnection()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-internal-inl.h1058 : sockfd_(-1), host_name_(host), port_num_(port) { in SocketWriter()
1063 if (sockfd_ != -1) in ~SocketWriter()
1069 GTEST_CHECK_(sockfd_ != -1) in Send()
1073 if (write(sockfd_, message.c_str(), len) != len) { in Send()
1086 GTEST_CHECK_(sockfd_ != -1) in CloseConnection()
1089 close(sockfd_); in CloseConnection()
1090 sockfd_ = -1; in CloseConnection()
1093 int sockfd_; // socket file descriptor variable
Dgtest.cc4265 GTEST_CHECK_(sockfd_ == -1) in MakeConnection()
4284 for (addrinfo* cur_addr = servinfo; sockfd_ == -1 && cur_addr != NULL; in MakeConnection()
4286 sockfd_ = socket( in MakeConnection()
4288 if (sockfd_ != -1) { in MakeConnection()
4290 if (connect(sockfd_, cur_addr->ai_addr, cur_addr->ai_addrlen) == -1) { in MakeConnection()
4291 close(sockfd_); in MakeConnection()
4292 sockfd_ = -1; in MakeConnection()
4299 if (sockfd_ == -1) { in MakeConnection()
/external/googletest/googletest/src/
Dgtest-internal-inl.h1072 : sockfd_(-1), host_name_(host), port_num_(port) { in SocketWriter()
1077 if (sockfd_ != -1) in ~SocketWriter()
1083 GTEST_CHECK_(sockfd_ != -1) in Send()
1087 if (write(sockfd_, message.c_str(), len) != len) { in Send()
1100 GTEST_CHECK_(sockfd_ != -1) in CloseConnection()
1103 close(sockfd_); in CloseConnection()
1104 sockfd_ = -1; in CloseConnection()
1107 int sockfd_; // socket file descriptor variable
Dgtest.cc4312 GTEST_CHECK_(sockfd_ == -1) in MakeConnection()
4331 for (addrinfo* cur_addr = servinfo; sockfd_ == -1 && cur_addr != nullptr; in MakeConnection()
4333 sockfd_ = socket( in MakeConnection()
4335 if (sockfd_ != -1) { in MakeConnection()
4337 if (connect(sockfd_, cur_addr->ai_addr, cur_addr->ai_addrlen) == -1) { in MakeConnection()
4338 close(sockfd_); in MakeConnection()
4339 sockfd_ = -1; in MakeConnection()
4346 if (sockfd_ == -1) { in MakeConnection()
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/
Dgtest.cc3307 : sockfd_(-1), host_name_(host), port_num_(port) { in StreamingListener()
3313 if (sockfd_ != -1) in ~StreamingListener()
3379 GTEST_CHECK_(sockfd_ != -1) in CloseConnection()
3382 close(sockfd_); in CloseConnection()
3383 sockfd_ = -1; in CloseConnection()
3388 GTEST_CHECK_(sockfd_ != -1) in Send()
3392 if (write(sockfd_, message.c_str(), len) != len) { in Send()
3399 int sockfd_; // socket file descriptor member in testing::internal::StreamingListener
3431 GTEST_CHECK_(sockfd_ == -1) in MakeConnection()
3450 for (addrinfo* cur_addr = servinfo; sockfd_ == -1 && cur_addr != NULL; in MakeConnection()
[all …]
/external/llvm/utils/unittest/googletest/src/
Dgtest.cc3308 : sockfd_(-1), host_name_(host), port_num_(port) { in StreamingListener()
3314 if (sockfd_ != -1) in ~StreamingListener()
3382 GTEST_CHECK_(sockfd_ != -1) in CloseConnection()
3385 close(sockfd_); in CloseConnection()
3386 sockfd_ = -1; in CloseConnection()
3391 GTEST_CHECK_(sockfd_ != -1) in Send()
3395 if (write(sockfd_, message.c_str(), len) != len) { in Send()
3402 int sockfd_; // socket file descriptor member in testing::internal::StreamingListener
3434 GTEST_CHECK_(sockfd_ == -1) in MakeConnection()
3453 for (addrinfo* cur_addr = servinfo; sockfd_ == -1 && cur_addr != NULL; in MakeConnection()
[all …]
/external/google-breakpad/src/testing/gtest/src/
Dgtest.cc3361 : sockfd_(-1), host_name_(host), port_num_(port) { in StreamingListener()
3367 if (sockfd_ != -1) in ~StreamingListener()
3433 GTEST_CHECK_(sockfd_ != -1) in CloseConnection()
3436 close(sockfd_); in CloseConnection()
3437 sockfd_ = -1; in CloseConnection()
3442 GTEST_CHECK_(sockfd_ != -1) in Send()
3446 if (write(sockfd_, message.c_str(), len) != len) { in Send()
3453 int sockfd_; // socket file descriptor member in testing::internal::StreamingListener
3485 GTEST_CHECK_(sockfd_ == -1) in MakeConnection()
3504 for (addrinfo* cur_addr = servinfo; sockfd_ == -1 && cur_addr != NULL; in MakeConnection()
[all …]
/external/epid-sdk/ext/gtest/
Dgtest-all.cc1465 : 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()
[all …]