Lines Matching refs:now
163 struct timeval now; in processTimeouts() local
167 getNow(&now); in processTimeouts()
170 dlog("~~~~ Looking for timers <= %ds + %dus ~~~~", (int)now.tv_sec, (int)now.tv_usec); in processTimeouts()
171 while ((tev != &timer_list) && (timercmp(&now, &tev->timeout, >))) { in processTimeouts()
219 struct timeval now; in calcNextTimeout() local
221 getNow(&now); in calcNextTimeout()
229 dlog("~~~~ now = %ds + %dus ~~~~", (int)now.tv_sec, (int)now.tv_usec); in calcNextTimeout()
232 if (timercmp(&tev->timeout, &now, >)) { in calcNextTimeout()
233 timersub(&tev->timeout, &now, tv); in calcNextTimeout()
298 struct timeval now; in ril_timer_add() local
299 getNow(&now); in ril_timer_add()
300 timeradd(&now, tv, &ev->timeout); in ril_timer_add()