Home
last modified time | relevance | path

Searched refs:old_stderr (Results 1 – 18 of 18) sorted by relevance

/external/crosvm/src/
Dpanic_hook.rs21 let old_stderr = dup(STDERR_FILENO); in redirect_stderr() localVariable
22 if old_stderr == -1 { in redirect_stderr()
42 File::from_raw_descriptor(old_stderr), in redirect_stderr()
65 let (mut read_file, old_stderr) = match redirect_stderr() { in log_panic_info()
79 if !restore_stderr(old_stderr) { in log_panic_info()
/external/python/apitools/apitools/gen/
Dtest_utils.py50 old_stdout, old_stderr = sys.stdout, sys.stderr
55 sys.stdout, sys.stderr = old_stdout, old_stderr
/external/bcc/tools/
Drunqlen.py96 old_stderr = dup(2)
110 dup(old_stderr)
111 close(old_stderr)
/external/python/cpython3/Lib/test/libregrtest/
Dutils.py75 old_stderr = sys.stderr
80 sys.stderr = old_stderr
/external/python/setuptools/setuptools/tests/
Dcontexts.py60 old_stderr = sys.stderr
69 sys.stderr = old_stderr
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/ctypes/test/
Dtest_random_things.py40 old_stderr = sys.stderr
45 sys.stderr = old_stderr
/external/python/cffi/testing/
Dsupport.py30 self.old_stderr = sys.stderr
34 sys.stderr = self.old_stderr
/external/antlr/runtime/Python/
Dxmlrunner.py181 old_stderr = sys.stderr
197 sys.stderr = old_stderr
/external/python/cpython3/Lib/test/
Dtest_support.py433 old_stderr = sys.__stderr__
438 sys.__stderr__ = old_stderr
639 old_stderr = sys.__stderr__
644 sys.__stderr__ = old_stderr
Dtest_argparse.py92 old_stderr = sys.stderr
102 setattr(result, key, old_stderr)
112 sys.stderr = old_stderr
/external/python/cffi/testing/cffi0/
Dtest_function.py228 old_stderr = sys.stderr
234 sys.stderr = old_stderr
/external/python/cpython2/PC/bdist_wininst/
Dinstall.c761 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/PC/bdist_wininst/
Dinstall.c802 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/cpython3/Lib/unittest/test/
Dtest_runner.py996 old_stderr = sys.stderr
1003 sys.stderr = old_stderr
/external/python/cpython2/Lib/test/
Dtest_argparse.py107 old_stderr = sys.stderr
117 setattr(result, key, old_stderr)
126 sys.stderr = old_stderr
/external/python/cpython2/Lib/email/test/
Dtest_email.py248 old_stderr = sys.stderr
254 sys.stderr = old_stderr