/external/crosvm/src/ |
D | panic_hook.rs | 22 let old_stderr = dup(STDERR_FILENO); in redirect_stderr() localVariable 23 if old_stderr == -1 { in redirect_stderr() 41 Some((File::from_raw_fd(fds[0]), File::from_raw_fd(old_stderr))) in redirect_stderr() 62 let (mut read_file, old_stderr) = match redirect_stderr() { in log_panic_info() 76 if !restore_stderr(old_stderr) { in log_panic_info()
|
/external/libusb/tests/ |
D | testlib.c | 88 if (ctx->old_stderr != INVALID_FD) { in cleanup_test_output() 89 IGNORE_RETVAL(dup2(ctx->old_stderr, STDERR_FILENO)); in cleanup_test_output() 90 ctx->old_stderr = INVALID_FD; in cleanup_test_output() 120 ctx->old_stderr = dup(STDERR_FILENO); in setup_test_output() 121 if (ctx->old_stderr < 0) { in setup_test_output() 122 ctx->old_stderr = INVALID_FD; in setup_test_output() 184 ctx.old_stderr = INVALID_FD; in libusb_testlib_run_tests()
|
D | libusb_testlib.h | 57 int old_stderr; member
|
/external/python/apitools/apitools/gen/ |
D | test_utils.py | 50 old_stdout, old_stderr = sys.stdout, sys.stderr 55 sys.stdout, sys.stderr = old_stdout, old_stderr
|
/external/bcc/tools/ |
D | runqlen.py | 96 old_stderr = dup(2) 110 dup(old_stderr) 111 close(old_stderr)
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_random_things.py | 40 old_stderr = sys.stderr 45 sys.stderr = old_stderr
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_random_things.py | 40 old_stderr = sys.stderr 45 sys.stderr = old_stderr
|
/external/python/setuptools/setuptools/tests/ |
D | contexts.py | 60 old_stderr = sys.stderr 69 sys.stderr = old_stderr
|
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/cffi/testing/ |
D | support.py | 30 self.old_stderr = sys.stderr 34 sys.stderr = self.old_stderr
|
/external/antlr/runtime/Python/ |
D | xmlrunner.py | 181 old_stderr = sys.stderr 197 sys.stderr = old_stderr
|
/external/python/cffi/testing/cffi0/ |
D | test_function.py | 228 old_stderr = sys.stderr 234 sys.stderr = old_stderr
|
/external/python/cpython3/PC/bdist_wininst/ |
D | install.c | 802 HANDLE redirected, old_stderr, old_stdout; in run_installscript() local 821 old_stderr = GetStdHandle(STD_ERROR_HANDLE); in run_installscript() 833 SetStdHandle(STD_ERROR_HANDLE, old_stderr); in run_installscript() 887 HANDLE old_stderr = GetStdHandle(STD_ERROR_HANDLE); in run_simple_script() local 901 SetStdHandle(STD_ERROR_HANDLE, old_stderr); in run_simple_script()
|
/external/python/cpython2/PC/bdist_wininst/ |
D | install.c | 761 HANDLE redirected, old_stderr, old_stdout; in run_installscript() local 780 old_stderr = GetStdHandle(STD_ERROR_HANDLE); in run_installscript() 792 SetStdHandle(STD_ERROR_HANDLE, old_stderr); in run_installscript() 844 HANDLE old_stderr = GetStdHandle(STD_ERROR_HANDLE); in run_simple_script() local 858 SetStdHandle(STD_ERROR_HANDLE, old_stderr); in run_simple_script()
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_runner.py | 997 old_stderr = sys.stderr 1004 sys.stderr = old_stderr
|
/external/python/cpython2/Lib/test/ |
D | test_argparse.py | 107 old_stderr = sys.stderr 117 setattr(result, key, old_stderr) 126 sys.stderr = old_stderr
|
/external/python/cpython3/Lib/test/ |
D | test_argparse.py | 92 old_stderr = sys.stderr 102 setattr(result, key, old_stderr) 111 sys.stderr = old_stderr
|
/external/python/cpython2/Lib/email/test/ |
D | test_email.py | 248 old_stderr = sys.stderr 254 sys.stderr = old_stderr
|