/external/curl/src/ |
H A D | tool_main.h | 39 #ifndef STDERR_FILENO 40 # define STDERR_FILENO fileno(stderr) macro
|
H A D | tool_main.c | 89 fd[0] == STDERR_FILENO || 92 fd[1] == STDERR_FILENO)
|
/external/minijail/ |
H A D | testrunner.cc | 22 init_logging(LOG_TO_FD, STDERR_FILENO, LOG_INFO);
|
H A D | parse_seccomp_policy.cc | 14 init_logging(LOG_TO_FD, STDERR_FILENO, LOG_INFO);
|
/external/tensorflow/tensorflow/core/platform/ |
H A D | stacktrace_handler.cc | 47 (void)write(STDERR_FILENO, begin_msg, strlen(begin_msg)); 55 backtrace_symbols_fd(trace, buffer_size, STDERR_FILENO); 58 (void)write(STDERR_FILENO, end_msg, strlen(end_msg)); 80 (void)write(STDERR_FILENO, buf, strlen(buf)); 90 (void)write(STDERR_FILENO, stacktrace.c_str(), stacktrace.length()); 118 (void)write(STDERR_FILENO, buf, strlen(buf)); 125 (void)write(STDERR_FILENO, buf, strlen(buf));
|
H A D | stacktrace_handler_test.cc | 45 dup2(test_pipe[1], STDERR_FILENO);
|
/external/curl/tests/libtest/ |
H A D | lib556.c | 34 #ifndef STDERR_FILENO 35 #define STDERR_FILENO 2 macro
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
H A D | closed-fds.cc | 22 close(STDERR_FILENO);
|
/external/honggfuzz/includes/libcommon/ |
H A D | log.c | 48 static int log_fd = STDERR_FILENO; 55 log_fd = fcntl(STDERR_FILENO, F_DUPFD_CLOEXEC, 0); 57 log_fd = STDERR_FILENO; 75 log_fd = STDERR_FILENO;
|
/external/honggfuzz/libcommon/ |
H A D | log.c | 48 static int log_fd = STDERR_FILENO; 55 log_fd = fcntl(STDERR_FILENO, F_DUPFD_CLOEXEC, 0); 57 log_fd = STDERR_FILENO; 75 log_fd = STDERR_FILENO;
|
/external/syslinux/com32/include/ |
H A D | unistd.h | 38 #define STDERR_FILENO 2 macro
|
/external/google-breakpad/src/client/linux/microdump_writer/ |
H A D | microdump_writer_unittest.cc | 97 int save_err = dup(STDERR_FILENO); 99 ASSERT_NE(-1, dup2(err_fd, STDERR_FILENO)); 104 dup2(save_err, STDERR_FILENO);
|
/external/libbrillo/brillo/ |
H A D | process_unittest.cc | 187 int saved_stderr = dup(STDERR_FILENO); 188 close(STDERR_FILENO); 190 dup2(saved_stderr, STDERR_FILENO); 203 process_.RedirectUsingPipe(STDERR_FILENO, false); 204 EXPECT_EQ(-1, process_.GetPipe(STDERR_FILENO)); 206 int pipe_fd = process_.GetPipe(STDERR_FILENO); 216 int saved_stderr = dup(STDERR_FILENO); 217 close(STDERR_FILENO); 220 process_.RedirectUsingPipe(STDERR_FILENO, false); 223 dup2(saved_stderr, STDERR_FILENO); [all...] |
H A D | process.cc | 193 if (fd == STDIN_FILENO || fd == STDOUT_FILENO || fd == STDERR_FILENO) { 270 HANDLE_EINTR(dup2(output_handle, STDERR_FILENO)); 273 if (output_handle != STDOUT_FILENO && output_handle != STDERR_FILENO) {
|
/external/python/cpython2/Lib/ |
H A D | pty.py | 17 STDERR_FILENO = 2 variable 117 os.dup2(slave_fd, STDERR_FILENO) 118 if (slave_fd > STDERR_FILENO):
|
/external/python/cpython3/Lib/ |
H A D | pty.py | 17 STDERR_FILENO = 2 variable 106 os.dup2(slave_fd, STDERR_FILENO) 107 if (slave_fd > STDERR_FILENO):
|
/external/ltp/lib/ |
H A D | tst_run_cmd.c | 72 close(STDERR_FILENO); 73 dup2(stderr_fd, STDERR_FILENO);
|
/external/autotest/client/site_tests/security_Libcontainer/src/ |
H A D | libcontainer_target_unittest.cc | 110 int stdio_fds[] = {STDOUT_FILENO, STDERR_FILENO}; 145 int stdio_fds[] = {STDOUT_FILENO, STDERR_FILENO}; 190 int stdio_fds[] = {STDOUT_FILENO, STDERR_FILENO}; 232 minijail_log_to_fd(STDERR_FILENO, SYSLOG_LOG_INFO);
|
/external/google-breakpad/src/tools/linux/dump_syms/ |
H A D | dump_syms.cc | 77 FILE* saved_stderr = fdopen(dup(STDERR_FILENO), "w");
|
/external/gptfdisk/ |
H A D | sgdisk.cc | 44 dup2(silence, STDERR_FILENO);
|
/external/jemalloc/include/jemalloc/internal/ |
H A D | jemalloc_internal_decls.h | 55 # define STDERR_FILENO 2 macro
|
/external/libcxx/test/std/numerics/rand/rand.device/ |
H A D | ctor.pass.cpp | 98 ec = close(STDERR_FILENO);
|
/external/libusb/tests/ |
H A D | testlib.c | 45 #define STDERR_FILENO 2 macro 89 IGNORE_RETVAL(dup2(ctx->old_stderr, STDERR_FILENO)); 120 ctx->old_stderr = dup(STDERR_FILENO); 127 /* Redirect STDOUT_FILENO and STDERR_FILENO to /dev/null or "nul"*/ 136 (dup2(ctx->null_fd, STDERR_FILENO) < 0)) {
|
/external/perfetto/src/base/ |
H A D | debug_crash_stack_trace.cc | 68 write(STDERR_FILENO, str, sizeof(str)); 76 write(STDERR_FILENO, &c, 1); 196 write(STDERR_FILENO, sym.sym_name, strlen(sym.sym_name)); 203 write(STDERR_FILENO, sym.file_name, strlen(sym.file_name));
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
H A D | raw_ostream.cpp | 52 #ifndef STDERR_FILENO 53 # define STDERR_FILENO 2 macro 477 if (fd == STDOUT_FILENO || fd == STDERR_FILENO) 657 static raw_fd_ostream S(STDERR_FILENO, false, true);
|