Home
last modified time | relevance | path

Searched refs:charcnt (Results 1 – 12 of 12) sorted by relevance

/third_party/python/Lib/zoneinfo/
D_common.py43 + header.charcnt # Time zone designations
57 charcnt = header.charcnt
84 abbr_chars = fobj.read(charcnt)
/third_party/tzdata/
Dlocaltime.c118 int charcnt; member
352 for (i = 0; i < sp->charcnt - (TZNAME_MAXIMUM + 1); ) { in scrub_abbrs()
360 for (i = 0; i < sp->charcnt; ++i) in scrub_abbrs()
475 int_fast32_t charcnt = detzcode(up->tzhead.tzh_charcnt); in tzloadbody() local
483 && 0 <= charcnt && charcnt < TZ_MAX_CHARS in tzloadbody()
491 + charcnt /* chars */ in tzloadbody()
507 sp->charcnt = charcnt; in tzloadbody()
553 if (! (desigidx < sp->charcnt)) in tzloadbody()
557 for (i = 0; i < sp->charcnt; ++i) in tzloadbody()
646 int charcnt = sp->charcnt; in tzloadbody() local
[all …]
Dzic.c210 static int charcnt; variable
3110 charcnt = 0; in outzone()
3465 for (j = 0; j < charcnt; ++j) in addtype()
3468 if (j == charcnt) in addtype()
3870 if (charcnt + i > TZ_MAX_CHARS) { in newabbr()
3874 strcpy(&chars[charcnt], string); in newabbr()
3875 charcnt += i; in newabbr()
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
Dlocaltime.c105 int charcnt; member
299 for (i = 0; i < sp->charcnt; ++i) in settzname()
399 sp->charcnt = (int) detzcode(up->tzhead.tzh_charcnt); in tzload()
404 sp->charcnt < 0 || sp->charcnt > TZ_MAX_CHARS || in tzload()
412 sp->charcnt + /* chars */ in tzload()
459 ttisp->tt_abbrind > sp->charcnt) in tzload()
462 for (i = 0; i < sp->charcnt; ++i) in tzload()
524 sp->charcnt + ts.charcnt <= TZ_MAX_CHARS) { in tzload()
527 sp->charcnt; in tzload()
528 for (i = 0; i < ts.charcnt; ++i) in tzload()
[all …]
Dzic.c186 static int charcnt; variable
2258 charcnt = 0; in outzone()
2694 charcnt = strlen(chars) + 1; in addtt()
2773 for (j = 0; j < charcnt; ++j) in addtype()
2776 if (j == charcnt) in addtype()
3099 if (charcnt + i > TZ_MAX_CHARS) { in newabbr()
3103 (void) strcpy(&chars[charcnt], string); in newabbr()
3104 charcnt += i; in newabbr()
Dtz2icu.cpp326 int64_t charcnt = readcoded(file, 0); in readzoneinfo() local
451 if (charcnt) { in readzoneinfo()
454 char* str = new char[charcnt + 8]; in readzoneinfo()
455 file.read(str, charcnt); in readzoneinfo()
460 char *limit=str+charcnt; in readzoneinfo()
/third_party/icu/icu4c/source/tools/tzcode/
Dlocaltime.c107 int charcnt; member
301 for (i = 0; i < sp->charcnt; ++i) in settzname()
401 sp->charcnt = (int) detzcode(up->tzhead.tzh_charcnt); in tzload()
406 sp->charcnt < 0 || sp->charcnt > TZ_MAX_CHARS || in tzload()
414 sp->charcnt + /* chars */ in tzload()
461 ttisp->tt_abbrind > sp->charcnt) in tzload()
464 for (i = 0; i < sp->charcnt; ++i) in tzload()
526 sp->charcnt + ts.charcnt <= TZ_MAX_CHARS) { in tzload()
529 sp->charcnt; in tzload()
530 for (i = 0; i < ts.charcnt; ++i) in tzload()
[all …]
Dzic.c187 static int charcnt; variable
2259 charcnt = 0; in outzone()
2695 charcnt = strlen(chars) + 1; in addtt()
2774 for (j = 0; j < charcnt; ++j) in addtype()
2777 if (j == charcnt) in addtype()
3100 if (charcnt + i > TZ_MAX_CHARS) { in newabbr()
3104 (void) strcpy(&chars[charcnt], string); in newabbr()
3105 charcnt += i; in newabbr()
Dtz2icu.cpp326 int64_t charcnt = readcoded(file, 0); in readzoneinfo() local
451 if (charcnt) { in readzoneinfo()
454 char* str = new char[charcnt + 8]; in readzoneinfo()
455 file.read(str, charcnt); in readzoneinfo()
460 char *limit=str+charcnt; in readzoneinfo()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc259 charcnt = static_cast<std::size_t>(v); in Build()
275 len += 1 * charcnt; // abbreviations in DataLength()
459 if (transition_types_[i].abbr_index >= hdr.charcnt) return false; in Load()
475 abbreviations_.reserve(hdr.charcnt + 10); in Load()
476 abbreviations_.assign(bp, hdr.charcnt); in Load()
477 bp += hdr.charcnt; in Load()
Dtime_zone_info.h89 std::size_t charcnt; // zone abbreviation characters member
/third_party/python/Lib/test/test_zoneinfo/
Dtest_zoneinfo.py864 charcnt = len(abbrstr)
872 ">6l", isutcnt, isstdcnt, leapcnt, timecnt, typecnt, charcnt
1886 isutcnt, isstdcnt, leapcnt, timecnt, typecnt, charcnt = struct.unpack(
1893 + charcnt