/third_party/python/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):
|
/third_party/skia/third_party/externals/icu/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()
|
/third_party/icu/icu4c/source/tools/tzcode/ |
D | localtime.c | 106 int typecnt; member 274 for (i = 0; i < sp->typecnt; ++i) { in settzname() 307 for (i = 0; i < sp->typecnt; ++i) { in settzname() 400 sp->typecnt = (int) detzcode(up->tzhead.tzh_typecnt); in tzload() 404 sp->typecnt <= 0 || sp->typecnt > TZ_MAX_TYPES || in tzload() 407 (ttisstdcnt != sp->typecnt && ttisstdcnt != 0) || in tzload() 408 (ttisgmtcnt != sp->typecnt && ttisgmtcnt != 0)) in tzload() 413 sp->typecnt * 6 + /* ttinfos */ in tzload() 444 if (sp->typecnt <= typ) in tzload() 450 for (i = 0; i < sp->typecnt; ++i) { in tzload() [all …]
|
D | zic.c | 205 static int typecnt; variable 1739 for (i = 1; i < typecnt; ++i) in writezone() 1746 if (typecnt != 0) in writezone() 1747 writetype[typecnt - 1] = true; in writezone() 1778 for (i = 0; i < typecnt; ++i) in writezone() 1819 for (i = 1; i < typecnt; ++i) in writezone() 1833 for (i = 0; i < typecnt; ++i) in writezone() 1838 for (i = 0; i < typecnt; ++i) { in writezone() 1891 for (i = 0; i < typecnt; ++i) in writezone() 1912 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()
|
/third_party/tzdata/ |
D | localtime.c | 117 int typecnt; member 335 for (i = sp->typecnt - 1; stddst_mask && 0 <= i; i--) in settzname() 474 int_fast32_t typecnt = detzcode(up->tzhead.tzh_typecnt); in tzloadbody() local 481 && 0 <= typecnt && typecnt < TZ_MAX_TYPES in tzloadbody() 490 + typecnt * 6 /* ttinfos */ in tzloadbody() 500 if (! ((ttisstdcnt == typecnt || ttisstdcnt == 0) in tzloadbody() 501 && (ttisutcnt == typecnt || ttisutcnt == 0))) in tzloadbody() 506 sp->typecnt = typecnt; in tzloadbody() 535 if (sp->typecnt <= typ) in tzloadbody() 541 for (i = 0; i < sp->typecnt; ++i) { in tzloadbody() [all …]
|
D | zic.c | 231 static int typecnt; variable 2508 memset(omittype, true, typecnt); in writezone() 2571 for (i = old0; i < typecnt; i++) { in writezone() 2606 for (i = old0; i < typecnt; i++) in writezone() 2615 for (i = old0; i < typecnt; i++) { in writezone() 2691 for (i = old0; i < typecnt; i++) { in writezone() 2711 if (++j >= typecnt) { in writezone() 2737 for (i = old0; i < typecnt; i++) in writezone() 2741 for (i = old0; i < typecnt; i++) in writezone() 3109 typecnt = 0; in outzone() [all …]
|
D | NEWS | 5785 Set sp->typecnt as suggested by Timothy Patrick Murphy.
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_info.cc | 257 typecnt = static_cast<std::size_t>(v); in Build() 274 len += (4 + 1 + 1) * typecnt; // utc_offset + is_dst + abbr_index in DataLength() 411 if (hdr.typecnt == 0) return false; in Load() 419 if (hdr.ttisstdcnt != 0 && hdr.ttisstdcnt != hdr.typecnt) return false; in Load() 420 if (hdr.ttisutcnt != 0 && hdr.ttisutcnt != hdr.typecnt) return false; in Load() 443 if (transitions_[i].type_index >= hdr.typecnt) return false; in Load() 448 transition_types_.reserve(hdr.typecnt + 2); in Load() 449 transition_types_.resize(hdr.typecnt); in Load() 450 for (std::size_t i = 0; i != hdr.typecnt; ++i) { in Load() 470 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
|
/third_party/python/Lib/test/test_zoneinfo/ |
D | test_zoneinfo.py | 862 typecnt = len(offsets) 872 ">6l", isutcnt, isstdcnt, leapcnt, timecnt, typecnt, charcnt 1886 isutcnt, isstdcnt, leapcnt, timecnt, typecnt, charcnt = struct.unpack( 1892 + typecnt * 6
|