Home
last modified time | relevance | path

Searched refs:typecnt (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dlocaltime.c281 int typecnt; /* # zone types */ member
1085 if (lclzonep->timecnt <= 0 || lclzonep->typecnt < 2) { in set_zone_context()
1505 sp->typecnt = CVTZCODE(cp); in load_zoneinfo()
1510 sp->typecnt <= 0 || sp->typecnt > TZ_MAX_TYPES || in load_zoneinfo()
1513 (ttisstdcnt != sp->typecnt && ttisstdcnt != 0) || in load_zoneinfo()
1514 (ttisgmtcnt != sp->typecnt && ttisgmtcnt != 0)) { in load_zoneinfo()
1521 sp->typecnt * (4 + 2) + /* ttinfos */ in load_zoneinfo()
1545 for (i = 0; i < sp->typecnt; ++i) { in load_zoneinfo()
1595 if ((int)sp->types[i] >= sp->typecnt) { in load_zoneinfo()
1628 for (i = 0; i < sp->typecnt; ++i) { in load_zoneinfo()
[all …]
/illumos-gate/usr/src/cmd/zic/
H A Dzic.c155 static int typecnt; variable
1544 convert(eitol(typecnt), tzh.tzh_ttisgmtcnt);
1545 convert(eitol(typecnt), tzh.tzh_ttisstdcnt);
1548 convert(eitol(typecnt), tzh.tzh_typecnt);
1574 for (i = 0; i < typecnt; ++i) {
1587 if (++j >= typecnt) {
1601 for (i = 0; i < typecnt; ++i)
1603 for (i = 0; i < typecnt; ++i)
1657 typecnt = 0;
1836 typecnt = 1;
[all …]