Home
last modified time | relevance | path

Searched refs:std_fd_ (Results 1 – 2 of 2) sorted by relevance

/system/libbase/
Dtest_utils.cpp30 CapturedStdFd::CapturedStdFd(int std_fd) : std_fd_(std_fd), old_fd_(-1) { in CapturedStdFd()
62 if (std_fd_ == STDERR_FILENO) CHECK_EQ(0, setvbuf(stderr, nullptr, _IONBF, 0)); in Start()
64 old_fd_ = dup(std_fd_); in Start()
66 CHECK_NE(-1, dup2(fd(), std_fd_)); in Start()
71 CHECK_NE(-1, dup2(old_fd_, std_fd_)); in Stop()
/system/libbase/include/android-base/
Dtest_utils.h40 int std_fd_; variable