/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/chromium/sdch/open-vcdiff/src/gtest/ |
D | gtest-port.cc | 97 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/ |
D | compat.c | 183 (void)dup2(fd, STDERR_FILENO); in daemon() 184 if (fd > STDERR_FILENO) in daemon()
|
D | cli-session.c | 118 cli_ses.stderrcopy = dup(STDERR_FILENO); in cli_session_init() 119 cli_ses.stderrflags = fcntl(STDERR_FILENO, F_GETFL, 0); in cli_session_init()
|
D | cli-chansession.c | 350 channel->errfd = STDERR_FILENO; in cli_initchansess() 351 setnonblocking(STDERR_FILENO); in cli_initchansess()
|
/external/openssh/openbsd-compat/ |
D | daemon.c | 74 (void)dup2(fd, STDERR_FILENO); in daemon()
|
/external/chromium_org/base/debug/ |
D | stack_trace_posix.cc | 179 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/ |
D | raw_ostream.cpp | 54 #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/ |
D | process_util_posix.cc | 133 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/ |
D | bind.c | 92 dup2(fd, STDERR_FILENO); in daemonise() 93 if (fd > STDERR_FILENO) in daemonise()
|
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
D | logging.h | 60 #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/ |
D | relauncher.cc | 46 const int kRelauncherSyncFD = STDERR_FILENO + 1; 143 kRelauncherSyncFD != STDERR_FILENO, in RelaunchAppWithHelper()
|
/external/chromium_org/tools/android/forwarder2/ |
D | daemon.cc | 194 CloseFD(STDERR_FILENO); in SpawnIfNeeded() 198 CHECK_EQ(dup(null_fd), STDERR_FILENO); in SpawnIfNeeded()
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
D | logging.h | 65 #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/ |
D | launch_posix.cc | 221 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/ |
D | main.c | 506 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/ |
D | sigsys_handlers.cc | 34 const int ret = HANDLE_EINTR(write(STDERR_FILENO, error_message, size)); in WriteToStdErr()
|
/external/chromium_org/content/shell/android/browsertests_apk/ |
D | content_browser_tests_android.cc | 92 dup2(STDOUT_FILENO, STDERR_FILENO); in RunTests()
|
/external/chromium_org/third_party/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));
|