Lines Matching refs:USEC_PER_SEC
38 #define USEC_PER_SEC 1000000LL macro
213 tmx.time.tv_sec = offset / USEC_PER_SEC; in set_offset()
214 tmx.time.tv_usec = offset % USEC_PER_SEC; in set_offset()
218 tmx.time.tv_usec += USEC_PER_SEC; in 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(-USEC_PER_SEC - 1, 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, 0)) in validate_set_offset()
293 if (set_offset(5 * USEC_PER_SEC + USEC_PER_SEC / 2, 0)) in validate_set_offset()
296 if (set_offset(-5 * USEC_PER_SEC - USEC_PER_SEC / 2, 0)) in validate_set_offset()
306 if (set_bad_offset(0, 2 * USEC_PER_SEC, 0)) in validate_set_offset()
310 if (set_bad_offset(0, USEC_PER_SEC, 0)) in validate_set_offset()
314 if (set_bad_offset(0, -USEC_PER_SEC, 0)) in validate_set_offset()