Home
last modified time | relevance | path

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

/mirbsd/src/lib/libc/time/
Dlocaltime.c127 int typecnt; member
230 for (i = 0; i < sp->typecnt; ++i) { in settzname()
257 for (i = 0; i < sp->typecnt; ++i) { in settzname()
332 sp->typecnt = (int)detzcode(u.tzhead.tzh_typecnt);
336 sp->typecnt <= 0 || sp->typecnt > TZ_MAX_TYPES ||
339 (ttisstdcnt != sp->typecnt && ttisstdcnt != 0) ||
340 (ttisgmtcnt != sp->typecnt && ttisgmtcnt != 0))
344 sp->typecnt * (4 + 2) + /* ttinfos */
356 if (sp->types[i] >= sp->typecnt)
359 for (i = 0; i < sp->typecnt; ++i) {
[all …]
Dzic.c169 static int typecnt; variable
1523 convert(eitol(typecnt), tzh.tzh_ttisgmtcnt);
1524 convert(eitol(typecnt), tzh.tzh_ttisstdcnt);
1527 convert(eitol(typecnt), tzh.tzh_typecnt);
1553 for (i = 0; i < typecnt; ++i) {
1566 if (++j >= typecnt) {
1580 for (i = 0; i < typecnt; ++i)
1582 for (i = 0; i < typecnt; ++i)
1636 typecnt = 0;
1818 typecnt = 1;
[all …]