Lines Matching defs:now
38 const struct timeval *now,
44 if (tout->tv_sec < now->tv_sec ||
45 (tout->tv_sec == now->tv_sec && tout->tv_usec < now->tv_usec)) {
49 remaining->tv_sec = tout->tv_sec - now->tv_sec;
50 if (tout->tv_usec < now->tv_usec) {
52 remaining->tv_usec = (tout->tv_usec + 1000000) - now->tv_usec;
54 remaining->tv_usec = tout->tv_usec - now->tv_usec;
63 struct timeval now;
75 now = ares__tvnow();
77 ares__timeval_remaining(tvbuf, &now, &query->timeout);