Lines Matching refs:now
691 static void log_locally(time_t now, char *msg, logFile_t *log_file) in log_locally() argument
707 if (!now) in log_locally()
708 now = time(NULL); in log_locally()
709 if (log_file->last_log_time != now) { in log_locally()
710 log_file->last_log_time = now; in log_locally()
827 time_t now; in timestamp_and_log() local
837 now = 0; in timestamp_and_log()
846 now = tv.tv_sec; in timestamp_and_log()
847 timestamp = ctime(&now) + 4; /* skip day of week */ in timestamp_and_log()
855 time(&now); in timestamp_and_log()
856 timestamp = ctime(&now) + 4; /* skip day of week */ in timestamp_and_log()
884 log_locally(now, G.printbuf, rule->file); in timestamp_and_log()
899 log_locally(now, G.printbuf, &G.logFile); in timestamp_and_log()
991 unsigned now = monotonic_sec(); in try_to_resolve_remote() local
994 if ((now - rh->last_dns_resolve) < DNS_WAIT_SEC) in try_to_resolve_remote()
996 rh->last_dns_resolve = now; in try_to_resolve_remote()