Home
last modified time | relevance | path

Searched refs:stdout_fd (Results 1 – 9 of 9) sorted by relevance

/external/ltp/lib/
Dtst_run_cmd.c36 int stdout_fd, in tst_run_cmd_fds_() argument
66 if (stdout_fd != -1) { in tst_run_cmd_fds_()
68 dup2(stdout_fd, STDOUT_FILENO); in tst_run_cmd_fds_()
116 int stdout_fd = -1; in tst_run_cmd_() local
121 stdout_fd = open(stdout_path, in tst_run_cmd_()
124 if (stdout_fd == -1) in tst_run_cmd_()
140 rc = tst_run_cmd_fds(cleanup_fn, argv, stdout_fd, stderr_fd, in tst_run_cmd_()
143 if ((stdout_fd != -1) && (close(stdout_fd) == -1)) in tst_run_cmd_()
/external/ltp/include/
Dtst_cmd.h36 int stdout_fd,
57 int stdout_fd, in tst_run_cmd_fds() argument
62 stdout_fd, stderr_fd, pass_exit_val); in tst_run_cmd_fds()
76 int stdout_fd, in tst_run_cmd_fds() argument
81 stdout_fd, stderr_fd, pass_exit_val); in tst_run_cmd_fds()
/external/ltp/lib/tests/
Dtrerrno.c43 int fd, stdout_fd; in main() local
50 stdout_fd = dup(fileno(stdout)); in main()
63 TEST(dup2(stdout_fd, fileno(stdout))); in main()
/external/bison/lib/
Derror.c146 int stdout_fd; in flush_stdout() local
152 stdout_fd = STDOUT_FILENO; in flush_stdout()
157 stdout_fd = fileno (stdout); in flush_stdout()
162 if (0 <= stdout_fd && is_open (stdout_fd)) in flush_stdout()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix_libcdep.cc334 fd_t stdin_fd, fd_t stdout_fd, fd_t stderr_fd) { in StartSubprocess() argument
339 if (stdout_fd != kInvalidFd) { in StartSubprocess()
340 internal_close(stdout_fd); in StartSubprocess()
364 if (stdout_fd != kInvalidFd) { in StartSubprocess()
366 internal_dup2(stdout_fd, STDOUT_FILENO); in StartSubprocess()
367 internal_close(stdout_fd); in StartSubprocess()
Dsanitizer_win.cc868 fd_t stdin_fd, fd_t stdout_fd, fd_t stderr_fd) { in StartSubprocess() argument
Dsanitizer_common.h295 fd_t stdin_fd = kInvalidFd, fd_t stdout_fd = kInvalidFd,
/external/fmtlib/test/
Dposix-mock-test.cc364 int stdout_fd = FMT_POSIX(fileno(stdout)); in TEST() local
366 EXPECT_SYSTEM_ERROR(File::dup(stdout_fd), EINTR, in TEST()
367 fmt::format("cannot duplicate file descriptor {}", stdout_fd)); in TEST()
372 int stdout_fd = FMT_POSIX(fileno(stdout)); in TEST() local
373 File f1 = File::dup(stdout_fd), f2 = File::dup(stdout_fd); in TEST()
380 int stdout_fd = FMT_POSIX(fileno(stdout)); in TEST() local
381 File f1 = File::dup(stdout_fd), f2 = File::dup(stdout_fd); in TEST()
/external/openssh/regress/
Dnetcat.c772 int stdout_fd = STDOUT_FILENO; in readwrite() local
797 pfd[POLL_STDOUT].fd = stdout_fd; in readwrite()