Lines Matching refs:set_offset
196 int set_offset(long long offset, int use_nano) in set_offset() function
256 if (set_offset(NSEC_PER_SEC - 1, 1)) in validate_set_offset()
259 if (set_offset(-NSEC_PER_SEC + 1, 1)) in validate_set_offset()
262 if (set_offset(-NSEC_PER_SEC - 1, 1)) in validate_set_offset()
265 if (set_offset(5 * NSEC_PER_SEC, 1)) in validate_set_offset()
268 if (set_offset(-5 * NSEC_PER_SEC, 1)) in validate_set_offset()
271 if (set_offset(5 * NSEC_PER_SEC + NSEC_PER_SEC / 2, 1)) in validate_set_offset()
274 if (set_offset(-5 * NSEC_PER_SEC - NSEC_PER_SEC / 2, 1)) in validate_set_offset()
277 if (set_offset(USEC_PER_SEC - 1, 0)) in validate_set_offset()
280 if (set_offset(-USEC_PER_SEC + 1, 0)) in validate_set_offset()
283 if (set_offset(-USEC_PER_SEC - 1, 0)) in validate_set_offset()
286 if (set_offset(5 * USEC_PER_SEC, 0)) in validate_set_offset()
289 if (set_offset(-5 * USEC_PER_SEC, 0)) in validate_set_offset()
292 if (set_offset(5 * USEC_PER_SEC + USEC_PER_SEC / 2, 0)) in validate_set_offset()
295 if (set_offset(-5 * USEC_PER_SEC - USEC_PER_SEC / 2, 0)) in validate_set_offset()