Home
last modified time | relevance | path

Searched refs:timecnt (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/tools/tzcode/
Dlocaltime.c103 int timecnt; member
277 for (i = 0; i < sp->timecnt; ++i) { in settzname()
392 int timecnt; in tzload() local
397 sp->timecnt = (int) detzcode(up->tzhead.tzh_timecnt); in tzload()
403 sp->timecnt < 0 || sp->timecnt > TZ_MAX_TIMES || in tzload()
409 sp->timecnt * stored + /* ats */ in tzload()
410 sp->timecnt + /* types */ in tzload()
417 timecnt = 0; in tzload()
418 for (i = 0; i < sp->timecnt; ++i) { in tzload()
426 if (i && !timecnt && at != time_t_min) { in tzload()
[all …]
Dzic.c202 static int timecnt; variable
1608 zic_t *ats = emalloc(size_product(timecnt, sizeof *ats + 1)); in writezone()
1609 void *typesptr = ats + timecnt; in writezone()
1615 if (timecnt > 1) in writezone()
1616 (void) qsort(attypes, timecnt, sizeof *attypes, atcomp); in writezone()
1626 while (fromi < timecnt && attypes[fromi].at < min_time) in writezone()
1632 while (fromi < timecnt && attypes[fromi].type == 1) in writezone()
1634 for ( ; fromi < timecnt; ++fromi) { in writezone()
1647 timecnt = toi; in writezone()
1652 for (i = 0; i < timecnt; ++i) { in writezone()
[all …]
Dtz2icu.cpp324 int64_t timecnt = readcoded(file, 0); in readzoneinfo() local
338 vector<int64_t> transitionTimes(timecnt, -1); // temporary in readzoneinfo()
339 vector<int32_t> transitionTypes(timecnt, -1); // temporary in readzoneinfo()
342 for (i=0; i<timecnt; ++i) { in readzoneinfo()
351 for (i=0; i<timecnt; ++i) { in readzoneinfo()
366 if (timecnt > 0) { in readzoneinfo()
368 for (i=0; i<timecnt; ++i) { in readzoneinfo()
395 for (i=0; i<timecnt; ++i) { in readzoneinfo()
422 assert(timecnt > 0); in readzoneinfo()
/external/python/dateutil/dateutil/tz/
Dtz.py456 timecnt,
475 if timecnt:
476 out.trans_list_utc = list(struct.unpack(">%dl" % timecnt,
477 fileobj.read(timecnt*4)))
488 if timecnt:
489 out.trans_idx = struct.unpack(">%dB" % timecnt,
490 fileobj.read(timecnt))
581 for i in range(timecnt-1, -1, -1):