Lines Matching refs:now
46 struct timeval now;
47 GetNowTime(now);
48 TELEPHONY_LOGD("now = %{public}ds + %{public}dus", (int32_t)now.tv_sec, (int32_t)now.tv_usec);
51 if (timercmp(&eventIt->timeout, &now, >)) {
52 timersub(&eventIt->timeout, &now, &tv);
62 struct timeval now;
65 GetNowTime(now);
67 TELEPHONY_LOGD("finding for timers <= %{public}ds + %{public}dus", (int32_t)now.tv_sec, (int32_t)now.tv_usec);
68 while ((eventIt != timerList_.end()) && (timercmp(&now, &eventIt->timeout, >))) {
158 struct timeval now;
161 GetNowTime(now);
162 timeradd(&now, &tv, &eventMsg.timeout);