/external/dnsmasq/src/ |
log.c | 38 static int log_fd = -1; variable 98 fchown(log_fd, ent_pw->pw_uid, -1) != 0) 106 if (log_fd != -1) 107 close(log_fd); 113 log_fd = open(log_file, O_WRONLY|O_CREAT|O_APPEND, S_IRUSR|S_IWUSR|S_IRGRP); 114 return log_fd != -1; 119 Just leave log_fd == -1 and use the vsyslog call for everything.... */ 121 log_fd = -1; 125 log_fd = socket(AF_UNIX, connection_type, 0); 127 if (log_fd == -1 [all...] |
/external/stressapptest/src/ |
logger.h | 73 // log_fd: The file descriptor to write to. Will not be closed by this 75 void SetLogFd(int log_fd) { 76 LOGGER_ASSERT(log_fd >= 0); 77 log_fd_ = log_fd;
|
/external/lldb/examples/interposing/darwin/fd_interposing/ |
FDInterposing.cpp | 144 log (int log_fd) 146 if (m_str && log_fd >= 0) 151 write (log_fd, m_str, len); 154 write (log_fd, "\n", 1); 233 Dump (int log_fd) const; 362 log (int log_fd, const FDEvent *event, const char *format, ...) __attribute__ ((format (printf, 3, 4))); 371 log_to_fd (int log_fd, const char *format, ...) __attribute__ ((format (printf, 2, 3))); 474 log_to_fd (int log_fd, const char *format, va_list args) 476 if (format && format[0] && log_fd >= 0) 481 write (log_fd, buffer, count) 551 const int log_fd = get_logging_fd (); local 575 const int log_fd = get_logging_fd (); local 617 const int log_fd = get_logging_fd(); local 636 const int log_fd = get_logging_fd(); local [all...] |
/system/core/liblog/ |
logd_write_kern.c | 90 static int __write_to_log_null(log_id_t log_fd __unused, struct iovec *vec __unused, 99 int log_fd; local 105 log_fd = log_fds[(int)log_id]; 111 ret = log_writev(log_fd, vec, nr);
|
logd_write.c | 88 static int __write_to_log_null(log_id_t log_fd __unused, struct iovec *vec __unused, 144 int log_fd; local 147 log_fd = log_fds[(int)log_id]; 152 ret = fakeLogWritev(log_fd, vec, nr);
|
/external/chromium_org/net/tools/testserver/ |
testserver_base.py | 107 def MultiplexerHack(std_fd, log_fd): 111 handles, so log_fd will be returned directly. (This does not occur if you 116 return log_fd 117 return FileMultiplexer(std_fd, log_fd)
|
/bionic/libc/bionic/ |
libc_logging.cpp | 457 int log_fd = TEMP_FAILURE_RETRY(socket(PF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC, 0)); local 458 if (log_fd < 0) { 462 if (fcntl(log_fd, F_SETFL, O_NONBLOCK) == -1) { 463 close(log_fd); 475 if (TEMP_FAILURE_RETRY(connect(log_fd, &u.addr, sizeof(u.addrUn))) != 0) { 476 close(log_fd); 480 return log_fd;
|
/hardware/libhardware/modules/audio_remote_submix/ |
audio_hw.cpp | 182 int log_fd; member in struct:android::submix_stream_out 203 int log_fd; member in struct:android::submix_stream_in [all...] |
/external/chromium_org/components/crash/app/ |
breakpad_linux.cc | 1119 int log_fd = sys_open(g_crash_log_path, kLogOpenFlags, 0600); local [all...] |
/external/chromium_org/remoting/host/linux/ |
linux_me2me_host.py | 730 log_fd = log_file.file.fileno() 732 log_fd = os.open(os.environ[LOG_FILE_ENV_VAR], 771 os.dup2(log_fd, sys.stdout.fileno()) 772 os.dup2(log_fd, sys.stderr.fileno()) 776 os.close(log_fd) [all...] |