/external/python/cpython3/Lib/zoneinfo/ |
D | _common.py | 42 + header.typecnt * 6 # Local time type records 55 typecnt = header.typecnt 70 if typecnt: 72 *(struct.unpack(">lbb", fobj.read(6)) for i in range(typecnt))
|
D | _zoneinfo.py | 308 typecnt = len(isdsts) 309 dstoffs = [0] * typecnt # Provisionally assign all to 0. 337 if not dstoff and idx < (typecnt - 1): 355 for idx in range(typecnt):
|
/external/libbrillo/brillo/timezone/ |
D | tzif_parser.cc | 29 int32_t typecnt; member 87 if (!ReadInt(tzfile, &header->typecnt) || header->typecnt < 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/icu/icu4c/source/tools/tzcode/ |
D | localtime.c | 104 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 …]
|
D | zic.c | 204 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 …]
|
D | tz2icu.cpp | 325 int64_t typecnt = readcoded(file, 0); in readzoneinfo() local 331 if (isgmtcnt != typecnt || isdstcnt != typecnt) { in readzoneinfo() 355 if (t < 0 || t >= typecnt) { in readzoneinfo() 357 os << "illegal type: " << t << ", expected [0, " << (typecnt-1) << "]"; in readzoneinfo() 401 for (i=0; i<typecnt; ++i) { in readzoneinfo() 419 assert(info.types.size() == (unsigned) typecnt); in readzoneinfo() 423 assert(typecnt > 0); in readzoneinfo() 522 for (i=0; i<typecnt; ++i) info.types[i].isstd = readbool(file); in readzoneinfo() 525 for (i=0; i<typecnt; ++i) info.types[i].isgmt = readbool(file); in readzoneinfo()
|
/external/libtextclassifier/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_info.cc | 256 typecnt = static_cast<std::size_t>(v); in Build() 273 len += (4 + 1 + 1) * typecnt; // utc_offset + is_dst + abbr_index in DataLength() 410 if (hdr.typecnt == 0) return false; in Load() 418 if (hdr.ttisstdcnt != 0 && hdr.ttisstdcnt != hdr.typecnt) return false; in Load() 419 if (hdr.ttisutcnt != 0 && hdr.ttisutcnt != hdr.typecnt) return false; in Load() 442 if (transitions_[i].type_index >= hdr.typecnt) return false; in Load() 447 transition_types_.reserve(hdr.typecnt + 2); in Load() 448 transition_types_.resize(hdr.typecnt); in Load() 449 for (std::size_t i = 0; i != hdr.typecnt; ++i) { in Load() 469 while (index != hdr.typecnt && transition_types_[index].is_dst) ++index; in Load() [all …]
|
D | time_zone_info.h | 88 std::size_t typecnt; // transition types member
|
/external/angle/third_party/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_info.cc | 256 typecnt = static_cast<std::size_t>(v); in Build() 273 len += (4 + 1 + 1) * typecnt; // utc_offset + is_dst + abbr_index in DataLength() 410 if (hdr.typecnt == 0) return false; in Load() 418 if (hdr.ttisstdcnt != 0 && hdr.ttisstdcnt != hdr.typecnt) return false; in Load() 419 if (hdr.ttisutcnt != 0 && hdr.ttisutcnt != hdr.typecnt) return false; in Load() 442 if (transitions_[i].type_index >= hdr.typecnt) return false; in Load() 447 transition_types_.reserve(hdr.typecnt + 2); in Load() 448 transition_types_.resize(hdr.typecnt); in Load() 449 for (std::size_t i = 0; i != hdr.typecnt; ++i) { in Load() 469 while (index != hdr.typecnt && transition_types_[index].is_dst) ++index; in Load() [all …]
|
D | time_zone_info.h | 88 std::size_t typecnt; // transition types member
|
/external/openscreen/third_party/abseil/src/absl/time/internal/cctz/src/ |
D | time_zone_info.cc | 256 typecnt = static_cast<std::size_t>(v); in Build() 273 len += (4 + 1 + 1) * typecnt; // utc_offset + is_dst + abbr_index in DataLength() 410 if (hdr.typecnt == 0) return false; in Load() 418 if (hdr.ttisstdcnt != 0 && hdr.ttisstdcnt != hdr.typecnt) return false; in Load() 419 if (hdr.ttisutcnt != 0 && hdr.ttisutcnt != hdr.typecnt) return false; in Load() 442 if (transitions_[i].type_index >= hdr.typecnt) return false; in Load() 447 transition_types_.reserve(hdr.typecnt + 2); in Load() 448 transition_types_.resize(hdr.typecnt); in Load() 449 for (std::size_t i = 0; i != hdr.typecnt; ++i) { in Load() 469 while (index != hdr.typecnt && transition_types_[index].is_dst) ++index; in Load() [all …]
|
D | time_zone_info.h | 88 std::size_t typecnt; // transition types member
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_info.cc | 256 typecnt = static_cast<std::size_t>(v); in Build() 273 len += (4 + 1 + 1) * typecnt; // utc_offset + is_dst + abbr_index in DataLength() 410 if (hdr.typecnt == 0) return false; in Load() 418 if (hdr.ttisstdcnt != 0 && hdr.ttisstdcnt != hdr.typecnt) return false; in Load() 419 if (hdr.ttisutcnt != 0 && hdr.ttisutcnt != hdr.typecnt) return false; in Load() 442 if (transitions_[i].type_index >= hdr.typecnt) return false; in Load() 447 transition_types_.reserve(hdr.typecnt + 2); in Load() 448 transition_types_.resize(hdr.typecnt); in Load() 449 for (std::size_t i = 0; i != hdr.typecnt; ++i) { in Load() 469 while (index != hdr.typecnt && transition_types_[index].is_dst) ++index; in Load() [all …]
|
D | time_zone_info.h | 88 std::size_t typecnt; // transition types member
|
/external/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_info.cc | 237 typecnt = static_cast<std::size_t>(v); in Build() 254 len += (4 + 1 + 1) * typecnt; // utc_offset + is_dst + abbr_index in DataLength() 415 if (hdr.typecnt == 0) return false; in Load() 423 if (hdr.ttisstdcnt != 0 && hdr.ttisstdcnt != hdr.typecnt) return false; in Load() 424 if (hdr.ttisutcnt != 0 && hdr.ttisutcnt != hdr.typecnt) return false; in Load() 447 if (transitions_[i].type_index >= hdr.typecnt) return false; in Load() 452 transition_types_.resize(hdr.typecnt); in Load() 453 for (std::size_t i = 0; i != hdr.typecnt; ++i) { in Load() 473 while (index != hdr.typecnt && transition_types_[index].is_dst) ++index; in Load() 474 if (index != hdr.typecnt) default_transition_type_ = index; in Load()
|
D | time_zone_info.h | 88 std::size_t typecnt; // transition types member
|
/external/webrtc/third_party/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_info.cc | 237 typecnt = static_cast<std::size_t>(v); in Build() 254 len += (4 + 1 + 1) * typecnt; // utc_offset + is_dst + abbr_index in DataLength() 415 if (hdr.typecnt == 0) return false; in Load() 423 if (hdr.ttisstdcnt != 0 && hdr.ttisstdcnt != hdr.typecnt) return false; in Load() 424 if (hdr.ttisutcnt != 0 && hdr.ttisutcnt != hdr.typecnt) return false; in Load() 447 if (transitions_[i].type_index >= hdr.typecnt) return false; in Load() 452 transition_types_.resize(hdr.typecnt); in Load() 453 for (std::size_t i = 0; i != hdr.typecnt; ++i) { in Load() 473 while (index != hdr.typecnt && transition_types_[index].is_dst) ++index; in Load() 474 if (index != hdr.typecnt) default_transition_type_ = index; in Load()
|
D | time_zone_info.h | 88 std::size_t typecnt; // transition types member
|
/external/python/dateutil/dateutil/tz/ |
D | tz.py | 516 typecnt, 563 for i in range(typecnt): 607 for i in range(typecnt):
|
/external/python/cpython3/Lib/test/test_zoneinfo/ |
D | test_zoneinfo.py | 862 typecnt = len(offsets) 872 ">6l", isutcnt, isstdcnt, leapcnt, timecnt, typecnt, charcnt 1877 isutcnt, isstdcnt, leapcnt, timecnt, typecnt, charcnt = struct.unpack( 1883 + typecnt * 6
|