Lines Matching refs:now
162 struct timeval now; in processTimeouts() local
166 getNow(&now); in processTimeouts()
169 dlog("~~~~ Looking for timers <= %ds + %dus ~~~~", (int)now.tv_sec, (int)now.tv_usec); in processTimeouts()
170 while ((tev != &timer_list) && (timercmp(&now, &tev->timeout, >))) { in processTimeouts()
218 struct timeval now; in calcNextTimeout() local
220 getNow(&now); in calcNextTimeout()
228 dlog("~~~~ now = %ds + %dus ~~~~", (int)now.tv_sec, (int)now.tv_usec); in calcNextTimeout()
231 if (timercmp(&tev->timeout, &now, >)) { in calcNextTimeout()
232 timersub(&tev->timeout, &now, tv); in calcNextTimeout()
297 struct timeval now; in ril_timer_add() local
298 getNow(&now); in ril_timer_add()
299 timeradd(&now, tv, &ev->timeout); in ril_timer_add()