Searched refs:STDIN_FILENO (Results 1 – 11 of 11) sorted by relevance
/bionic/tests/ |
D | sys_select_test.cpp | 85 FD_SET(STDIN_FILENO, &r); in TEST() 103 ASSERT_TRUE(FD_ISSET(STDIN_FILENO, &r)); in TEST() 140 FD_SET(STDIN_FILENO, &r); in TEST() 158 ASSERT_TRUE(FD_ISSET(STDIN_FILENO, &r)); in TEST()
|
D | clang_fortify_tests.cpp | 108 stdin_saved = dup(STDIN_FILENO); in SetUp() 114 if (!dup2(devnull, STDIN_FILENO)) err(1, "failed to overwrite stdin"); in SetUp() 122 if (!dup2(stdin_saved, STDIN_FILENO)) warn("failed to restore stdin"); in TearDown()
|
D | fdtrack_test.cpp | 284 ASSERT_EQ(3, SendFileDescriptors(sockets[0], "foo", 3, STDIN_FILENO));
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | daemon.c | 57 (void)dup2(fd, STDIN_FILENO); in daemon()
|
/bionic/libc/bionic/ |
D | pty.cpp | 188 dup2(fd, STDIN_FILENO); in login_tty()
|
/bionic/benchmarks/tests/ |
D | interface_test.cpp | 86 close(STDIN_FILENO); in Exec()
|
/bionic/libc/include/ |
D | unistd.h | 46 #define STDIN_FILENO 0 macro
|
/bionic/libc/stdio/ |
D | stdio.cpp | 98 MAKE_STD_STREAM(__SRD, STDIN_FILENO), 1207 desired_child_fd = STDIN_FILENO; in popen() 1226 if (bidirectional) dup2(STDOUT_FILENO, STDIN_FILENO); in popen()
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 77 close(STDIN_FILENO); in Exec()
|
/bionic/tests/headers/posix/ |
D | unistd_h.c | 275 MACRO_VALUE(STDIN_FILENO, 0); in unistd_h()
|
/bionic/tools/versioner/src/ |
D | versioner.cpp | 229 dup2(empty_file_fd, STDIN_FILENO); in compileHeaders()
|