Home
last modified time | relevance | path

Searched refs:old_stdout (Results 1 – 4 of 4) sorted by relevance

/external/libusb/tests/
Dtestlib.c84 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()
Dlibusb_testlib.h56 int old_stdout; member
/external/bison/djgpp/
Dsubpipe.c55 static int old_stdout; variable
129 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()
/external/antlr/antlr-3.4/runtime/Python/
Dxmlrunner.py180 old_stdout = sys.stdout
196 sys.stdout = old_stdout