Searched defs:now (Results 1 - 3 of 3) sorted by relevance

/bionic/libc/upstream-netbsd/lib/libc/isc/
H A Dev_timers.c125 struct timeval now; local
139 if (gettimeofday(&now, NULL) < 0)
141 return (evTimeSpec(now));
146 struct timeval now; local
152 if (gettimeofday(&now, NULL) < 0)
154 return (evTimeSpec(now));
219 /* due={0,0} is a magic cookie meaning "now." */
/bionic/libc/dns/resolv/
H A Dres_send.c948 struct timespec now, timeout, finish; local
959 now = evNowTime();
961 finish = evAddTime(now, timeout);
983 struct timespec now, timeout; local
993 now = evNowTime();
1002 if (evCmpTime(*finish, now) > 0)
1003 timeout = evSubTime(*finish, now);
1055 struct timespec now, timeout, finish; local
1141 now = evNowTime();
1143 finish = evAddTime(now, timeou
[all...]
H A Dres_cache.c1592 time_t now = _time_now(); local
1596 if (now >= e->expires) {
1621 time_t now; local
1665 now = _time_now();
1668 if (now >= e->expires) {
2094 // now do search domains. Note that we cache the offsets as this code runs alot

Completed in 32 milliseconds