Home
last modified time | relevance | path

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

/external/libbrillo/brillo/timezone/
Dtzif_parser.cc30 int32_t charcnt; member
90 if (!ReadInt(tzfile, &header->charcnt) || header->charcnt < 0) { in ParseTzifHeader()
134 (4 + 1 + 1) * first_header.typecnt + 1 * first_header.charcnt + in GetPosixTimezone()
146 (4 + 1 + 1) * second_header.typecnt + 1 * second_header.charcnt + in GetPosixTimezone()
/external/python/cpython3/Lib/zoneinfo/
D_common.py43 + header.charcnt # Time zone designations
57 charcnt = header.charcnt
84 abbr_chars = fobj.read(charcnt)
/external/icu/icu4c/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()
/external/libtextclassifier/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc258 charcnt = static_cast<std::size_t>(v); in Build()
274 len += 1 * charcnt; // abbreviations in DataLength()
458 if (transition_types_[i].abbr_index >= hdr.charcnt) return false; in Load()
474 abbreviations_.reserve(hdr.charcnt + 10); in Load()
475 abbreviations_.assign(bp, hdr.charcnt); in Load()
476 bp += hdr.charcnt; in Load()
Dtime_zone_info.h89 std::size_t charcnt; // zone abbreviation characters member
/external/angle/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc258 charcnt = static_cast<std::size_t>(v); in Build()
274 len += 1 * charcnt; // abbreviations in DataLength()
458 if (transition_types_[i].abbr_index >= hdr.charcnt) return false; in Load()
474 abbreviations_.reserve(hdr.charcnt + 10); in Load()
475 abbreviations_.assign(bp, hdr.charcnt); in Load()
476 bp += hdr.charcnt; in Load()
Dtime_zone_info.h89 std::size_t charcnt; // zone abbreviation characters member
/external/openscreen/third_party/abseil/src/absl/time/internal/cctz/src/
Dtime_zone_info.cc258 charcnt = static_cast<std::size_t>(v); in Build()
274 len += 1 * charcnt; // abbreviations in DataLength()
458 if (transition_types_[i].abbr_index >= hdr.charcnt) return false; in Load()
474 abbreviations_.reserve(hdr.charcnt + 10); in Load()
475 abbreviations_.assign(bp, hdr.charcnt); in Load()
476 bp += hdr.charcnt; in Load()
Dtime_zone_info.h89 std::size_t charcnt; // zone abbreviation characters member
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc258 charcnt = static_cast<std::size_t>(v); in Build()
274 len += 1 * charcnt; // abbreviations in DataLength()
458 if (transition_types_[i].abbr_index >= hdr.charcnt) return false; in Load()
474 abbreviations_.reserve(hdr.charcnt + 10); in Load()
475 abbreviations_.assign(bp, hdr.charcnt); in Load()
476 bp += hdr.charcnt; in Load()
Dtime_zone_info.h89 std::size_t charcnt; // zone abbreviation characters member
/external/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.h89 std::size_t charcnt; // zone abbreviation characters member
Dtime_zone_info.cc239 charcnt = static_cast<std::size_t>(v); in Build()
255 len += 1 * charcnt; // abbreviations in DataLength()
462 if (transition_types_[i].abbr_index >= hdr.charcnt) return false; in Load()
478 abbreviations_.assign(bp, hdr.charcnt); in Load()
479 bp += hdr.charcnt; in Load()
/external/webrtc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.h89 std::size_t charcnt; // zone abbreviation characters member
Dtime_zone_info.cc239 charcnt = static_cast<std::size_t>(v); in Build()
255 len += 1 * charcnt; // abbreviations in DataLength()
462 if (transition_types_[i].abbr_index >= hdr.charcnt) return false; in Load()
478 abbreviations_.assign(bp, hdr.charcnt); in Load()
479 bp += hdr.charcnt; in Load()
/external/python/cpython3/Lib/test/test_zoneinfo/
Dtest_zoneinfo.py864 charcnt = len(abbrstr)
872 ">6l", isutcnt, isstdcnt, leapcnt, timecnt, typecnt, charcnt
1877 isutcnt, isstdcnt, leapcnt, timecnt, typecnt, charcnt = struct.unpack(
1884 + charcnt
/external/python/dateutil/dateutil/tz/
Dtz.py520 charcnt,
566 abbr = fileobj.read(charcnt).decode()