Lines Matching refs:stdout
34 fflush(stdout); in stdio_hijack_init()
37 stdout = open_memstream(log_buf, log_cnt); in stdio_hijack_init()
38 if (!stdout) { in stdio_hijack_init()
39 stdout = env.stdout; in stdio_hijack_init()
45 env.subtest_state->stdout = stdout; in stdio_hijack_init()
47 env.test_state->stdout = stdout; in stdio_hijack_init()
49 stderr = stdout; in stdio_hijack_init()
61 env.stdout = stdout; in stdio_hijack()
76 fflush(stdout); in stdio_restore_cleanup()
79 fclose(env.subtest_state->stdout); in stdio_restore_cleanup()
80 env.subtest_state->stdout = NULL; in stdio_restore_cleanup()
81 stdout = env.test_state->stdout; in stdio_restore_cleanup()
82 stderr = env.test_state->stdout; in stdio_restore_cleanup()
84 fclose(env.test_state->stdout); in stdio_restore_cleanup()
85 env.test_state->stdout = NULL; in stdio_restore_cleanup()
98 if (stdout == env.stdout) in stdio_restore()
103 stdout = env.stdout; in stdio_restore()
228 fprintf(env.stdout, "%s", log_buf); in print_test_log()
230 fprintf(env.stdout, "\n"); in print_test_log()
237 fprintf(env.stdout, "#%-*d %s", TEST_NUM_WIDTH, test_num, test_name); in print_test_name()
240 fprintf(env.stdout, ":%s", result); in print_test_name()
242 fprintf(env.stdout, "\n"); in print_test_name()
253 fprintf(env.stdout, "#%-*s %s/%s", in print_subtest_name()
258 fprintf(env.stdout, ":%s", result); in print_subtest_name()
260 fprintf(env.stdout, "\n"); in print_subtest_name()
498 fprintf(stdout, "%s:FAIL:map '%s' not found\n", test, name); in bpf_find_map()
636 fprintf(stdout, "bpf_testmod.ko is already unloaded.\n"); in unload_bpf_testmod()
643 fprintf(stdout, "Successfully unloaded bpf_testmod.ko.\n"); in unload_bpf_testmod()
654 fprintf(stdout, "Loading bpf_testmod.ko...\n"); in load_bpf_testmod()
669 fprintf(stdout, "Successfully loaded bpf_testmod.ko.\n"); in load_bpf_testmod()
743 vfprintf(stdout, format, args); in libbpf_print_fn()
902 fprintf(stdout, "Switching to flavor '%s' subdirectory...\n", flavor); in cd_flavor_subdir()
975 if (env.stdout) in crash_handler()
1377 fflush(stdout); in server_main()
1610 env.stdout = stdout; in main()
1645 fprintf(stdout, "Launching %d workers.\n", env.workers); in main()
1692 fprintf(env.stdout, "%s\n", test->test_name); in main()