/external/ltp/lib/ |
D | tst_run_cmd.c | 37 int stderr_fd, in tst_run_cmd_fds_() argument 71 if (stderr_fd != -1) { in tst_run_cmd_fds_() 73 dup2(stderr_fd, STDERR_FILENO); in tst_run_cmd_fds_() 117 int stderr_fd = -1; in tst_run_cmd_() local 131 stderr_fd = open(stderr_path, in tst_run_cmd_() 134 if (stderr_fd == -1) in tst_run_cmd_() 140 rc = tst_run_cmd_fds(cleanup_fn, argv, stdout_fd, stderr_fd, in tst_run_cmd_() 148 if ((stderr_fd != -1) && (close(stderr_fd) == -1)) in tst_run_cmd_()
|
/external/ltp/include/ |
D | tst_cmd.h | 37 int stderr_fd, 58 int stderr_fd, in tst_run_cmd_fds() argument 62 stdout_fd, stderr_fd, pass_exit_val); in tst_run_cmd_fds() 77 int stderr_fd, in tst_run_cmd_fds() argument 81 stdout_fd, stderr_fd, pass_exit_val); in tst_run_cmd_fds()
|
/external/ltp/testcases/lib/ |
D | tst_rod.c | 21 int stderr_fd = 0; in main() local 110 int stderr_fd = dup(2); in main() local 112 if (stderr_fd < 0) { in main() 128 WRITE_STRING(stderr_fd, "Failed to dup2 stderr\n"); in main() 139 if (stderr_fd) { in main() 140 WRITE_STRING(stderr_fd, "Failed to popen /bin/sh\n"); in main()
|
/external/python/cpython3/Lib/test/libregrtest/ |
D | setup.py | 18 stderr_fd = sys.__stderr__.fileno() 24 stderr_fd = None 27 faulthandler.enable(all_threads=True, file=stderr_fd) 36 faulthandler.register(signum, chain=True, file=stderr_fd)
|
/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 342 if (stderr_fd != kInvalidFd) { in StartSubprocess() 343 internal_close(stderr_fd); in StartSubprocess() 369 if (stderr_fd != kInvalidFd) { in StartSubprocess() 371 internal_dup2(stderr_fd, STDERR_FILENO); in StartSubprocess() 372 internal_close(stderr_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 | 296 fd_t stderr_fd = kInvalidFd);
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix_libcdep.cpp | 426 fd_t stderr_fd) { in StartSubprocess() argument 434 if (stderr_fd != kInvalidFd) { in StartSubprocess() 435 internal_close(stderr_fd); in StartSubprocess() 461 if (stderr_fd != kInvalidFd) { in StartSubprocess() 463 internal_dup2(stderr_fd, STDERR_FILENO); in StartSubprocess() 464 internal_close(stderr_fd); in StartSubprocess()
|
D | sanitizer_file.h | 92 fd_t stdout_fd = kInvalidFd, fd_t stderr_fd = kInvalidFd);
|
D | sanitizer_win.cpp | 1087 fd_t stderr_fd) { in StartSubprocess() argument
|
/external/bcc/tests/python/ |
D | test_clang.py | 17 stderr_fd = sys.stderr.fileno() 18 with os.fdopen(os.dup(stderr_fd), 'wb') as copied, os.fdopen(to, 'w') as to: 20 os.dup2(to.fileno(), stderr_fd) 25 os.dup2(copied.fileno(), stderr_fd)
|
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/ |
D | MachProcess.mm | 2433 int stderr_fd = proc->GetStderrFileDescriptor(); 2434 if (stdout_fd == stderr_fd) 2435 stderr_fd = -1; 2437 while (stdout_fd >= 0 || stderr_fd >= 0) { 2444 if (stderr_fd >= 0) 2445 FD_SET(stderr_fd, &read_fds); 2446 int nfds = std::max<int>(stdout_fd, stderr_fd) + 1; 2503 if (stderr_fd >= 0 && FD_ISSET(stderr_fd, &read_fds)) { 2505 bytes_read = ::read(stderr_fd, s, sizeof(s) - 1); 2509 "read (stderr_fd, ) => %zd errno: %d (%s)", [all …]
|