Lines Matching refs:ats
176 time_t ats[TZ_MAX_TIMES];
495 sp->timecnt * stored + /* ats */
504 sp->ats[i] = (stored == 4) ?
567 ** Out-of-sort ats should mean we're running on a
572 if (sp->ats[i] > sp->ats[i + 1]) {
586 sp->ats[j] = sp->ats[j + i];
625 ts.ats[i] <=
626 sp->ats[sp->timecnt - 1])
630 sp->ats[sp->timecnt] =
631 ts.ats[i];
645 differ_by_repeat(sp->ats[i], sp->ats[0]);
648 differ_by_repeat(sp->ats[sp->timecnt - 1],
649 sp->ats[sp->timecnt - 1 - i]);
1053 atp = sp->ats;
1145 sp->ats[i] += dstoffset -
1148 sp->ats[i] += stdoffset -
1310 if ((sp->goback && t < sp->ats[0]) ||
1311 (sp->goahead && t > sp->ats[sp->timecnt - 1])) {
1317 if (t < sp->ats[0])
1318 seconds = sp->ats[0] - t;
1319 else seconds = t - sp->ats[sp->timecnt - 1];
1329 if (t < sp->ats[0])
1332 if (newt < sp->ats[0] ||
1333 newt > sp->ats[sp->timecnt - 1])
1340 if (t < sp->ats[0])
1349 if (sp->timecnt == 0 || t < sp->ats[0]) {
1363 if (t < sp->ats[mid])