Lines Matching defs:next_leap
56 time_t next_leap;
138 if (tx.time.tv_sec < next_leap) {
139 printf("Error: Early timer expiration! (Should be %ld)\n", next_leap);
246 next_leap = ts.tv_sec;
247 next_leap += 86400 - (next_leap % 86400);
252 tv.tv_sec = next_leap - 10;
288 printf("Scheduling leap second for %s", ctime(&next_leap));
291 printf("Setting timer for %ld - %s", next_leap, ctime(&next_leap));
300 its1.it_value.tv_sec = next_leap;
307 ts.tv_sec = next_leap - 3;
329 while (now < next_leap + 2) {