Searched defs:log_fd (Results 1 - 4 of 4) sorted by relevance
/external/stressapptest/src/ |
H A D | logger.h | 73 // log_fd: The file descriptor to write to. Will not be closed by this 75 void SetLogFd(int log_fd) { argument 76 LOGGER_ASSERT(log_fd >= 0); 77 log_fd_ = log_fd;
|
/external/dnsmasq/src/ |
H A D | 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 [all...] |
/external/lldb/examples/interposing/darwin/fd_interposing/ |
H A D | FDInterposing.cpp | 144 log (int log_fd) argument 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) argument 476 if (format && format[0] && log_fd >= 0) 481 write (log_fd, buffe 486 log_to_fd(int log_fd, const char *format, ...) argument 516 log(int log_fd, const FDEvent *event, const char *format, ...) argument 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 1099 get_fd_history(int log_fd, int fd) argument [all...] |
/external/chromium_org/components/crash/app/ |
H A D | breakpad_linux.cc | 1119 int log_fd = sys_open(g_crash_log_path, kLogOpenFlags, 0600); local 1120 if (log_fd > 0) { 1121 sys_write(log_fd, time_str, time_len); 1122 sys_write(log_fd, ",", 1); 1123 sys_write(log_fd, buf, my_strlen(buf)); 1124 sys_write(log_fd, "\n", 1); 1125 IGNORE_RET(sys_close(log_fd));
|
Completed in 3111 milliseconds