Searched refs:STDOUT_FILENO (Results 1 – 17 of 17) sorted by relevance
/bionic/linker/ |
D | linker_auxv.cpp | 112 async_safe_format_fd(STDOUT_FILENO, "%-20s %#lx\n", name, value); in ld_show_auxv() 117 async_safe_format_fd(STDOUT_FILENO, "%-20s %#lb\n", name, value); in ld_show_auxv() 121 async_safe_format_fd(STDOUT_FILENO, "%-20s \"%s\"\n", name, reinterpret_cast<char*>(value)); in ld_show_auxv() 124 async_safe_format_fd(STDOUT_FILENO, "%-20s %ld\n", name, value); in ld_show_auxv()
|
D | linker_debug.cpp | 37 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()
|
D | linker_main.cpp | 812 async_safe_format_fd(STDOUT_FILENO, in __linker_init_post_relocation()
|
D | linker.cpp | 3337 async_safe_format_fd(STDOUT_FILENO, "\t%s => %s (%p)\n", get_soname(), in link_image()
|
/bionic/tests/ |
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 | fdtrack_test.cpp | 262 FDTRACK_TEST(dup, dup(STDOUT_FILENO)); 263 FDTRACK_TEST(dup2, dup2(STDOUT_FILENO, STDERR_FILENO)); 264 FDTRACK_TEST(dup3, dup3(STDOUT_FILENO, STDERR_FILENO, 0)); 265 FDTRACK_TEST_NAME(fcntl_F_DUPFD, "F_DUPFD", fcntl(STDOUT_FILENO, F_DUPFD, 0)); 266 FDTRACK_TEST_NAME(fcntl_F_DUPFD_CLOEXEC, "F_DUPFD_CLOEXEC", fcntl(STDOUT_FILENO, F_DUPFD_CLOEXEC, 0…
|
D | utils.h | 236 dup2(fds[1], STDOUT_FILENO); in Run() 238 if (fds[1] != STDOUT_FILENO && fds[1] != STDERR_FILENO) close(fds[1]); in Run()
|
D | malloc_iterate_test.cpp | 216 write(STDOUT_FILENO, buffer, len); in TEST()
|
D | stdlib_test.cpp | 697 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/benchmarks/tests/ |
D | interface_test.cpp | 83 close(STDOUT_FILENO); in Exec() 85 ASSERT_NE(0, dup2(fds[1], STDOUT_FILENO)); in Exec()
|
/bionic/docs/ |
D | fdsan.md | 89 int fd = dup(STDOUT_FILENO); 100 int fd = dup(STDOUT_FILENO); 106 int fd = dup(STDOUT_FILENO); 149 - int fd = dup(STDOUT_FILENO); 150 + android::base::unique_fd fd(dup(STDOUT_FILENO)); 198 - int fd = dup(STDOUT_FILENO); 199 + android::base::unique_fd fd(dup(STDOUT_FILENO));
|
/bionic/libc/bionic/ |
D | pty.cpp | 189 dup2(fd, STDOUT_FILENO); in login_tty()
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 259 close(STDOUT_FILENO); in InternalExec() 261 ASSERT_NE(0, dup2(fds[1], STDOUT_FILENO)); in InternalExec()
|
/bionic/libc/include/ |
D | unistd.h | 48 #define STDOUT_FILENO 1 macro
|
/bionic/libc/stdio/ |
D | stdio.cpp | 99 MAKE_STD_STREAM(__SWR, STDOUT_FILENO), 1200 desired_child_fd = STDOUT_FILENO; in popen() 1223 if (bidirectional) dup2(STDOUT_FILENO, STDIN_FILENO); in popen()
|
/bionic/tests/headers/posix/ |
D | unistd_h.c | 294 MACRO_VALUE(STDOUT_FILENO, 1); in unistd_h()
|