Home
last modified time | relevance | path

Searched refs:stdout_file (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/external/mit/libuv/dist/test/
H A Drunner-unix.c82 FILE* stdout_file; in process_start() local
111 stdout_file = tmpfile(); in process_start()
112 stdout_fd = fileno(stdout_file); in process_start()
113 if (!stdout_file) { in process_start()
155 p->stdout_file = stdout_file; in process_start()
347 int r = fstat(fileno(p->stdout_file), &buf); in process_output_size()
361 r = fseek(p->stdout_file, 0, SEEK_SET); in process_copy_output()
368 while ((r = fread(buf, 1, sizeof(buf), p->stdout_file)) != 0) in process_copy_output()
371 if (ferror(p->stdout_file)) { in process_copy_output()
386 int r = fseek(p->stdout_file, 0, SEEK_SET); in process_read_last_line()
[all …]
H A Drunner-unix.h29 FILE* stdout_file; member
H A Dtest-spawn.c491 uv_file stdout_file; in TEST_IMPL() local
512 stdout_file = dup2(r, STDOUT_FILENO); in TEST_IMPL()
513 ASSERT(stdout_file != -1); in TEST_IMPL()
530 options.stdio[2].data.fd = stdout_file; in TEST_IMPL()
545 r = uv_fs_read(NULL, &fs_req, stdout_file, &buf, 1, 0, NULL); in TEST_IMPL()
549 r = uv_fs_close(NULL, &fs_req, stdout_file, NULL); in TEST_IMPL()
/netbsd-src/external/bsd/kyua-cli/dist/utils/process/
H A Dchild.cpp316 process::child::fork_files_aux(const fs::path& stdout_file, in fork_files_aux() argument
333 if (stdout_file != fs::path("/dev/stdout")) { in fork_files_aux()
334 const int stdout_fd = open_for_append(stdout_file); in fork_files_aux()
349 LD(F("Spawned process %s: stdout=%s, stderr=%s") % pid % stdout_file % in fork_files_aux()
401 const fs::path& stdout_file, in spawn_files() argument
404 std::unique_ptr< child > child = fork_files_aux(stdout_file, stderr_file); in spawn_files()
H A Dchild.ipp46 /// \param stdout_file The name of the file in which to store the stdout.
56 child::fork_files(Hook hook, const fs::path& stdout_file,
59 std::unique_ptr< child > child = fork_files_aux(stdout_file, stderr_file);
/netbsd-src/external/bsd/kyua-cli/dist/engine/
H A Dtest_case.cpp477 const fs::auto_file stdout_file(work_directory / "stdout.txt"); in run_test_case() local
489 result_file.file(), stdout_file.file(), stderr_file.file(), in run_test_case()
494 hooks.got_stdout(stdout_file.file()); in run_test_case()
503 hooks.got_stdout(stdout_file.file()); in run_test_case()
H A Dtesters.cpp276 const fs::path& result_file, const fs::path& stdout_file, in test() argument
292 tester_path, args, stdout_file, stderr_file); in test()