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

/bionic/libc/dns/resolv/
H A Dres_init.c258 * important now that the rfc1535 stuff restricts searches)
655 struct timeval now; local
656 gettimeofday(&now, NULL);
657 return (0xffff & (now.tv_sec ^ now.tv_usec ^ getpid()));
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.c1587 time_t now = _time_now(); local
1591 if (now >= e->expires) {
1616 time_t now; local
1660 now = _time_now();
1663 if (now >= e->expires) {
2089 // now do search domains. Note that we cache the offsets as this code runs alot
/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." */

Completed in 142 milliseconds