Lines Matching refs:now
131 const struct timeval *now)
141 if (entry->expire_ts > now->tv_sec) {
152 struct timeval now;
153 memset(&now, 0, sizeof(now));
154 ares__qcache_expire(cache, &now);
313 const struct timeval *now)
356 entry->expire_ts = now->tv_sec + (time_t)ttl;
357 entry->insert_ts = now->tv_sec;
389 const struct timeval *now,
400 ares__qcache_expire(qcache, now);
415 entry->dnsrec, (unsigned int)(now->tv_sec - entry->insert_ts));
425 const struct timeval *now,
430 now);
434 const struct timeval *now,
450 status = ares__qcache_fetch(channel->qcache, dnsrec, now, abuf, alen);