Lines Matching refs:tv_sec
48 if ((next.it_value.tv_sec > 0) ||
49 ((next.it_value.tv_sec == 0) && (next.it_value.tv_usec > 0)))
52 next.it_value.tv_sec, next.it_value.tv_usec);
56 next.it_value.tv_sec, next.it_value.tv_usec, strerror(errno));
76 firein.tv_sec = (long)secs;
77 firein.tv_usec = (long)((secs - (double)firein.tv_sec) * 1000000);
79 dlog(LOG_DEBUG, 5, "setting timer: %ld secs %ld usecs", firein.tv_sec, firein.tv_usec);
93 } while ((tm->expires.tv_sec > lst->expires.tv_sec) ||
94 ((tm->expires.tv_sec == lst->expires.tv_sec) &&
150 while (tm->expires.tv_sec != LONG_MAX && check_time_diff(tm, tv))
185 diff.it_value.tv_sec, diff.it_value.tv_usec);
187 if (diff.it_value.tv_sec <= 0) {
189 if (diff.it_value.tv_sec < 0)