Searched refs:leapcnt (Results 1 – 12 of 12) sorted by relevance
/third_party/tzdata/ |
D | localtime.c | 115 int leapcnt; member 472 int_fast32_t leapcnt = detzcode(up->tzhead.tzh_leapcnt); in tzloadbody() local 480 if (! (0 <= leapcnt && leapcnt < TZ_MAX_LEAPS in tzloadbody() 492 + leapcnt * (stored + 4) /* lsinfos */ in tzloadbody() 504 sp->leapcnt = leapcnt; in tzloadbody() 564 leapcnt = 0; in tzloadbody() 565 for (i = 0; i < sp->leapcnt; ++i) { in tzloadbody() 590 sp->lsis[leapcnt].ls_trans = tr; in tzloadbody() 591 sp->lsis[leapcnt].ls_corr = corr; in tzloadbody() 592 leapcnt++; in tzloadbody() [all …]
|
D | zic.c | 214 static int leapcnt; variable 2420 j = leapcnt; in writezone() 2430 rangeall.leapcount = leapcnt; in writezone() 3499 if (TZ_MAX_LEAPS <= leapcnt) { in leapadd() 3507 for (i = 0; i < leapcnt; ++i) in leapadd() 3510 memmove(&trans[i + 1], &trans[i], (leapcnt - i) * sizeof *trans); in leapadd() 3511 memmove(&corr[i + 1], &corr[i], (leapcnt - i) * sizeof *corr); in leapadd() 3512 memmove(&roll[i + 1], &roll[i], (leapcnt - i) * sizeof *roll); in leapadd() 3516 ++leapcnt; in leapadd() 3529 for (i = 0; i < leapcnt; ++i) { in adjleap() [all …]
|
/third_party/python/Lib/zoneinfo/ |
D | _common.py | 44 + header.leapcnt * 8 # Leap second records 110 skip_bytes = header.isutcnt + header.isstdcnt + header.leapcnt * 12
|
/third_party/skia/third_party/externals/icu/source/tools/tzcode/ |
D | localtime.c | 102 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()
|
D | zic.c | 189 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()
|
D | tz2icu.cpp | 323 int64_t leapcnt = readcoded(file, 0); in readzoneinfo() local 516 for (i=0; i<leapcnt; ++i) { in readzoneinfo()
|
/third_party/icu/icu4c/source/tools/tzcode/ |
D | localtime.c | 104 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()
|
D | zic.c | 190 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()
|
D | tz2icu.cpp | 323 int64_t leapcnt = readcoded(file, 0); in readzoneinfo() local 516 for (i=0; i<leapcnt; ++i) { in readzoneinfo()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_info.h | 90 std::size_t leapcnt; // leap seconds (we expect none) member
|
D | time_zone_info.cc | 261 leapcnt = static_cast<std::size_t>(v); in Build() 276 len += (time_len + 4) * leapcnt; // leap-time + TAI-UTC in DataLength() 412 if (hdr.leapcnt != 0) { in Load() 483 bp += (8 + 4) * hdr.leapcnt; // leap-time + TAI-UTC in Load()
|
/third_party/python/Lib/test/test_zoneinfo/ |
D | test_zoneinfo.py | 838 leapcnt = len(leap_seconds) 872 ">6l", isutcnt, isstdcnt, leapcnt, timecnt, typecnt, charcnt 1886 isutcnt, isstdcnt, leapcnt, timecnt, typecnt, charcnt = struct.unpack( 1894 + leapcnt * 8
|