Lines Matching refs:USEC_PER_SEC
210 tmx.time.tv_sec = offset / USEC_PER_SEC; in set_offset()
211 tmx.time.tv_usec = offset % USEC_PER_SEC; in set_offset()
215 tmx.time.tv_usec += USEC_PER_SEC; in set_offset()
275 if (set_offset(USEC_PER_SEC - 1, 0)) in validate_set_offset()
278 if (set_offset(-USEC_PER_SEC + 1, 0)) in validate_set_offset()
281 if (set_offset(-USEC_PER_SEC - 1, 0)) in validate_set_offset()
284 if (set_offset(5 * USEC_PER_SEC, 0)) in validate_set_offset()
287 if (set_offset(-5 * USEC_PER_SEC, 0)) in validate_set_offset()
290 if (set_offset(5 * USEC_PER_SEC + USEC_PER_SEC / 2, 0)) in validate_set_offset()
293 if (set_offset(-5 * USEC_PER_SEC - USEC_PER_SEC / 2, 0)) in validate_set_offset()
303 if (set_bad_offset(0, 2 * USEC_PER_SEC, 0)) in validate_set_offset()
307 if (set_bad_offset(0, USEC_PER_SEC, 0)) in validate_set_offset()
311 if (set_bad_offset(0, -USEC_PER_SEC, 0)) in validate_set_offset()