Lines Matching refs:stdout_saved
58 stdout = env.stdout_saved; in stdio_hijack_init()
64 env.subtest_state->stdout_saved = stdout; in stdio_hijack_init()
66 env.test_state->stdout_saved = stdout; in stdio_hijack_init()
80 env.stdout_saved = stdout; in stdio_hijack()
98 fclose(env.subtest_state->stdout_saved); in stdio_restore_cleanup()
99 env.subtest_state->stdout_saved = NULL; in stdio_restore_cleanup()
100 stdout = env.test_state->stdout_saved; in stdio_restore_cleanup()
101 stderr = env.test_state->stdout_saved; in stdio_restore_cleanup()
103 fclose(env.test_state->stdout_saved); in stdio_restore_cleanup()
104 env.test_state->stdout_saved = NULL; in stdio_restore_cleanup()
117 if (stdout == env.stdout_saved) in stdio_restore()
122 stdout = env.stdout_saved; in stdio_restore()
265 fprintf(env.stdout_saved, "#%-*d %s:", TEST_NUM_WIDTH, test->test_num, test->test_name); in print_test_result()
267 fprintf(env.stdout_saved, "FAIL"); in print_test_result()
269 fprintf(env.stdout_saved, "OK"); in print_test_result()
271 fprintf(env.stdout_saved, "SKIP"); in print_test_result()
273 fprintf(env.stdout_saved, "OK (SKIP: %d/%d)", skipped_cnt, subtests_cnt); in print_test_result()
275 fprintf(env.stdout_saved, "\n"); in print_test_result()
281 fprintf(env.stdout_saved, "%s", log_buf); in print_test_log()
283 fprintf(env.stdout_saved, "\n"); in print_test_log()
294 fprintf(env.stdout_saved, "#%-*s %s/%s", in print_subtest_name()
299 fprintf(env.stdout_saved, ":%s", result); in print_subtest_name()
301 fprintf(env.stdout_saved, "\n"); in print_subtest_name()
1172 if (env.stdout_saved) in crash_handler()
1837 env.stdout_saved = stdout; in main()
1926 fprintf(env.stdout_saved, "%s\n", test->test_name); in main()