Lines Matching refs:offset

120 	long		tt_gmtoff;	/* UTC offset in seconds */
183 static struct tm * gmtsub P((const time_t * timep, long offset,
185 static struct tm * localsub P((const time_t * timep, long offset,
198 long offset, const struct state * sp));
202 long offset, int * okayp, const struct state * sp));
205 long offset, int * okayp, int do_norm_secs,
207 static struct tm * timesub P((const time_t * timep, long offset,
212 const struct rule * rulep, long offset));
745 ** Given a pointer into a time zone string, extract an offset, in
828 ** year, a rule, and the offset from UTC at the time that rule takes effect,
833 transtime(janfirst, year, rulep, offset)
837 const long offset;
916 ** time on that day, add the transition time and the current offset
919 return value + rulep->r_time + offset;
1103 ** offset to the transition time;
1105 ** offset to the transition time.
1111 ** offset.
1176 ** The unused offset argument is for the benefit of mktime variants.
1181 localsub(timep, offset, tmp, sp)
1183 const long offset;
1194 return gmtsub(timep, offset, tmp);
1221 result = localsub(&newt, offset, tmp, sp);
1308 gmtsub(timep, offset, tmp)
1310 const long offset;
1323 result = timesub(timep, offset, gmtptr, tmp);
1327 ** "UTC+xxxx" or "UTC-xxxx" if offset is non-zero,
1330 if (offset != 0)
1376 offtime(timep, offset)
1378 const long offset;
1380 return gmtsub(timep, offset, &tm);
1400 timesub(timep, offset, sp, tmp)
1402 const long offset;
1479 rem += offset - corr;
1528 tmp->TM_GMTOFF = offset;
1660 time2sub(tmp, funcp, offset, okayp, do_norm_secs, sp)
1663 const long offset;
1695 ** It is converted back to an offset from TM_YEAR_BASE later.
1769 if ((*funcp)(&t, offset, &mytm, sp) == NULL) {
1819 if ((*funcp)(&newt, offset, &mytm, sp) == NULL)
1839 if ((*funcp)(&t, offset, tmp, sp))
1845 time2(tmp, funcp, offset, okayp, sp)
1849 const long offset;
1860 t = time2sub(tmp, funcp, offset, okayp, FALSE, sp);
1861 return *okayp ? t : time2sub(tmp, funcp, offset, okayp, TRUE, sp);
1865 time1(tmp, funcp, offset, sp)
1868 const long offset;
1882 t = time2(tmp, funcp, offset, &okay, sp);
1929 t = time2(tmp, funcp, offset, &okay, sp);