Home
last modified time | relevance | path

Searched refs:STDERR_FILENO (Results 1 – 25 of 72) sorted by relevance

123

/external/google-breakpad/src/client/linux/microdump_writer/
Dmicrodump_writer_unittest.cc97 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/bison/lib/
Dspawn-pipe.c159 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()
Ddup-safer.c33 return fcntl (fd, F_DUPFD, STDERR_FILENO + 1); in dup_safer()
Ddup-safer-flag.c37 STDERR_FILENO + 1); in dup_safer_flag()
Dfd-safer.c39 if (STDIN_FILENO <= fd && fd <= STDERR_FILENO) in fd_safer()
Dfd-safer-flag.c42 if (STDIN_FILENO <= fd && fd <= STDERR_FILENO) in fd_safer_flag()
Dfopen-safer.c39 if (0 <= fd && fd <= STDERR_FILENO) in fopen_safer()
Dw32spawn.h56 if (STDIN_FILENO <= fd && fd <= STDERR_FILENO) in fd_safer_noinherit()
/external/lldb/tools/debugserver/source/
DPseudoTerminal.cpp216 if (::dup2 (m_slave_fd, STDERR_FILENO) != STDERR_FILENO) in Fork()
/external/lldb/source/Utility/
DPseudoTerminal.cpp263 if (::dup2 (m_slave_fd, STDERR_FILENO) != STDERR_FILENO) in Fork()
/external/compiler-rt/test/asan/TestCases/
Dclosed-fds.cc19 close(STDERR_FILENO); in main()
/external/openssh/openbsd-compat/
Ddaemon.c74 (void)dup2(fd, STDERR_FILENO); in daemon()
/external/jemalloc/include/jemalloc/internal/
Djemalloc_internal_decls.h51 # define STDERR_FILENO 2 macro
/external/dhcpcd/
Dbind.c92 dup2(fd, STDERR_FILENO); in daemonise()
93 if (fd > STDERR_FILENO) in daemonise()
/external/libcxx/test/std/numerics/rand/rand.device/
Dctor.pass.cpp57 ec = close(STDERR_FILENO); in main()
/external/gptfdisk/
Dsgdisk.cc43 dup2(silence, STDERR_FILENO); in android_dump()
/external/openssh/
Dsandbox-capsicum.c93 if (cap_rights_limit(STDERR_FILENO, &rights) < 0 && errno != ENOSYS) in ssh_sandbox_child()
Dsshd.c133 #define REEXEC_DEVCRYPTO_RESERVED_FD (STDERR_FILENO + 1)
134 #define REEXEC_STARTUP_PIPE_FD (STDERR_FILENO + 2)
135 #define REEXEC_CONFIG_PASS_FD (STDERR_FILENO + 3)
136 #define REEXEC_MIN_FREE_FD (STDERR_FILENO + 4)
1136 dup2(fd, STDERR_FILENO);
1137 if (fd > (log_stderr ? STDERR_FILENO : STDOUT_FILENO))
2079 if (fd > STDERR_FILENO)
Ddefines.h129 #ifndef STDERR_FILENO
130 # define STDERR_FILENO 2 macro
/external/bison/m4/
Dposix_spawn.m4114 #ifndef STDERR_FILENO
115 # define STDERR_FILENO 2
257 #ifndef STDERR_FILENO
258 # define STDERR_FILENO 2
/external/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc328 ignored = write(STDERR_FILENO, argv[0], strlen(argv[0]));
330 ignored = write(STDERR_FILENO, message, strlen(message));
/external/llvm/lib/Support/
Draw_ostream.cpp55 #ifndef STDERR_FILENO
56 # define STDERR_FILENO 2 macro
730 static raw_fd_ostream S(STDERR_FILENO, false, true); in errs()
/external/deqp/framework/delibs/deutil/
DdeProcess.c287 if (pipeErr[1] != STDERR_FILENO && in deProcess_start()
288 dup2(pipeErr[1], STDERR_FILENO) != STDERR_FILENO) in deProcess_start()
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c719 if (fd != STDERR_FILENO) (void)dup2(fd, STDERR_FILENO); in daemon()
720 if (fd != STDIN_FILENO && fd != STDOUT_FILENO && fd != STDERR_FILENO) in daemon()
/external/jemalloc/src/
Dutil.c53 UNUSED int result = syscall(SYS_write, STDERR_FILENO, s, strlen(s)); in wrtmessage()
55 UNUSED int result = write(STDERR_FILENO, s, strlen(s)); in wrtmessage()

123