Lines Matching defs:NSEC_PER_SEC
34 #define NSEC_PER_SEC 1000000000LL
204 tmx.time.tv_sec = offset / NSEC_PER_SEC;
205 tmx.time.tv_usec = offset % NSEC_PER_SEC;
209 tmx.time.tv_usec += NSEC_PER_SEC;
256 if (set_offset(NSEC_PER_SEC - 1, 1))
259 if (set_offset(-NSEC_PER_SEC + 1, 1))
262 if (set_offset(-NSEC_PER_SEC - 1, 1))
265 if (set_offset(5 * NSEC_PER_SEC, 1))
268 if (set_offset(-5 * NSEC_PER_SEC, 1))
271 if (set_offset(5 * NSEC_PER_SEC + NSEC_PER_SEC / 2, 1))
274 if (set_offset(-5 * NSEC_PER_SEC - NSEC_PER_SEC / 2, 1))
303 if (set_bad_offset(0, 2 * NSEC_PER_SEC, 1))
307 if (set_bad_offset(0, NSEC_PER_SEC, 1))
311 if (set_bad_offset(0, -NSEC_PER_SEC, 1))