Searched refs:old_stderr (Results 1 – 7 of 7) sorted by relevance
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()
57 int old_stderr; member
40 old_stderr = sys.stderr45 sys.stderr = old_stderr
181 old_stderr = sys.stderr197 sys.stderr = old_stderr
761 HANDLE redirected, old_stderr, old_stdout; in run_installscript() local780 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() local858 SetStdHandle(STD_ERROR_HANDLE, old_stderr); in run_simple_script()
107 old_stderr = sys.stderr117 setattr(result, key, old_stderr)126 sys.stderr = old_stderr
248 old_stderr = sys.stderr254 sys.stderr = old_stderr