Home
last modified time | relevance | path

Searched refs:STDOUT_FILENO (Results 1 – 13 of 13) sorted by relevance

/bionic/tests/
Dfortify_filecheck_diagnostics_test.cpp331 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()
Dsys_select_test.cpp86 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()
Dutils.h206 dup2(fds[1], STDOUT_FILENO); in Run()
208 if (fds[1] != STDOUT_FILENO && fds[1] != STDERR_FILENO) close(fds[1]); in Run()
Dgtest_main.cpp688 close(STDOUT_FILENO); in RunChildProcess()
690 dup2(pipefd[1], STDOUT_FILENO); in RunChildProcess()
Dstdlib_test.cpp579 ASSERT_EQ(ENOTTY, ptsname_r(STDOUT_FILENO, buf, sizeof(buf))); in TEST()
/bionic/libc/upstream-openbsd/lib/libc/gen/
Ddaemon.c58 (void)dup2(fd, STDOUT_FILENO); in daemon()
/bionic/libc/upstream-netbsd/lib/libc/gen/
Dpopen.c140 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/
Dinterface_test.cpp87 close(STDOUT_FILENO); in Exec()
89 ASSERT_NE(0, dup2(fds[1], STDOUT_FILENO)); in Exec()
/bionic/libc/bionic/
Dpty.cpp189 dup2(fd, STDOUT_FILENO); in login_tty()
/bionic/libc/include/
Dunistd.h48 #define STDOUT_FILENO 1 macro
/bionic/tests/headers/posix/
Dunistd_h.c276 MACRO_VALUE(STDOUT_FILENO, 1); in unistd_h()
/bionic/linker/
Dlinker_main.cpp585 async_safe_format_fd(STDOUT_FILENO,
/bionic/libc/stdio/
Dstdio.cpp86 std(__SWR, STDOUT_FILENO),