Lines Matching refs:set_offset
195 int set_offset(long long offset, int use_nano) in set_offset() function
255 if (set_offset(NSEC_PER_SEC - 1, 1)) in validate_set_offset()
258 if (set_offset(-NSEC_PER_SEC + 1, 1)) in validate_set_offset()
261 if (set_offset(-NSEC_PER_SEC - 1, 1)) in validate_set_offset()
264 if (set_offset(5 * NSEC_PER_SEC, 1)) in validate_set_offset()
267 if (set_offset(-5 * NSEC_PER_SEC, 1)) in validate_set_offset()
270 if (set_offset(5 * NSEC_PER_SEC + NSEC_PER_SEC / 2, 1)) in validate_set_offset()
273 if (set_offset(-5 * NSEC_PER_SEC - NSEC_PER_SEC / 2, 1)) in validate_set_offset()
276 if (set_offset(USEC_PER_SEC - 1, 0)) in validate_set_offset()
279 if (set_offset(-USEC_PER_SEC + 1, 0)) in validate_set_offset()
282 if (set_offset(-USEC_PER_SEC - 1, 0)) in validate_set_offset()
285 if (set_offset(5 * USEC_PER_SEC, 0)) in validate_set_offset()
288 if (set_offset(-5 * USEC_PER_SEC, 0)) in validate_set_offset()
291 if (set_offset(5 * USEC_PER_SEC + USEC_PER_SEC / 2, 0)) in validate_set_offset()
294 if (set_offset(-5 * USEC_PER_SEC - USEC_PER_SEC / 2, 0)) in validate_set_offset()