Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_debug.cpp37 async_safe_format_fd_va_list(STDOUT_FILENO, fmt, ap); in linker_log_va_list()
38 write(STDOUT_FILENO, "\n", 1); in linker_log_va_list()
Dlinker_main.cpp711 async_safe_format_fd(STDOUT_FILENO, in __linker_init_post_relocation()
Dlinker.cpp3238 async_safe_format_fd(STDOUT_FILENO, "\t%s => %s (%p)\n", get_soname(), in link_image()
/bionic/tests/
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()
Dfdtrack_test.cpp215 FDTRACK_TEST(dup, dup(STDOUT_FILENO));
216 FDTRACK_TEST(dup2, dup2(STDOUT_FILENO, STDERR_FILENO));
217 FDTRACK_TEST(dup3, dup3(STDOUT_FILENO, STDERR_FILENO, 0));
218 FDTRACK_TEST_NAME(fcntl_F_DUPFD, "F_DUPFD", fcntl(STDOUT_FILENO, F_DUPFD, 0));
219 FDTRACK_TEST_NAME(fcntl_F_DUPFD_CLOEXEC, "F_DUPFD_CLOEXEC", fcntl(STDOUT_FILENO, F_DUPFD_CLOEXEC, 0…
Dutils.h242 dup2(fds[1], STDOUT_FILENO); in Run()
244 if (fds[1] != STDOUT_FILENO && fds[1] != STDERR_FILENO) close(fds[1]); in Run()
Dmalloc_iterate_test.cpp213 write(STDOUT_FILENO, buffer, len); in TEST()
Dstdlib_test.cpp655 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/docs/
Dfdsan.md85 int fd = dup(STDOUT_FILENO);
96 int fd = dup(STDOUT_FILENO);
102 int fd = dup(STDOUT_FILENO);
145 - int fd = dup(STDOUT_FILENO);
146 + android::base::unique_fd fd(dup(STDOUT_FILENO));
194 - int fd = dup(STDOUT_FILENO);
195 + android::base::unique_fd fd(dup(STDOUT_FILENO));
/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/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp78 close(STDOUT_FILENO); in Exec()
80 ASSERT_NE(0, dup2(fds[1], STDOUT_FILENO)); in Exec()
/bionic/libc/include/
Dunistd.h47 #define STDOUT_FILENO 1 macro
/bionic/libc/stdio/
Dstdio.cpp99 MAKE_STD_STREAM(__SWR, STDOUT_FILENO),
1203 desired_child_fd = STDOUT_FILENO; in popen()
1226 if (bidirectional) dup2(STDOUT_FILENO, STDIN_FILENO); in popen()
/bionic/tests/headers/posix/
Dunistd_h.c276 MACRO_VALUE(STDOUT_FILENO, 1); in unistd_h()