Lines Matching refs:set_offset
196 int set_offset(long long offset, int use_nano)
257 if (set_offset(NSEC_PER_SEC - 1, 1))
260 if (set_offset(-NSEC_PER_SEC + 1, 1))
263 if (set_offset(-NSEC_PER_SEC - 1, 1))
266 if (set_offset(5 * NSEC_PER_SEC, 1))
269 if (set_offset(-5 * NSEC_PER_SEC, 1))
272 if (set_offset(5 * NSEC_PER_SEC + NSEC_PER_SEC / 2, 1))
275 if (set_offset(-5 * NSEC_PER_SEC - NSEC_PER_SEC / 2, 1))
278 if (set_offset(USEC_PER_SEC - 1, 0))
281 if (set_offset(-USEC_PER_SEC + 1, 0))
284 if (set_offset(-USEC_PER_SEC - 1, 0))
287 if (set_offset(5 * USEC_PER_SEC, 0))
290 if (set_offset(-5 * USEC_PER_SEC, 0))
293 if (set_offset(5 * USEC_PER_SEC + USEC_PER_SEC / 2, 0))
296 if (set_offset(-5 * USEC_PER_SEC - USEC_PER_SEC / 2, 0))