/external/libusb/tests/ |
D | testlib.c | 84 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()
|
D | libusb_testlib.h | 56 int old_stdout; member
|
/external/python/apitools/apitools/gen/ |
D | test_utils.py | 53 old_stdout, old_stderr = sys.stdout, sys.stderr 58 sys.stdout, sys.stderr = old_stdout, old_stderr
|
/external/yapf/yapftests/ |
D | utils.py | 26 old_stdout = sys.stdout 31 sys.stdout = old_stdout
|
/external/freetype/src/tools/docmaker/ |
D | utils.py | 59 old_stdout = sys.stdout 63 return ( new_file, old_stdout )
|
/external/v8/tools/ |
D | gdb-v8-support.py | 209 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/ |
D | contexts.py | 59 old_stdout = sys.stdout 68 sys.stdout = old_stdout
|
D | test_sdist.py | 43 old_stdout, old_stderr = sys.stdout, sys.stderr 48 sys.stdout, sys.stderr = old_stdout, old_stderr
|
D | test_manifest.py | 44 old_stdout, old_stderr = sys.stdout, sys.stderr 49 sys.stdout, sys.stderr = old_stdout, old_stderr
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_core.py | 37 self.old_stdout = sys.stdout 43 sys.stdout = self.old_stdout
|
D | test_build_py.py | 81 old_stdout = sys.stdout 100 sys.stdout = old_stdout
|
D | test_build_ext.py | 58 old_stdout = sys.stdout 66 sys.stdout = old_stdout
|
/external/python/cpython2/Lib/test/ |
D | test_smtplib.py | 151 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
|
D | test_argparse.py | 106 old_stdout = sys.stdout 115 setattr(result, key, old_stdout) 125 sys.stdout = old_stdout
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_core.py | 52 self.old_stdout = sys.stdout 58 sys.stdout = self.old_stdout
|
D | test_build_ext.py | 76 old_stdout = sys.stdout 84 sys.stdout = old_stdout 494 old_stdout = sys.stdout 502 sys.stdout = old_stdout
|
/external/antlr/runtime/Python/ |
D | xmlrunner.py | 180 old_stdout = sys.stdout 196 sys.stdout = old_stdout
|
/external/python/cpython3/Lib/test/ |
D | test_smtplib.py | 199 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
|
D | test_argparse.py | 92 old_stdout = sys.stdout 101 setattr(result, key, old_stdout) 111 sys.stdout = old_stdout
|
/external/python/cpython3/PC/bdist_wininst/ |
D | install.c | 803 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/ |
D | install.c | 761 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()
|