Home
last modified time | relevance | path

Searched refs:log_fd (Results 1 – 6 of 6) sorted by relevance

/external/dnsmasq/src/
Dlog.c38 static int log_fd = -1; variable
98 fchown(log_fd, ent_pw->pw_uid, -1) != 0) in log_start()
106 if (log_fd != -1) in log_reopen()
107 close(log_fd); in log_reopen()
113 log_fd = open(log_file, O_WRONLY|O_CREAT|O_APPEND, S_IRUSR|S_IWUSR|S_IRGRP); in log_reopen()
114 return log_fd != -1; in log_reopen()
121 log_fd = -1; in log_reopen()
125 log_fd = socket(AF_UNIX, connection_type, 0); in log_reopen()
127 if (log_fd == -1) in log_reopen()
131 if (max_logs != 0 && (flags = fcntl(log_fd, F_GETFL)) != -1) in log_reopen()
[all …]
/external/lldb/examples/interposing/darwin/fd_interposing/
DFDInterposing.cpp144 log (int log_fd) in log() argument
146 if (m_str && log_fd >= 0) in log()
151 write (log_fd, m_str, len); in log()
154 write (log_fd, "\n", 1); in log()
233 Dump (int log_fd) const;
362 log (int log_fd, const FDEvent *event, const char *format, ...) __attribute__ ((format (printf, 3, …
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) in log_to_fd() argument
476 if (format && format[0] && log_fd >= 0) in log_to_fd()
481 write (log_fd, buffer, count); in log_to_fd()
[all …]
/external/stressapptest/src/
Dlogger.h75 void SetLogFd(int log_fd) { in SetLogFd() argument
76 LOGGER_ASSERT(log_fd >= 0); in SetLogFd()
77 log_fd_ = log_fd; in SetLogFd()
/external/chromium_org/net/tools/testserver/
Dtestserver_base.py107 def MultiplexerHack(std_fd, log_fd): argument
116 return log_fd
117 return FileMultiplexer(std_fd, log_fd)
/external/chromium_org/components/crash/app/
Dbreakpad_linux.cc1119 int log_fd = sys_open(g_crash_log_path, kLogOpenFlags, 0600); in HandleCrashReportId() local
1120 if (log_fd > 0) { in HandleCrashReportId()
1121 sys_write(log_fd, time_str, time_len); in HandleCrashReportId()
1122 sys_write(log_fd, ",", 1); in HandleCrashReportId()
1123 sys_write(log_fd, buf, my_strlen(buf)); in HandleCrashReportId()
1124 sys_write(log_fd, "\n", 1); in HandleCrashReportId()
1125 IGNORE_RET(sys_close(log_fd)); in HandleCrashReportId()
/external/chromium_org/remoting/host/linux/
Dlinux_me2me_host.py730 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)