Home
last modified time | relevance | path

Searched refs:old_stdout (Results 1 – 10 of 10) sorted by relevance

/external/libusb/tests/
Dtestlib.c84 if (ctx->old_stdout != INVALID_FD) { in cleanup_test_output()
85 IGNORE_RETVAL(dup2(ctx->old_stdout, STDOUT_FILENO)); in cleanup_test_output()
86 ctx->old_stdout = INVALID_FD; in cleanup_test_output()
114 ctx->old_stdout = dup(STDOUT_FILENO); in setup_test_output()
115 if (ctx->old_stdout < 0) { in setup_test_output()
116 ctx->old_stdout = INVALID_FD; in setup_test_output()
140 ctx->output_file = fdopen(ctx->old_stdout, "w"); in setup_test_output()
183 ctx.old_stdout = INVALID_FD; in libusb_testlib_run_tests()
Dlibusb_testlib.h56 int old_stdout; member
/external/bison/djgpp/
Dsubpipe.c55 static int old_stdout; variable
129 old_stdout = dup(STDOUT_FILENO); in create_subpipe()
130 if (old_stdout < 0) in create_subpipe()
251 if (dup2(old_stdout, STDOUT_FILENO) < 0) in end_of_output_subpipe()
253 close(old_stdout); in end_of_output_subpipe()
/external/python/cpython2/Lib/distutils/tests/
Dtest_core.py37 self.old_stdout = sys.stdout
43 sys.stdout = self.old_stdout
Dtest_build_py.py81 old_stdout = sys.stdout
100 sys.stdout = old_stdout
Dtest_build_ext.py57 old_stdout = sys.stdout
65 sys.stdout = old_stdout
/external/python/cpython2/Lib/test/
Dtest_smtplib.py151 self.old_stdout = sys.stdout
178 sys.stdout = self.old_stdout
269 self.old_stdout = sys.stdout
288 sys.stdout = self.old_stdout
300 self.old_stdout = sys.stdout
315 sys.stdout = self.old_stdout
Dtest_argparse.py106 old_stdout = sys.stdout
115 setattr(result, key, old_stdout)
125 sys.stdout = old_stdout
/external/antlr/antlr-3.4/runtime/Python/
Dxmlrunner.py180 old_stdout = sys.stdout
196 sys.stdout = old_stdout
/external/python/cpython2/PC/bdist_wininst/
Dinstall.c761 HANDLE redirected, old_stderr, old_stdout; in run_installscript() local
779 old_stdout = GetStdHandle(STD_OUTPUT_HANDLE); in run_installscript()
791 SetStdHandle(STD_OUTPUT_HANDLE, old_stdout); in run_installscript()
843 HANDLE old_stdout = GetStdHandle(STD_OUTPUT_HANDLE); in run_simple_script() local
857 SetStdHandle(STD_OUTPUT_HANDLE, old_stdout); in run_simple_script()