Home
last modified time | relevance | path

Searched refs:uncaptured_fd_ (Results 1 – 7 of 7) sorted by relevance

/external/protobuf/gtest/src/
Dgtest-port.cc457 CapturedStream(int fd) : fd_(fd), uncaptured_fd_(dup(fd)) { in CapturedStream()
491 if (uncaptured_fd_ != -1) { in GetCapturedString()
494 dup2(uncaptured_fd_, fd_); in GetCapturedString()
495 close(uncaptured_fd_); in GetCapturedString()
496 uncaptured_fd_ = -1; in GetCapturedString()
513 int uncaptured_fd_; member in testing::internal::CapturedStream
/external/llvm/utils/unittest/googletest/src/
Dgtest-port.cc491 CapturedStream(int fd) : fd_(fd), uncaptured_fd_(dup(fd)) { in CapturedStream()
530 if (uncaptured_fd_ != -1) { in GetCapturedString()
533 dup2(uncaptured_fd_, fd_); in GetCapturedString()
534 close(uncaptured_fd_); in GetCapturedString()
535 uncaptured_fd_ = -1; in GetCapturedString()
552 int uncaptured_fd_; member in testing::internal::CapturedStream
/external/mesa3d/src/gtest/src/
Dgtest-port.cc491 CapturedStream(int fd) : fd_(fd), uncaptured_fd_(dup(fd)) { in CapturedStream()
526 if (uncaptured_fd_ != -1) { in GetCapturedString()
529 dup2(uncaptured_fd_, fd_); in GetCapturedString()
530 close(uncaptured_fd_); in GetCapturedString()
531 uncaptured_fd_ = -1; in GetCapturedString()
548 int uncaptured_fd_; member in testing::internal::CapturedStream
/external/google-breakpad/src/testing/gtest/src/
Dgtest-port.cc516 CapturedStream(int fd) : fd_(fd), uncaptured_fd_(dup(fd)) { in CapturedStream()
555 if (uncaptured_fd_ != -1) { in GetCapturedString()
558 dup2(uncaptured_fd_, fd_); in GetCapturedString()
559 close(uncaptured_fd_); in GetCapturedString()
560 uncaptured_fd_ = -1; in GetCapturedString()
577 int uncaptured_fd_; member in testing::internal::CapturedStream
/external/gtest/src/
Dgtest-port.cc517 explicit CapturedStream(int fd) : fd_(fd), uncaptured_fd_(dup(fd)) { in CapturedStream()
573 if (uncaptured_fd_ != -1) { in GetCapturedString()
576 dup2(uncaptured_fd_, fd_); in GetCapturedString()
577 close(uncaptured_fd_); in GetCapturedString()
578 uncaptured_fd_ = -1; in GetCapturedString()
600 int uncaptured_fd_; member in testing::internal::CapturedStream
/external/protobuf/gtest/fused-src/gtest/
Dgtest-all.cc8040 CapturedStream(int fd) : fd_(fd), uncaptured_fd_(dup(fd)) { in CapturedStream()
8074 if (uncaptured_fd_ != -1) { in GetCapturedString()
8077 dup2(uncaptured_fd_, fd_); in GetCapturedString()
8078 close(uncaptured_fd_); in GetCapturedString()
8079 uncaptured_fd_ = -1; in GetCapturedString()
8096 int uncaptured_fd_; member in testing::internal::CapturedStream
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-all.cc8724 explicit CapturedStream(int fd) : fd_(fd), uncaptured_fd_(dup(fd)) { in CapturedStream()
8777 if (uncaptured_fd_ != -1) { in GetCapturedString()
8780 dup2(uncaptured_fd_, fd_); in GetCapturedString()
8781 close(uncaptured_fd_); in GetCapturedString()
8782 uncaptured_fd_ = -1; in GetCapturedString()
8799 int uncaptured_fd_; member in testing::internal::CapturedStream