Lines Matching refs:offset
91 static time_t offset, shuttime;
139 offset = 0;
219 if (offset)
254 if (offset <= NOLOG_TIME) {
261 if (tp->timeleft < offset)
262 (void)sleep((u_int)(offset - tp->timeleft));
264 while (tp->timeleft && offset < tp->timeleft)
270 if ((sltime = offset - tp->timeleft)) {
272 timewarn(offset);
327 (offset > 0 && offset < 30 ? "less than " : ""));
425 offset = 0;
434 offset = strtol(timearg, &timeunit, 10);
435 if (offset < 0 || offset == LONG_MAX || errno != 0)
440 offset *= 60;
444 offset *= 60 * 60;
448 offset *= 1;
452 shuttime = now + offset;
505 if ((offset = shuttime - now) < 0)