/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/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...] |
/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;
|
/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...] |
/external/chromium_org/components/breakpad/app/ |
breakpad_linux.cc | 1112 int log_fd = sys_open(g_crash_log_path, kLogOpenFlags, 0600); local [all...] |
/hardware/libhardware/modules/audio_remote_submix/ |
audio_hw.cpp | 178 int log_fd; member in struct:android::submix_stream_out 197 int log_fd; member in struct:android::submix_stream_in 758 if (out->log_fd >= 0) write(out->log_fd, buffer, written_frames * frame_size); [all...] |