Home
last modified time | relevance | path

Searched refs:old_stdout (Results 1 – 21 of 21) 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/python/apitools/apitools/gen/
Dtest_utils.py53 old_stdout, old_stderr = sys.stdout, sys.stderr
58 sys.stdout, sys.stderr = old_stdout, old_stderr
/external/yapf/yapftests/
Dutils.py26 old_stdout = sys.stdout
31 sys.stdout = old_stdout
/external/freetype/src/tools/docmaker/
Dutils.py59 old_stdout = sys.stdout
63 return ( new_file, old_stdout )
/external/v8/tools/
Dgdb-v8-support.py209 old_stdout = gdb.execute("p dup(1)", to_string=True).split("=")[-1].strip()
231 gdb.execute("p dup2(%s, 1)" % old_stdout, to_string=True)
236 gdb.execute("p close(%s)" % old_stdout, to_string=True)
/external/python/setuptools/setuptools/tests/
Dcontexts.py59 old_stdout = sys.stdout
68 sys.stdout = old_stdout
Dtest_sdist.py43 old_stdout, old_stderr = sys.stdout, sys.stderr
48 sys.stdout, sys.stderr = old_stdout, old_stderr
Dtest_manifest.py44 old_stdout, old_stderr = sys.stdout, sys.stderr
49 sys.stdout, sys.stderr = old_stdout, old_stderr
/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.py58 old_stdout = sys.stdout
66 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
317 sys.stdout = self.old_stdout
Dtest_argparse.py106 old_stdout = sys.stdout
115 setattr(result, key, old_stdout)
125 sys.stdout = old_stdout
/external/python/cpython3/Lib/distutils/tests/
Dtest_core.py52 self.old_stdout = sys.stdout
58 sys.stdout = self.old_stdout
Dtest_build_ext.py76 old_stdout = sys.stdout
84 sys.stdout = old_stdout
494 old_stdout = sys.stdout
502 sys.stdout = old_stdout
/external/antlr/runtime/Python/
Dxmlrunner.py180 old_stdout = sys.stdout
196 sys.stdout = old_stdout
/external/python/cpython3/Lib/test/
Dtest_smtplib.py199 self.old_stdout = sys.stdout
229 sys.stdout = self.old_stdout
615 self.old_stdout = sys.stdout
622 sys.stdout = self.old_stdout
633 self.old_stdout = sys.stdout
650 sys.stdout = self.old_stdout
Dtest_argparse.py92 old_stdout = sys.stdout
101 setattr(result, key, old_stdout)
111 sys.stdout = old_stdout
/external/python/cpython3/PC/bdist_wininst/
Dinstall.c803 HANDLE redirected, old_stderr, old_stdout; in run_installscript() local
821 old_stdout = GetStdHandle(STD_OUTPUT_HANDLE); in run_installscript()
833 SetStdHandle(STD_OUTPUT_HANDLE, old_stdout); in run_installscript()
887 HANDLE old_stdout = GetStdHandle(STD_OUTPUT_HANDLE); in run_simple_script() local
901 SetStdHandle(STD_OUTPUT_HANDLE, old_stdout); in run_simple_script()
/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()