Lines Matching defs:offset
29 * off_id is -1 if a clock has own offset, or it contains an index
30 * which contains a right offset of this clock.
33 time_t offset;
88 static int test_gettime(clockid_t clock_index, bool raw_syscall, time_t offset)
111 child_ts_new.tv_sec = parent_ts_old.tv_sec + offset;
151 time_t offset;
169 offset = TEN_DAYS_IN_SEC + i * 1000;
170 clocks[i].offset = offset;
171 if (_settime(clocks[i].id, offset))
177 offset = clocks[clocks[i].off_id].offset;
179 offset = clocks[i].offset;
180 ret |= test_gettime(i, true, offset);
181 ret |= test_gettime(i, false, offset);