Searched refs:old_stdout (Results 1 – 10 of 10) sorted by relevance
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()
56 int old_stdout; member
55 static int old_stdout; variable129 old_stdout = dup(STDOUT_FILENO); in create_subpipe()130 if (old_stdout < 0) in create_subpipe()251 if (dup2(old_stdout, STDOUT_FILENO) < 0) in end_of_output_subpipe()253 close(old_stdout); in end_of_output_subpipe()
37 self.old_stdout = sys.stdout43 sys.stdout = self.old_stdout
81 old_stdout = sys.stdout100 sys.stdout = old_stdout
57 old_stdout = sys.stdout65 sys.stdout = old_stdout
151 self.old_stdout = sys.stdout178 sys.stdout = self.old_stdout269 self.old_stdout = sys.stdout288 sys.stdout = self.old_stdout300 self.old_stdout = sys.stdout315 sys.stdout = self.old_stdout
106 old_stdout = sys.stdout115 setattr(result, key, old_stdout)125 sys.stdout = old_stdout
180 old_stdout = sys.stdout196 sys.stdout = old_stdout
761 HANDLE redirected, old_stderr, old_stdout; in run_installscript() local779 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() local857 SetStdHandle(STD_OUTPUT_HANDLE, old_stdout); in run_simple_script()