Home
last modified time | relevance | path

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

/external/icu/icu4c/source/tools/tzcode/
Dlocaltime.c104 int typecnt; member
272 for (i = 0; i < sp->typecnt; ++i) { in settzname()
305 for (i = 0; i < sp->typecnt; ++i) { in settzname()
398 sp->typecnt = (int) detzcode(up->tzhead.tzh_typecnt); in tzload()
402 sp->typecnt <= 0 || sp->typecnt > TZ_MAX_TYPES || in tzload()
405 (ttisstdcnt != sp->typecnt && ttisstdcnt != 0) || in tzload()
406 (ttisgmtcnt != sp->typecnt && ttisgmtcnt != 0)) in tzload()
411 sp->typecnt * 6 + /* ttinfos */ in tzload()
442 if (sp->typecnt <= typ) in tzload()
448 for (i = 0; i < sp->typecnt; ++i) { in tzload()
[all …]
Dzic.c204 static int typecnt; variable
1738 for (i = 1; i < typecnt; ++i) in writezone()
1745 if (typecnt != 0) in writezone()
1746 writetype[typecnt - 1] = TRUE; in writezone()
1777 for (i = 0; i < typecnt; ++i) in writezone()
1818 for (i = 1; i < typecnt; ++i) in writezone()
1832 for (i = 0; i < typecnt; ++i) in writezone()
1837 for (i = 0; i < typecnt; ++i) { in writezone()
1890 for (i = 0; i < typecnt; ++i) in writezone()
1911 if (++j >= typecnt) { in writezone()
[all …]
Dtz2icu.cpp324 int64_t typecnt = readcoded(file, 0); in readzoneinfo() local
330 if (isgmtcnt != typecnt || isdstcnt != typecnt) { in readzoneinfo()
354 if (t < 0 || t >= typecnt) { in readzoneinfo()
356 os << "illegal type: " << t << ", expected [0, " << (typecnt-1) << "]"; in readzoneinfo()
400 for (i=0; i<typecnt; ++i) { in readzoneinfo()
418 assert(info.types.size() == (unsigned) typecnt); in readzoneinfo()
422 assert(typecnt > 0); in readzoneinfo()
521 for (i=0; i<typecnt; ++i) info.types[i].isstd = readbool(file); in readzoneinfo()
524 for (i=0; i<typecnt; ++i) info.types[i].isgmt = readbool(file); in readzoneinfo()