Home
last modified time | relevance | path

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

/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.c102 int leapcnt; member
396 sp->leapcnt = (int) detzcode(up->tzhead.tzh_leapcnt); in tzload()
401 if (sp->leapcnt < 0 || sp->leapcnt > TZ_MAX_LEAPS || in tzload()
413 sp->leapcnt * (stored + 4) + /* lsinfos */ in tzload()
465 for (i = 0; i < sp->leapcnt; ++i) { in tzload()
964 sp->leapcnt = 0; /* so, we're off a little */ in tzparse()
1232 lclptr->leapcnt = 0; /* so, we're off a little */ in tzset()
1433 i = (sp == NULL) ? 0 : sp->leapcnt; in timesub()
2007 i = sp->leapcnt; in leapcorr()
Dzic.c189 static int leapcnt; variable
1660 j = leapcnt; in writezone()
1672 leapcnt32 = leapcnt; in writezone()
1730 thisleapcnt = leapcnt; in writezone()
2788 if (leapcnt + (positive ? count : 1) > TZ_MAX_LEAPS) { in leapadd()
2792 for (i = 0; i < leapcnt; ++i) in leapadd()
2801 for (j = leapcnt; j > i; --j) { in leapadd()
2809 ++leapcnt; in leapadd()
2822 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/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/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.cc241 leapcnt = static_cast<std::size_t>(v); in Build()
256 len += (time_len + 4) * leapcnt; // leap-time + TAI-UTC in DataLength()
416 if (hdr.leapcnt != 0) { in Load()
485 bp += (8 + 4) * hdr.leapcnt; // leap-time + TAI-UTC in Load()
/external/angle/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/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.cc241 leapcnt = static_cast<std::size_t>(v); in Build()
256 len += (time_len + 4) * leapcnt; // leap-time + TAI-UTC in DataLength()
416 if (hdr.leapcnt != 0) { in Load()
485 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
1877 isutcnt, isstdcnt, leapcnt, timecnt, typecnt, charcnt = struct.unpack(
1885 + leapcnt * 8
/external/python/dateutil/
DNEWS504 - tzfile now correctly handles files containing leapcnt (although the leapcnt