Searched refs:CapturedStdFd (Results 1 – 2 of 2) sorted by relevance
30 CapturedStdFd::CapturedStdFd(int std_fd) : std_fd_(std_fd), old_fd_(-1) { in CapturedStdFd() function in CapturedStdFd34 CapturedStdFd::~CapturedStdFd() { in ~CapturedStdFd()40 int CapturedStdFd::fd() const { in fd()44 std::string CapturedStdFd::str() { in str()51 void CapturedStdFd::Reset() { in Reset()58 void CapturedStdFd::Start() { in Start()69 void CapturedStdFd::Stop() { in Stop()
25 class CapturedStdFd {27 CapturedStdFd(int std_fd);28 ~CapturedStdFd();43 DISALLOW_COPY_AND_ASSIGN(CapturedStdFd);46 class CapturedStderr : public CapturedStdFd {48 CapturedStderr() : CapturedStdFd(STDERR_FILENO) {} in CapturedStderr()51 class CapturedStdout : public CapturedStdFd {53 CapturedStdout() : CapturedStdFd(STDOUT_FILENO) {} in CapturedStdout()