Lines Matching refs:typecnt
142 int typecnt; member
366 for (i = sp->typecnt - 1; stddst_mask && 0 <= i; i--) in settzname()
544 int_fast32_t typecnt = detzcode(up->tzhead.tzh_typecnt); in tzloadbody() local
551 && 0 <= typecnt && typecnt < TZ_MAX_TYPES in tzloadbody()
560 + typecnt * 6 /* ttinfos */ in tzloadbody()
570 if (! ((ttisstdcnt == typecnt || ttisstdcnt == 0) in tzloadbody()
571 && (ttisutcnt == typecnt || ttisutcnt == 0))) in tzloadbody()
576 sp->typecnt = typecnt; in tzloadbody()
605 if (sp->typecnt <= typ) in tzloadbody()
611 for (i = 0; i < sp->typecnt; ++i) { in tzloadbody()
667 for (i = 0; i < sp->typecnt; ++i) { in tzloadbody()
679 for (i = 0; i < sp->typecnt; ++i) { in tzloadbody()
702 sp->typecnt + 2 <= TZ_MAX_TYPES) { in tzloadbody()
717 for (i = 0; i < ts->typecnt; i++) { in tzloadbody()
736 if (gotabbr == ts->typecnt) { in tzloadbody()
760 sp->types[sp->timecnt] = (sp->typecnt in tzloadbody()
764 for (i = 0; i < ts->typecnt; i++) in tzloadbody()
765 sp->ttis[sp->typecnt++] = ts->ttis[i]; in tzloadbody()
769 if (sp->typecnt == 0) in tzloadbody()
1180 sp->typecnt = 2; /* standard time and DST */ in tzparse()
1265 sp->typecnt = 1; /* Perpetual DST. */ in tzparse()
1346 sp->typecnt = 2; in tzparse()
1350 sp->typecnt = 1; /* only standard time */ in tzparse()
1415 sp->typecnt = 0; in zoneinit()
2262 for (i = sp->typecnt - 1; i >= 0; --i) { in time2sub()
2265 for (j = sp->typecnt - 1; j >= 0; --j) { in time2sub()
2359 for (i = 0; i < sp->typecnt; ++i) in time1()