Home
last modified time | relevance | path

Searched refs:log_fd (Results 1 – 5 of 5) 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/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.py99 def MultiplexerHack(std_fd, log_fd): argument
108 return log_fd
109 return FileMultiplexer(std_fd, log_fd)
/external/chromium_org/components/breakpad/app/
Dbreakpad_linux.cc1407 int log_fd = sys_open(g_crash_log_path, in HandleCrashDump() local
1410 if (log_fd > 0) { in HandleCrashDump()
1411 sys_write(log_fd, time_str, time_len); in HandleCrashDump()
1412 sys_write(log_fd, ",", 1); in HandleCrashDump()
1413 sys_write(log_fd, id_buf, my_strlen(id_buf)); in HandleCrashDump()
1414 sys_write(log_fd, "\n", 1); in HandleCrashDump()
1415 IGNORE_RET(sys_close(log_fd)); in HandleCrashDump()
/external/chromium_org/remoting/tools/
Dme2me_virtual_host.py679 log_fd = log_file.file.fileno()
681 log_fd = os.open(os.environ[LOG_FILE_ENV_VAR],
720 os.dup2(log_fd, sys.stdout.fileno())
721 os.dup2(log_fd, sys.stderr.fileno())
725 os.close(log_fd)