Home
last modified time | relevance | path

Searched refs:charcnt (Results 1 – 25 of 25) 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.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()
/external/cronet/third_party/icu/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()
/external/angle/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc141 std::size_t charcnt; // zone abbreviation characters member
158 charcnt = static_cast<std::size_t>(v); in Build()
174 len += 1 * charcnt; // abbreviations in DataLength()
694 if (transition_types_[i].abbr_index >= hdr.charcnt) return false; in Load()
710 abbreviations_.reserve(hdr.charcnt + 10); in Load()
711 abbreviations_.assign(bp, hdr.charcnt); in Load()
712 bp += hdr.charcnt; in Load()
/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/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/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.cc260 charcnt = static_cast<std::size_t>(v); in Build()
276 len += 1 * charcnt; // abbreviations in DataLength()
460 if (transition_types_[i].abbr_index >= hdr.charcnt) return false; in Load()
476 abbreviations_.reserve(hdr.charcnt + 10); in Load()
477 abbreviations_.assign(bp, hdr.charcnt); in Load()
478 bp += hdr.charcnt; in Load()
Dtime_zone_info.h89 std::size_t charcnt; // zone abbreviation characters member
/external/cronet/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc275 charcnt = static_cast<std::size_t>(v); in Build()
291 len += 1 * charcnt; // abbreviations in DataLength()
481 if (transition_types_[i].abbr_index >= hdr.charcnt) return false; in Load()
497 abbreviations_.reserve(hdr.charcnt + 10); in Load()
498 abbreviations_.assign(bp, hdr.charcnt); in Load()
499 bp += hdr.charcnt; in Load()
Dtime_zone_info.h89 std::size_t charcnt; // zone abbreviation characters member
/external/webrtc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc275 charcnt = static_cast<std::size_t>(v); in Build()
291 len += 1 * charcnt; // abbreviations in DataLength()
481 if (transition_types_[i].abbr_index >= hdr.charcnt) return false; in Load()
497 abbreviations_.reserve(hdr.charcnt + 10); in Load()
498 abbreviations_.assign(bp, hdr.charcnt); in Load()
499 bp += hdr.charcnt; in Load()
Dtime_zone_info.h89 std::size_t charcnt; // zone abbreviation characters member
/external/tensorflow/third_party/absl/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc275 charcnt = static_cast<std::size_t>(v); in Build()
291 len += 1 * charcnt; // abbreviations in DataLength()
481 if (transition_types_[i].abbr_index >= hdr.charcnt) return false; in Load()
497 abbreviations_.reserve(hdr.charcnt + 10); in Load()
498 abbreviations_.assign(bp, hdr.charcnt); in Load()
499 bp += hdr.charcnt; in Load()
Dtime_zone_info.h89 std::size_t charcnt; // zone abbreviation characters member
/external/python/cpython3/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
/external/python/dateutil/dateutil/tz/
Dtz.py520 charcnt,
566 abbr = fileobj.read(charcnt).decode()