Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Dlocaltime.c111 int typecnt; member
222 (struct ttinfo *)calloc((unsigned)sp->typecnt,
274 for (i = 0; i < sp->typecnt; ++i) { in settzname()
362 sp->typecnt = (int) detzcode(tzhp->tzh_typecnt);
365 sp->typecnt <= 0 || sp->typecnt > TZ_MAX_TYPES ||
368 (ttisstdcnt != sp->typecnt && ttisstdcnt != 0))
372 sp->typecnt * (4 + 2 * sizeof (char)) +
386 if (sp->types[i] >= sp->typecnt)
389 for (i = 0; i < sp->typecnt; ++i) {
407 for (i = 0; i < sp->typecnt; ++i) {
[all …]
/titanic_44/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 …]
/titanic_44/usr/src/cmd/zic/
H A Dzic.c155 static int typecnt; variable
1542 convert(eitol(typecnt), tzh.tzh_ttisgmtcnt);
1543 convert(eitol(typecnt), tzh.tzh_ttisstdcnt);
1546 convert(eitol(typecnt), tzh.tzh_typecnt);
1572 for (i = 0; i < typecnt; ++i) {
1585 if (++j >= typecnt) {
1599 for (i = 0; i < typecnt; ++i)
1601 for (i = 0; i < typecnt; ++i)
1655 typecnt = 0;
1834 typecnt = 1;
[all …]