/external/ltp/lib/ |
D | tst_run_cmd.c | 36 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/ |
D | tst_cmd.h | 36 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/ |
D | trerrno.c | 43 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/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix_libcdep.cc | 334 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()
|
D | sanitizer_win.cc | 868 fd_t stdin_fd, fd_t stdout_fd, fd_t stderr_fd) { in StartSubprocess() argument
|
D | sanitizer_common.h | 295 fd_t stdin_fd = kInvalidFd, fd_t stdout_fd = kInvalidFd,
|
/external/fmtlib/test/ |
D | posix-mock-test.cc | 343 int stdout_fd = FMT_POSIX(fileno(stdout)); in TEST() local 346 file::dup(stdout_fd), EINTR, in TEST() 347 fmt::format("cannot duplicate file descriptor {}", stdout_fd)); in TEST() 352 int stdout_fd = FMT_POSIX(fileno(stdout)); in TEST() local 353 file f1 = file::dup(stdout_fd), f2 = file::dup(stdout_fd); in TEST() 360 int stdout_fd = FMT_POSIX(fileno(stdout)); in TEST() local 361 file f1 = file::dup(stdout_fd), f2 = file::dup(stdout_fd); in TEST()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix_libcdep.cpp | 425 const char *const envp[], fd_t stdin_fd, fd_t stdout_fd, in StartSubprocess() argument 431 if (stdout_fd != kInvalidFd) { in StartSubprocess() 432 internal_close(stdout_fd); in StartSubprocess() 456 if (stdout_fd != kInvalidFd) { in StartSubprocess() 458 internal_dup2(stdout_fd, STDOUT_FILENO); in StartSubprocess() 459 internal_close(stdout_fd); in StartSubprocess()
|
D | sanitizer_file.h | 92 fd_t stdout_fd = kInvalidFd, fd_t stderr_fd = kInvalidFd);
|
D | sanitizer_win.cpp | 1086 const char *const envp[], fd_t stdin_fd, fd_t stdout_fd, in StartSubprocess() argument
|
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/ |
D | MachProcess.mm | 2432 int stdout_fd = proc->GetStdoutFileDescriptor(); 2434 if (stdout_fd == stderr_fd) 2437 while (stdout_fd >= 0 || stderr_fd >= 0) { 2442 if (stdout_fd >= 0) 2443 FD_SET(stdout_fd, &read_fds); 2446 int nfds = std::max<int>(stdout_fd, stderr_fd) + 1; 2481 if (stdout_fd >= 0 && FD_ISSET(stdout_fd, &read_fds)) { 2483 bytes_read = ::read(stdout_fd, s, sizeof(s) - 1); 2487 "read (stdout_fd, ) => %zd errno: %d (%s)", 2493 "read (stdout_fd, ) => %zd (reached EOF for child STDOUT)", [all …]
|
/external/openssh/regress/ |
D | netcat.c | 780 int stdout_fd = STDOUT_FILENO; in readwrite() local 805 pfd[POLL_STDOUT].fd = stdout_fd; in readwrite()
|