Searched refs:stderr_fd (Results 1 – 8 of 8) sorted by relevance
/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 | 34 int stderr_fd = 0; in main() local 123 int stderr_fd = dup(2); in main() local 125 if (stderr_fd < 0) { in main() 141 WRITE_STRING(stderr_fd, "Failed to dup2 stderr\n"); in main() 152 if (stderr_fd) { in main() 153 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/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)
|