Lines Matching refs:leapcnt
115 int leapcnt; member
501 int_fast32_t leapcnt = detzcode(up->tzhead.tzh_leapcnt); in tzloadbody() local
509 if (! (0 <= leapcnt && leapcnt < TZ_MAX_LEAPS in tzloadbody()
521 + leapcnt * (stored + 4) /* lsinfos */ in tzloadbody()
533 sp->leapcnt = leapcnt; in tzloadbody()
593 leapcnt = 0; in tzloadbody()
594 for (i = 0; i < sp->leapcnt; ++i) { in tzloadbody()
619 sp->lsis[leapcnt].ls_trans = tr; in tzloadbody()
620 sp->lsis[leapcnt].ls_corr = corr; in tzloadbody()
621 leapcnt++; in tzloadbody()
624 sp->leapcnt = leapcnt; in tzloadbody()
1182 sp->leapcnt = basep->leapcnt; in tzparse()
1183 memcpy(sp->lsis, basep->lsis, sp->leapcnt * sizeof *sp->lsis); in tzparse()
1187 sp->leapcnt = 0; /* So, we're off a little. */ in tzparse()
1189 if (0 < sp->leapcnt) in tzparse()
1190 leaplo = sp->lsis[sp->leapcnt - 1].ls_trans; in tzparse()
1435 sp->leapcnt = 0; /* so, we're off a little */ in zoneinit()
1800 i = (sp == NULL) ? 0 : sp->leapcnt; in timesub()
2406 i = sp->leapcnt; in leapcorr()