Searched refs:STDOUT_FILENO (Results 1 – 13 of 13) sorted by relevance
/bionic/tests/ |
D | fortify_filecheck_diagnostics_test.cpp | 331 pwrite64(STDOUT_FILENO, buf, 5, 0); in test_pwrite64_size() 339 pwrite64(STDOUT_FILENO, buf, SIZE_MAX, 0); in test_pwrite64_too_big_malloc() 347 pwrite64(STDOUT_FILENO, buf, SIZE_MAX, 0); in test_pwrite64_too_big() 355 write(STDOUT_FILENO, buf, 5); in test_write_size()
|
D | sys_select_test.cpp | 86 FD_SET(STDOUT_FILENO, &w); in TEST() 100 ASSERT_TRUE(FD_ISSET(STDOUT_FILENO, &w)); in TEST() 141 FD_SET(STDOUT_FILENO, &w); in TEST() 155 ASSERT_TRUE(FD_ISSET(STDOUT_FILENO, &w)); in TEST()
|
D | utils.h | 206 dup2(fds[1], STDOUT_FILENO); in Run() 208 if (fds[1] != STDOUT_FILENO && fds[1] != STDERR_FILENO) close(fds[1]); in Run()
|
D | gtest_main.cpp | 688 close(STDOUT_FILENO); in RunChildProcess() 690 dup2(pipefd[1], STDOUT_FILENO); in RunChildProcess()
|
D | stdlib_test.cpp | 579 ASSERT_EQ(ENOTTY, ptsname_r(STDOUT_FILENO, buf, sizeof(buf))); in TEST()
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | daemon.c | 58 (void)dup2(fd, STDOUT_FILENO); in daemon()
|
/bionic/libc/upstream-netbsd/lib/libc/gen/ |
D | popen.c | 140 if (pdes[1] != STDOUT_FILENO) { in popen() 141 (void)dup2(pdes[1], STDOUT_FILENO); in popen() 145 (void)dup2(STDOUT_FILENO, STDIN_FILENO); in popen()
|
/bionic/benchmarks/tests/ |
D | interface_test.cpp | 87 close(STDOUT_FILENO); in Exec() 89 ASSERT_NE(0, dup2(fds[1], STDOUT_FILENO)); in Exec()
|
/bionic/libc/bionic/ |
D | pty.cpp | 189 dup2(fd, STDOUT_FILENO); in login_tty()
|
/bionic/libc/include/ |
D | unistd.h | 48 #define STDOUT_FILENO 1 macro
|
/bionic/tests/headers/posix/ |
D | unistd_h.c | 276 MACRO_VALUE(STDOUT_FILENO, 1); in unistd_h()
|
/bionic/linker/ |
D | linker_main.cpp | 585 async_safe_format_fd(STDOUT_FILENO,
|
/bionic/libc/stdio/ |
D | stdio.cpp | 86 std(__SWR, STDOUT_FILENO),
|