Home
last modified time | relevance | path

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

1234

/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/chromium/sdch/open-vcdiff/src/gtest/
Dgtest-port.cc97 uncaptured_fd_ = dup(STDERR_FILENO); in CapturedStderr()
103 dup2(captured_fd, STDERR_FILENO); in CapturedStderr()
115 dup2(uncaptured_fd_, STDERR_FILENO); in StopCapture()
/external/dropbear/
Dcompat.c183 (void)dup2(fd, STDERR_FILENO); in daemon()
184 if (fd > STDERR_FILENO) in daemon()
Dcli-session.c118 cli_ses.stderrcopy = dup(STDERR_FILENO); in cli_session_init()
119 cli_ses.stderrflags = fcntl(STDERR_FILENO, F_GETFL, 0); in cli_session_init()
Dcli-chansession.c350 channel->errfd = STDERR_FILENO; in cli_initchansess()
351 setnonblocking(STDERR_FILENO); in cli_initchansess()
/external/openssh/openbsd-compat/
Ddaemon.c74 (void)dup2(fd, STDERR_FILENO); in daemon()
/external/chromium_org/base/debug/
Dstack_trace_posix.cc179 ignore_result(HANDLE_EINTR(write(STDERR_FILENO, output, strlen(output)))); in PrintToStderr()
348 write(STDERR_FILENO, buf, std::min(len, sizeof(buf) - 1)); in StackDumpSignalHandler()
359 write(STDERR_FILENO, buf, std::min(len, sizeof(buf) - 1)); in StackDumpSignalHandler()
370 write(STDERR_FILENO, buf, std::min(len, sizeof(buf) - 1)); in StackDumpSignalHandler()
/external/llvm/lib/Support/
Draw_ostream.cpp54 #ifndef STDERR_FILENO
55 # define STDERR_FILENO 2 macro
467 if (fd == STDOUT_FILENO || fd == STDERR_FILENO) in raw_fd_ostream()
665 static raw_fd_ostream S(STDERR_FILENO, false, true); in errs()
/external/chromium/base/
Dprocess_util_posix.cc133 write(STDERR_FILENO, buf, std::min(len, sizeof(buf) - 1)); in StackDumpSignalHandler()
144 write(STDERR_FILENO, buf, std::min(len, sizeof(buf) - 1)); in StackDumpSignalHandler()
155 write(STDERR_FILENO, buf, std::min(len, sizeof(buf) - 1)); in StackDumpSignalHandler()
329 if (fd == STDIN_FILENO || fd == STDOUT_FILENO || fd == STDERR_FILENO) in CloseSuperfluousFds()
358 if (fd == STDIN_FILENO || fd == STDOUT_FILENO || fd == STDERR_FILENO) in CloseSuperfluousFds()
925 fd_shuffle1.push_back(InjectionArc(dev_null, STDERR_FILENO, true)); in GetAppOutputInternal()
/external/dhcpcd/
Dbind.c92 dup2(fd, STDERR_FILENO); in daemonise()
93 if (fd > STDERR_FILENO) in daemonise()
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Dlogging.h60 #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len)
62 #define WRITE_TO_STDERR(buf, len) write(STDERR_FILENO, buf, len)
/external/chromium_org/chrome/browser/mac/
Drelauncher.cc46 const int kRelauncherSyncFD = STDERR_FILENO + 1;
143 kRelauncherSyncFD != STDERR_FILENO, in RelaunchAppWithHelper()
/external/chromium_org/tools/android/forwarder2/
Ddaemon.cc194 CloseFD(STDERR_FILENO); in SpawnIfNeeded()
198 CHECK_EQ(dup(null_fd), STDERR_FILENO); in SpawnIfNeeded()
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Dlogging.h65 #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len)
67 #define WRITE_TO_STDERR(buf, len) write(STDERR_FILENO, buf, len)
/external/chromium_org/base/process/
Dlaunch_posix.cc221 if (fd == STDIN_FILENO || fd == STDOUT_FILENO || fd == STDERR_FILENO) in CloseSuperfluousFds()
250 if (fd == STDIN_FILENO || fd == STDOUT_FILENO || fd == STDERR_FILENO) in CloseSuperfluousFds()
542 fd_shuffle1.push_back(InjectionArc(dev_null, STDERR_FILENO, true)); in GetAppOutputInternal()
/external/libppp/src/
Dmain.c506 close(STDERR_FILENO); in main()
516 close(STDERR_FILENO); in main()
520 close(STDERR_FILENO); in main()
/external/chromium_org/sandbox/linux/seccomp-bpf-helpers/
Dsigsys_handlers.cc34 const int ret = HANDLE_EINTR(write(STDERR_FILENO, error_message, size)); in WriteToStdErr()
/external/chromium_org/content/shell/android/browsertests_apk/
Dcontent_browser_tests_android.cc92 dup2(STDOUT_FILENO, STDERR_FILENO); in RunTests()
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc328 ignored = write(STDERR_FILENO, argv[0], strlen(argv[0]));
330 ignored = write(STDERR_FILENO, message, strlen(message));

1234