Home
last modified time | relevance | path

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

/system/core/base/
Dtest_utils.cpp112 CapturedStderr::CapturedStderr() : old_stderr_(-1) { in CapturedStderr()
130 old_stderr_ = dup(STDERR_FILENO); in init()
131 CHECK_NE(-1, old_stderr_); in init()
136 CHECK_NE(-1, dup2(old_stderr_, STDERR_FILENO)); in reset()
137 CHECK_EQ(0, close(old_stderr_)); in reset()
/system/core/base/include/android-base/
Dtest_utils.h63 int old_stderr_; variable