Lines Matching defs:leap
12 * Regression test for hrtimer early expiration during and after leap seconds
15 * timers to expire one second early during leap second.
67 "insert leap second",
68 "delete leap second",
69 "leap second in progress",
70 "leap second has occurred",
125 struct timespec now, leap, start;
134 /* calculate the next leap second */
137 leap = now;
138 tst_res(TINFO, "scheduling leap second %s", strtime(&leap));
140 /* start before the leap second */
150 /* set the leap second insert flag */
153 /* reliably sleep until after the leap second */
154 while (tx.time.tv_sec < leap.tv_sec + SECONDS_AFTER_LEAP) {
166 start.tv_sec += now.tv_sec - (leap.tv_sec - SECONDS_BEFORE_LEAP);