/external/libbrillo/brillo/ |
D | process_unittest.cc | 163 int saved_stderr = dup(STDERR_FILENO); in TEST_F() 164 close(STDERR_FILENO); in TEST_F() 166 dup2(saved_stderr, STDERR_FILENO); in TEST_F() 179 process_.RedirectUsingPipe(STDERR_FILENO, false); in TEST_F() 180 EXPECT_EQ(-1, process_.GetPipe(STDERR_FILENO)); in TEST_F() 182 int pipe_fd = process_.GetPipe(STDERR_FILENO); in TEST_F() 192 int saved_stderr = dup(STDERR_FILENO); in TEST_F() 193 close(STDERR_FILENO); in TEST_F() 196 process_.RedirectUsingPipe(STDERR_FILENO, false); in TEST_F() 199 dup2(saved_stderr, STDERR_FILENO); in TEST_F() [all …]
|
D | process.cc | 191 if (fd == STDIN_FILENO || fd == STDOUT_FILENO || fd == STDERR_FILENO) { in CloseUnusedFileDescriptors() 260 HANDLE_EINTR(dup2(output_handle, STDERR_FILENO)); in Start() 263 if (output_handle != STDOUT_FILENO && output_handle != STDERR_FILENO) { in Start()
|
/external/google-breakpad/src/client/linux/microdump_writer/ |
D | microdump_writer_unittest.cc | 97 int save_err = dup(STDERR_FILENO); in TEST() 99 ASSERT_NE(-1, dup2(err_fd, STDERR_FILENO)); in TEST() 104 dup2(save_err, STDERR_FILENO); in TEST()
|
/external/curl/src/ |
D | tool_main.h | 39 #ifndef STDERR_FILENO 40 # define STDERR_FILENO fileno(stderr) macro
|
D | tool_main.c | 80 fd[0] == STDERR_FILENO || in main_checkfds() 83 fd[1] == STDERR_FILENO) in main_checkfds()
|
/external/bison/lib/ |
D | spawn-pipe.c | 159 orig_stderr = dup_safer_noinherit (STDERR_FILENO); in create_pipe() 170 && (nulloutfd == STDERR_FILENO in create_pipe() 171 || (dup2 (nulloutfd, STDERR_FILENO) >= 0 in create_pipe() 220 undup_safer_noinherit (orig_stderr, STDERR_FILENO); in create_pipe() 308 STDERR_FILENO, in create_pipe()
|
D | dup-safer.c | 33 return fcntl (fd, F_DUPFD, STDERR_FILENO + 1); in dup_safer()
|
D | dup-safer-flag.c | 37 STDERR_FILENO + 1); in dup_safer_flag()
|
D | fd-safer.c | 39 if (STDIN_FILENO <= fd && fd <= STDERR_FILENO) in fd_safer()
|
D | fd-safer-flag.c | 42 if (STDIN_FILENO <= fd && fd <= STDERR_FILENO) in fd_safer_flag()
|
D | fopen-safer.c | 39 if (0 <= fd && fd <= STDERR_FILENO) in fopen_safer()
|
D | w32spawn.h | 56 if (STDIN_FILENO <= fd && fd <= STDERR_FILENO) in fd_safer_noinherit()
|
/external/libchrome/sandbox/linux/services/ |
D | namespace_sandbox_unittest.cc | 57 std::make_pair(STDERR_FILENO, STDERR_FILENO), in TestProcWithOptions() 129 std::make_pair(STDERR_FILENO, STDERR_FILENO), in MULTIPROCESS_TEST_MAIN()
|
/external/curl/tests/libtest/ |
D | lib556.c | 34 #ifndef STDERR_FILENO 35 #define STDERR_FILENO 2 macro
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
D | closed-fds.cc | 22 close(STDERR_FILENO); in main()
|
/external/jemalloc/include/jemalloc/internal/ |
D | jemalloc_internal_decls.h | 45 # define STDERR_FILENO 2 macro
|
/external/libweave/third_party/chromium/base/ |
D | logging.cc | 242 write(STDERR_FILENO, message + bytes_written, in RawLog() 253 rv = HANDLE_EINTR(write(STDERR_FILENO, "\n", 1)); in RawLog()
|
/external/libcxx/test/std/numerics/rand/rand.device/ |
D | ctor.pass.cpp | 55 ec = close(STDERR_FILENO); in main()
|
/external/google-breakpad/src/tools/linux/dump_syms/ |
D | dump_syms.cc | 77 FILE* saved_stderr = fdopen(dup(STDERR_FILENO), "w"); in main()
|
/external/gptfdisk/ |
D | sgdisk.cc | 44 dup2(silence, STDERR_FILENO); in android_dump()
|
/external/bison/m4/ |
D | posix_spawn.m4 | 114 #ifndef STDERR_FILENO 115 # define STDERR_FILENO 2 257 #ifndef STDERR_FILENO 258 # define STDERR_FILENO 2
|
/external/libchrome/base/process/ |
D | launch_posix.cc | 233 if (fd == STDIN_FILENO || fd == STDOUT_FILENO || fd == STDERR_FILENO) in CloseSuperfluousFds() 263 if (fd == STDIN_FILENO || fd == STDOUT_FILENO || fd == STDERR_FILENO) in CloseSuperfluousFds() 593 STDERR_FILENO, true)); in GetAppOutputInternal()
|
/external/llvm/lib/Support/ |
D | raw_ostream.cpp | 55 #ifndef STDERR_FILENO 56 # define STDERR_FILENO 2 macro 717 static raw_fd_ostream S(STDERR_FILENO, false, true); in errs()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | subprocess.cc | 328 ignored = write(STDERR_FILENO, argv[0], strlen(argv[0])); 330 ignored = write(STDERR_FILENO, message, strlen(message));
|
/external/dbus/bus/ |
D | main.c | 94 write (STDERR_FILENO, message, strlen (message)); in signal_handler() 116 write (STDERR_FILENO, message, strlen (message)); in signal_handler()
|