Home
last modified time | relevance | path

Searched refs:timecnt (Results 1 – 25 of 25) sorted by relevance

/external/icu/icu4c/source/tools/tzcode/
Dlocaltime.c105 int timecnt; member
279 for (i = 0; i < sp->timecnt; ++i) { in settzname()
394 int timecnt; in tzload() local
399 sp->timecnt = (int) detzcode(up->tzhead.tzh_timecnt); in tzload()
405 sp->timecnt < 0 || sp->timecnt > TZ_MAX_TIMES || in tzload()
411 sp->timecnt * stored + /* ats */ in tzload()
412 sp->timecnt + /* types */ in tzload()
419 timecnt = 0; in tzload()
420 for (i = 0; i < sp->timecnt; ++i) { in tzload()
428 if (i && !timecnt && at != time_t_min) { in tzload()
[all …]
Dzic.c203 static int timecnt; variable
1609 zic_t *ats = emalloc(size_product(timecnt, sizeof *ats + 1)); in writezone()
1610 void *typesptr = ats + timecnt; in writezone()
1616 if (timecnt > 1) in writezone()
1617 (void) qsort(attypes, timecnt, sizeof *attypes, atcomp); in writezone()
1627 while (fromi < timecnt && attypes[fromi].at < min_time) in writezone()
1633 while (fromi < timecnt && attypes[fromi].type == 1) in writezone()
1635 for ( ; fromi < timecnt; ++fromi) { in writezone()
1648 timecnt = toi; in writezone()
1653 for (i = 0; i < timecnt; ++i) { in writezone()
[all …]
Dtz2icu.cpp324 int64_t timecnt = readcoded(file, 0); in readzoneinfo() local
338 vector<int64_t> transitionTimes(timecnt, -1); // temporary in readzoneinfo()
339 vector<int32_t> transitionTypes(timecnt, -1); // temporary in readzoneinfo()
342 for (i=0; i<timecnt; ++i) { in readzoneinfo()
351 for (i=0; i<timecnt; ++i) { in readzoneinfo()
366 if (timecnt > 0) { in readzoneinfo()
368 for (i=0; i<timecnt; ++i) { in readzoneinfo()
395 for (i=0; i<timecnt; ++i) { in readzoneinfo()
422 assert(timecnt > 0); in readzoneinfo()
/external/cronet/third_party/icu/source/tools/tzcode/
Dlocaltime.c105 int timecnt; member
279 for (i = 0; i < sp->timecnt; ++i) { in settzname()
394 int timecnt; in tzload() local
399 sp->timecnt = (int) detzcode(up->tzhead.tzh_timecnt); in tzload()
405 sp->timecnt < 0 || sp->timecnt > TZ_MAX_TIMES || in tzload()
411 sp->timecnt * stored + /* ats */ in tzload()
412 sp->timecnt + /* types */ in tzload()
419 timecnt = 0; in tzload()
420 for (i = 0; i < sp->timecnt; ++i) { in tzload()
428 if (i && !timecnt && at != time_t_min) { in tzload()
[all …]
Dzic.c203 static int timecnt; variable
1609 zic_t *ats = emalloc(size_product(timecnt, sizeof *ats + 1)); in writezone()
1610 void *typesptr = ats + timecnt; in writezone()
1616 if (timecnt > 1) in writezone()
1617 (void) qsort(attypes, timecnt, sizeof *attypes, atcomp); in writezone()
1627 while (fromi < timecnt && attypes[fromi].at < min_time) in writezone()
1633 while (fromi < timecnt && attypes[fromi].type == 1) in writezone()
1635 for ( ; fromi < timecnt; ++fromi) { in writezone()
1648 timecnt = toi; in writezone()
1653 for (i = 0; i < timecnt; ++i) { in writezone()
[all …]
Dtz2icu.cpp324 int64_t timecnt = readcoded(file, 0); in readzoneinfo() local
338 vector<int64_t> transitionTimes(timecnt, -1); // temporary in readzoneinfo()
339 vector<int32_t> transitionTypes(timecnt, -1); // temporary in readzoneinfo()
342 for (i=0; i<timecnt; ++i) { in readzoneinfo()
351 for (i=0; i<timecnt; ++i) { in readzoneinfo()
366 if (timecnt > 0) { in readzoneinfo()
368 for (i=0; i<timecnt; ++i) { in readzoneinfo()
395 for (i=0; i<timecnt; ++i) { in readzoneinfo()
422 assert(timecnt > 0); in readzoneinfo()
/external/libbrillo/brillo/timezone/
Dtzif_parser.cc28 int32_t timecnt; member
84 if (!ReadInt(tzfile, &header->timecnt) || header->timecnt < 0) { in ParseTzifHeader()
133 4 * first_header.timecnt + 1 * first_header.timecnt + in GetPosixTimezone()
145 8 * second_header.timecnt + 1 * second_header.timecnt + in GetPosixTimezone()
/external/python/cpython3/Lib/zoneinfo/
D_common.py41 header.timecnt * 5 # Transition times and types
56 timecnt = header.timecnt
60 if timecnt:
62 f">{timecnt}{time_type}", fobj.read(timecnt * time_size)
64 trans_idx = struct.unpack(f">{timecnt}B", fobj.read(timecnt))
/external/openscreen/third_party/abseil/src/absl/time/internal/cctz/src/
Dtime_zone_info.cc254 timecnt = static_cast<std::size_t>(v); in Build()
272 len += (time_len + 1) * timecnt; // unix_time + type_index in DataLength()
428 transitions_.reserve(hdr.timecnt + 2); in Load()
429 transitions_.resize(hdr.timecnt); in Load()
430 for (std::size_t i = 0; i != hdr.timecnt; ++i) { in Load()
440 for (std::size_t i = 0; i != hdr.timecnt; ++i) { in Load()
463 if (seen_type_0 && hdr.timecnt != 0) { in Load()
515 while (hdr.timecnt > 1) { in Load()
516 if (!EquivTransitions(transitions_[hdr.timecnt - 1].type_index, in Load()
517 transitions_[hdr.timecnt - 2].type_index)) { in Load()
[all …]
Dtime_zone_info.h87 std::size_t timecnt; // transition times member
/external/libtextclassifier/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc254 timecnt = static_cast<std::size_t>(v); in Build()
272 len += (time_len + 1) * timecnt; // unix_time + type_index in DataLength()
428 transitions_.reserve(hdr.timecnt + 2); in Load()
429 transitions_.resize(hdr.timecnt); in Load()
430 for (std::size_t i = 0; i != hdr.timecnt; ++i) { in Load()
440 for (std::size_t i = 0; i != hdr.timecnt; ++i) { in Load()
463 if (seen_type_0 && hdr.timecnt != 0) { in Load()
515 while (hdr.timecnt > 1) { in Load()
516 if (!EquivTransitions(transitions_[hdr.timecnt - 1].type_index, in Load()
517 transitions_[hdr.timecnt - 2].type_index)) { in Load()
[all …]
Dtime_zone_info.h87 std::size_t timecnt; // transition times member
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc254 timecnt = static_cast<std::size_t>(v); in Build()
272 len += (time_len + 1) * timecnt; // unix_time + type_index in DataLength()
428 transitions_.reserve(hdr.timecnt + 2); in Load()
429 transitions_.resize(hdr.timecnt); in Load()
430 for (std::size_t i = 0; i != hdr.timecnt; ++i) { in Load()
440 for (std::size_t i = 0; i != hdr.timecnt; ++i) { in Load()
463 if (seen_type_0 && hdr.timecnt != 0) { in Load()
515 while (hdr.timecnt > 1) { in Load()
516 if (!EquivTransitions(transitions_[hdr.timecnt - 1].type_index, in Load()
517 transitions_[hdr.timecnt - 2].type_index)) { in Load()
[all …]
Dtime_zone_info.h87 std::size_t timecnt; // transition times member
/external/angle/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc139 std::size_t timecnt; // transition times member
154 timecnt = static_cast<std::size_t>(v); in Build()
172 len += (time_len + 1) * timecnt; // unix_time + type_index in DataLength()
664 transitions_.reserve(hdr.timecnt + 2); in Load()
665 transitions_.resize(hdr.timecnt); in Load()
666 for (std::size_t i = 0; i != hdr.timecnt; ++i) { in Load()
676 for (std::size_t i = 0; i != hdr.timecnt; ++i) { in Load()
699 if (seen_type_0 && hdr.timecnt != 0) { in Load()
751 while (hdr.timecnt > 1) { in Load()
752 if (!EquivTransitions(transitions_[hdr.timecnt - 1].type_index, in Load()
[all …]
/external/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc256 timecnt = static_cast<std::size_t>(v); in Build()
274 len += (time_len + 1) * timecnt; // unix_time + type_index in DataLength()
430 transitions_.reserve(hdr.timecnt + 2); in Load()
431 transitions_.resize(hdr.timecnt); in Load()
432 for (std::size_t i = 0; i != hdr.timecnt; ++i) { in Load()
442 for (std::size_t i = 0; i != hdr.timecnt; ++i) { in Load()
465 if (seen_type_0 && hdr.timecnt != 0) { in Load()
517 while (hdr.timecnt > 1) { in Load()
518 if (!EquivTransitions(transitions_[hdr.timecnt - 1].type_index, in Load()
519 transitions_[hdr.timecnt - 2].type_index)) { in Load()
[all …]
Dtime_zone_info.h87 std::size_t timecnt; // transition times member
/external/cronet/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc271 timecnt = static_cast<std::size_t>(v); in Build()
289 len += (time_len + 1) * timecnt; // unix_time + type_index in DataLength()
451 transitions_.reserve(hdr.timecnt + 2); in Load()
452 transitions_.resize(hdr.timecnt); in Load()
453 for (std::size_t i = 0; i != hdr.timecnt; ++i) { in Load()
463 for (std::size_t i = 0; i != hdr.timecnt; ++i) { in Load()
486 if (seen_type_0 && hdr.timecnt != 0) { in Load()
538 while (hdr.timecnt > 1) { in Load()
539 if (!EquivTransitions(transitions_[hdr.timecnt - 1].type_index, in Load()
540 transitions_[hdr.timecnt - 2].type_index)) { in Load()
[all …]
Dtime_zone_info.h87 std::size_t timecnt; // transition times member
/external/webrtc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc271 timecnt = static_cast<std::size_t>(v); in Build()
289 len += (time_len + 1) * timecnt; // unix_time + type_index in DataLength()
451 transitions_.reserve(hdr.timecnt + 2); in Load()
452 transitions_.resize(hdr.timecnt); in Load()
453 for (std::size_t i = 0; i != hdr.timecnt; ++i) { in Load()
463 for (std::size_t i = 0; i != hdr.timecnt; ++i) { in Load()
486 if (seen_type_0 && hdr.timecnt != 0) { in Load()
538 while (hdr.timecnt > 1) { in Load()
539 if (!EquivTransitions(transitions_[hdr.timecnt - 1].type_index, in Load()
540 transitions_[hdr.timecnt - 2].type_index)) { in Load()
[all …]
Dtime_zone_info.h87 std::size_t timecnt; // transition times member
/external/tensorflow/third_party/absl/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc271 timecnt = static_cast<std::size_t>(v); in Build()
289 len += (time_len + 1) * timecnt; // unix_time + type_index in DataLength()
451 transitions_.reserve(hdr.timecnt + 2); in Load()
452 transitions_.resize(hdr.timecnt); in Load()
453 for (std::size_t i = 0; i != hdr.timecnt; ++i) { in Load()
463 for (std::size_t i = 0; i != hdr.timecnt; ++i) { in Load()
486 if (seen_type_0 && hdr.timecnt != 0) { in Load()
538 while (hdr.timecnt > 1) { in Load()
539 if (!EquivTransitions(transitions_[hdr.timecnt - 1].type_index, in Load()
540 transitions_[hdr.timecnt - 2].type_index)) { in Load()
[all …]
Dtime_zone_info.h87 std::size_t timecnt; // transition times member
/external/python/dateutil/dateutil/tz/
Dtz.py512 timecnt,
531 if timecnt:
532 out.trans_list_utc = list(struct.unpack(">%dl" % timecnt,
533 fileobj.read(timecnt*4)))
544 if timecnt:
545 out.trans_idx = struct.unpack(">%dB" % timecnt,
546 fileobj.read(timecnt))
634 for i in range(timecnt-1, -1, -1):
/external/python/cpython3/Lib/test/test_zoneinfo/
Dtest_zoneinfo.py863 timecnt = len(trans_times)
872 ">6l", isutcnt, isstdcnt, leapcnt, timecnt, typecnt, charcnt
1886 isutcnt, isstdcnt, leapcnt, timecnt, typecnt, charcnt = struct.unpack(
1891 timecnt * 5