Home
last modified time | relevance | path

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

12

/external/libbrillo/brillo/timezone/
Dtzif_parser.cc27 int32_t leapcnt; member
81 if (!ReadInt(tzfile, &header->leapcnt) || header->leapcnt < 0) { in ParseTzifHeader()
135 (4 + 4) * first_header.leapcnt + 1 * first_header.ttisstdcnt + in GetPosixTimezone()
147 (8 + 4) * second_header.leapcnt + 1 * second_header.ttisstdcnt + in GetPosixTimezone()
/external/python/cpython3/Lib/zoneinfo/
D_common.py44 + header.leapcnt * 8 # Leap second records
110 skip_bytes = header.isutcnt + header.isstdcnt + header.leapcnt * 12
/external/icu/icu4c/source/tools/tzcode/
Dlocaltime.c104 int leapcnt; member
398 sp->leapcnt = (int) detzcode(up->tzhead.tzh_leapcnt); in tzload()
403 if (sp->leapcnt < 0 || sp->leapcnt > TZ_MAX_LEAPS || in tzload()
415 sp->leapcnt * (stored + 4) + /* lsinfos */ in tzload()
467 for (i = 0; i < sp->leapcnt; ++i) { in tzload()
966 sp->leapcnt = 0; /* so, we're off a little */ in tzparse()
1234 lclptr->leapcnt = 0; /* so, we're off a little */ in tzset()
1435 i = (sp == NULL) ? 0 : sp->leapcnt; in timesub()
2009 i = sp->leapcnt; in leapcorr()
Dzic.c190 static int leapcnt; variable
1661 j = leapcnt; in writezone()
1673 leapcnt32 = leapcnt; in writezone()
1731 thisleapcnt = leapcnt; in writezone()
2789 if (leapcnt + (positive ? count : 1) > TZ_MAX_LEAPS) { in leapadd()
2793 for (i = 0; i < leapcnt; ++i) in leapadd()
2802 for (j = leapcnt; j > i; --j) { in leapadd()
2810 ++leapcnt; in leapadd()
2823 for (i = 0; i < leapcnt; ++i) { in adjleap()
Dtz2icu.cpp323 int64_t leapcnt = readcoded(file, 0); in readzoneinfo() local
516 for (i=0; i<leapcnt; ++i) { in readzoneinfo()
/external/cronet/third_party/icu/source/tools/tzcode/
Dlocaltime.c104 int leapcnt; member
398 sp->leapcnt = (int) detzcode(up->tzhead.tzh_leapcnt); in tzload()
403 if (sp->leapcnt < 0 || sp->leapcnt > TZ_MAX_LEAPS || in tzload()
415 sp->leapcnt * (stored + 4) + /* lsinfos */ in tzload()
467 for (i = 0; i < sp->leapcnt; ++i) { in tzload()
966 sp->leapcnt = 0; /* so, we're off a little */ in tzparse()
1234 lclptr->leapcnt = 0; /* so, we're off a little */ in tzset()
1435 i = (sp == NULL) ? 0 : sp->leapcnt; in timesub()
2009 i = sp->leapcnt; in leapcorr()
Dzic.c190 static int leapcnt; variable
1661 j = leapcnt; in writezone()
1673 leapcnt32 = leapcnt; in writezone()
1731 thisleapcnt = leapcnt; in writezone()
2789 if (leapcnt + (positive ? count : 1) > TZ_MAX_LEAPS) { in leapadd()
2793 for (i = 0; i < leapcnt; ++i) in leapadd()
2802 for (j = leapcnt; j > i; --j) { in leapadd()
2810 ++leapcnt; in leapadd()
2823 for (i = 0; i < leapcnt; ++i) { in adjleap()
Dtz2icu.cpp323 int64_t leapcnt = readcoded(file, 0); in readzoneinfo() local
516 for (i=0; i<leapcnt; ++i) { in readzoneinfo()
/external/angle/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc142 std::size_t leapcnt; // leap seconds (we expect none) member
160 leapcnt = static_cast<std::size_t>(v); in Build()
175 len += (time_len + 4) * leapcnt; // leap-time + TAI-UTC in DataLength()
647 if (hdr.leapcnt != 0) { in Load()
718 bp += (time_len + 4) * hdr.leapcnt; // leap-time + TAI-UTC in Load()
/external/cronet/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.h90 std::size_t leapcnt; // leap seconds (we expect none) member
Dtime_zone_info.cc277 leapcnt = static_cast<std::size_t>(v); in Build()
292 len += (time_len + 4) * leapcnt; // leap-time + TAI-UTC in DataLength()
434 if (hdr.leapcnt != 0) { in Load()
505 bp += (time_len + 4) * hdr.leapcnt; // leap-time + TAI-UTC in Load()
/external/webrtc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.h90 std::size_t leapcnt; // leap seconds (we expect none) member
Dtime_zone_info.cc277 leapcnt = static_cast<std::size_t>(v); in Build()
292 len += (time_len + 4) * leapcnt; // leap-time + TAI-UTC in DataLength()
434 if (hdr.leapcnt != 0) { in Load()
505 bp += (time_len + 4) * hdr.leapcnt; // leap-time + TAI-UTC in Load()
/external/tensorflow/third_party/absl/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.h90 std::size_t leapcnt; // leap seconds (we expect none) member
Dtime_zone_info.cc277 leapcnt = static_cast<std::size_t>(v); in Build()
292 len += (time_len + 4) * leapcnt; // leap-time + TAI-UTC in DataLength()
434 if (hdr.leapcnt != 0) { in Load()
505 bp += (8 + 4) * hdr.leapcnt; // leap-time + TAI-UTC in Load()
/external/libtextclassifier/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.h90 std::size_t leapcnt; // leap seconds (we expect none) member
Dtime_zone_info.cc260 leapcnt = static_cast<std::size_t>(v); in Build()
275 len += (time_len + 4) * leapcnt; // leap-time + TAI-UTC in DataLength()
411 if (hdr.leapcnt != 0) { in Load()
482 bp += (8 + 4) * hdr.leapcnt; // leap-time + TAI-UTC in Load()
/external/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.h90 std::size_t leapcnt; // leap seconds (we expect none) member
Dtime_zone_info.cc262 leapcnt = static_cast<std::size_t>(v); in Build()
277 len += (time_len + 4) * leapcnt; // leap-time + TAI-UTC in DataLength()
413 if (hdr.leapcnt != 0) { in Load()
484 bp += (8 + 4) * hdr.leapcnt; // leap-time + TAI-UTC in Load()
/external/openscreen/third_party/abseil/src/absl/time/internal/cctz/src/
Dtime_zone_info.h90 std::size_t leapcnt; // leap seconds (we expect none) member
Dtime_zone_info.cc260 leapcnt = static_cast<std::size_t>(v); in Build()
275 len += (time_len + 4) * leapcnt; // leap-time + TAI-UTC in DataLength()
411 if (hdr.leapcnt != 0) { in Load()
482 bp += (8 + 4) * hdr.leapcnt; // leap-time + TAI-UTC in Load()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.h90 std::size_t leapcnt; // leap seconds (we expect none) member
Dtime_zone_info.cc260 leapcnt = static_cast<std::size_t>(v); in Build()
275 len += (time_len + 4) * leapcnt; // leap-time + TAI-UTC in DataLength()
411 if (hdr.leapcnt != 0) { in Load()
482 bp += (8 + 4) * hdr.leapcnt; // leap-time + TAI-UTC in Load()
/external/python/dateutil/dateutil/tz/
Dtz.py508 leapcnt,
578 if leapcnt:
579 fileobj.seek(leapcnt * 8, os.SEEK_CUR)
/external/python/cpython3/Lib/test/test_zoneinfo/
Dtest_zoneinfo.py838 leapcnt = len(leap_seconds)
872 ">6l", isutcnt, isstdcnt, leapcnt, timecnt, typecnt, charcnt
1886 isutcnt, isstdcnt, leapcnt, timecnt, typecnt, charcnt = struct.unpack(
1894 + leapcnt * 8

12