Home
last modified time | relevance | path

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

/third_party/ltp/include/
Dtst_cmd.h32 int stdout_fd,
51 int stdout_fd, in tst_cmd_fds() argument
56 stdout_fd, stderr_fd, flags); in tst_cmd_fds()
70 int stdout_fd, in tst_cmd_fds() argument
75 stdout_fd, stderr_fd, flags); in tst_cmd_fds()
/third_party/ltp/lib/
Dtst_cmd.c49 int stdout_fd, in tst_cmd_fds_() argument
89 if (stdout_fd != -1) { in tst_cmd_fds_()
91 dup2(stdout_fd, STDOUT_FILENO); in tst_cmd_fds_()
136 int stdout_fd = -1; in tst_cmd_() local
141 stdout_fd = open(stdout_path, in tst_cmd_()
144 if (stdout_fd == -1) in tst_cmd_()
160 rc = tst_cmd_fds(cleanup_fn, argv, stdout_fd, stderr_fd, flags); in tst_cmd_()
162 if ((stdout_fd != -1) && (close(stdout_fd) == -1)) in tst_cmd_()
/third_party/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()
/third_party/libuv/test/
Drunner-unix.c83 int stdout_fd; in process_start() local
112 stdout_fd = fileno(stdout_file); in process_start()
/third_party/python/Lib/test/
Dtest_embed.py1518 stdout_fd = self.STDOUT_FD
1519 stdout_fd_copy = os.dup(stdout_fd)
1528 os.dup2(wfd, stdout_fd)
1530 printer = self.create_printer(stdout_fd)
1533 os.dup2(stdout_fd_copy, stdout_fd)
Dtest_curses.py67 stdout_fd = sys.__stdout__.fileno()
68 curses.setupterm(fd=stdout_fd)
73 stdout_fd = sys.__stdout__.fileno()
80 dup_fd = os.dup(stdout_fd)
82 self.addCleanup(os.dup2, dup_fd, stdout_fd)
101 os.dup2(tmp.fileno(), stdout_fd)
/third_party/mbedtls/tests/suites/
Dhost_test.function489 int stdout_fd = -1;
642 stdout_fd = redirect_output(stdout, "/dev/null");
643 if (stdout_fd == -1) {
659 if (!option_verbose && restore_output(stdout, stdout_fd)) {