Lines Matching refs:now
45 struct timeval now; in GetNextTimeOut() local
46 GetNowTime(now); in GetNextTimeOut()
47 TELEPHONY_LOGD("now = %{public}ds + %{public}dus", (int32_t)now.tv_sec, (int32_t)now.tv_usec); in GetNextTimeOut()
50 if (timercmp(&eventIt->timeout, &now, >)) { in GetNextTimeOut()
51 timersub(&eventIt->timeout, &now, &tv); in GetNextTimeOut()
61 struct timeval now; in ProcessTimerList() local
64 GetNowTime(now); in ProcessTimerList()
66 …OGD("finding for timers <= %{public}ds + %{public}dus", (int32_t)now.tv_sec, (int32_t)now.tv_usec); in ProcessTimerList()
67 while ((eventIt != timerList_.end()) && (timercmp(&now, &eventIt->timeout, >))) { in ProcessTimerList()
137 struct timeval now; in AddTimerEvent() local
140 GetNowTime(now); in AddTimerEvent()
141 timeradd(&now, &tv, &eventMsg.timeout); in AddTimerEvent()