Lines Matching refs:ats
129 time_t ats[TZ_MAX_TIMES]; member
481 if (timecnt && attime <= sp->ats[timecnt - 1]) { in tzloadbody()
482 if (attime < sp->ats[timecnt - 1]) in tzloadbody()
487 sp->ats[timecnt++] = attime; in tzloadbody()
615 if (sp->ats[sp->timecnt - 1] < ts->ats[i]) in tzloadbody()
619 sp->ats[sp->timecnt] = ts->ats[i]; in tzloadbody()
633 differ_by_repeat(sp->ats[i], sp->ats[0])) { in tzloadbody()
640 differ_by_repeat(sp->ats[sp->timecnt - 1], in tzloadbody()
641 sp->ats[i])) { in tzloadbody()
1129 sp->ats[timecnt] = janfirst; in tzparse()
1131 (&sp->ats[timecnt], starttime)) in tzparse()
1134 sp->ats[timecnt] = janfirst; in tzparse()
1136 (&sp->ats[timecnt], endtime)) in tzparse()
1207 sp->ats[i] += dstoffset - in tzparse()
1210 sp->ats[i] += stdoffset - in tzparse()
1414 if ((sp->goback && t < sp->ats[0]) || in localsub()
1415 (sp->goahead && t > sp->ats[sp->timecnt - 1])) { in localsub()
1420 if (t < sp->ats[0]) in localsub()
1421 seconds = sp->ats[0] - t; in localsub()
1422 else seconds = t - sp->ats[sp->timecnt - 1]; in localsub()
1426 if (t < sp->ats[0]) in localsub()
1429 if (newt < sp->ats[0] || in localsub()
1430 newt > sp->ats[sp->timecnt - 1]) in localsub()
1437 if (t < sp->ats[0]) in localsub()
1446 if (sp->timecnt == 0 || t < sp->ats[0]) { in localsub()
1455 if (t < sp->ats[mid]) in localsub()