Home
last modified time | relevance | path

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

/external/gtest/src/
Dgtest-internal-inl.h1093 : sockfd_(-1), host_name_(host), port_num_(port) { in SocketWriter()
1098 if (sockfd_ != -1) in ~SocketWriter()
1104 GTEST_CHECK_(sockfd_ != -1) in Send()
1108 if (write(sockfd_, message.c_str(), len) != len) { in Send()
1121 GTEST_CHECK_(sockfd_ != -1) in CloseConnection()
1124 close(sockfd_); in CloseConnection()
1125 sockfd_ = -1; in CloseConnection()
1128 int sockfd_; // socket file descriptor variable
Dgtest.cc3439 GTEST_CHECK_(sockfd_ == -1) in MakeConnection()
3458 for (addrinfo* cur_addr = servinfo; sockfd_ == -1 && cur_addr != NULL; in MakeConnection()
3460 sockfd_ = socket( in MakeConnection()
3462 if (sockfd_ != -1) { in MakeConnection()
3464 if (connect(sockfd_, cur_addr->ai_addr, cur_addr->ai_addrlen) == -1) { in MakeConnection()
3465 close(sockfd_); in MakeConnection()
3466 sockfd_ = -1; in MakeConnection()
3473 if (sockfd_ == -1) { in MakeConnection()
/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/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/mesa3d/src/gtest/src/
Dgtest.cc3336 : sockfd_(-1), host_name_(host), port_num_(port) { in StreamingListener()
3342 if (sockfd_ != -1) in ~StreamingListener()
3408 GTEST_CHECK_(sockfd_ != -1) in CloseConnection()
3411 close(sockfd_); in CloseConnection()
3412 sockfd_ = -1; in CloseConnection()
3417 GTEST_CHECK_(sockfd_ != -1) in Send()
3421 if (write(sockfd_, message.c_str(), len) != len) { in Send()
3428 int sockfd_; // socket file descriptor member in testing::internal::StreamingListener
3460 GTEST_CHECK_(sockfd_ == -1) in MakeConnection()
3479 for (addrinfo* cur_addr = servinfo; sockfd_ == -1 && cur_addr != NULL; in MakeConnection()
[all …]
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-all.cc1494 : sockfd_(-1), host_name_(host), port_num_(port) { in SocketWriter()
1499 if (sockfd_ != -1) in ~SocketWriter()
1505 GTEST_CHECK_(sockfd_ != -1) in Send()
1509 if (write(sockfd_, message.c_str(), len) != len) { in Send()
1522 GTEST_CHECK_(sockfd_ != -1) in CloseConnection()
1525 close(sockfd_); in CloseConnection()
1526 sockfd_ = -1; in CloseConnection()
1529 int sockfd_; // socket file descriptor member in testing::internal::StreamingListener::SocketWriter
4923 GTEST_CHECK_(sockfd_ == -1) in MakeConnection()
4942 for (addrinfo* cur_addr = servinfo; sockfd_ == -1 && cur_addr != NULL; in MakeConnection()
[all …]