Home
last modified time | relevance | path

Searched refs:leap_year (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_info.cc137 std::int_fast64_t TransOffset(bool leap_year, int jan1_weekday, in TransOffset() argument
143 if (!leap_year || days < kMonthOffsets[1][3]) days -= 1; in TransOffset()
152 days = kMonthOffsets[leap_year][pt.date.m.month + last_week]; in TransOffset()
364 bool leap_year = IsLeap(last_year_); in ExtendTransitions() local
372 auto dst_trans_off = TransOffset(leap_year, jan1_weekday, posix.dst_start); in ExtendTransitions()
373 auto std_trans_off = TransOffset(leap_year, jan1_weekday, posix.dst_end); in ExtendTransitions()
383 jan1_time += kSecsPerYear[leap_year]; in ExtendTransitions()
384 jan1_weekday = (jan1_weekday + kDaysPerYear[leap_year]) % 7; in ExtendTransitions()
385 leap_year = !leap_year && IsLeap(last_year_ + 1); in ExtendTransitions()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-helpers-date.c276 int leap_year = ecma_date_in_leap_year (year); in ecma_date_date_from_time() local
278 if (day_within_year <= 58 + leap_year) in ecma_date_date_from_time()
283 day_within_year -= leap_year; in ecma_date_date_from_time()
/third_party/node/deps/openssl/openssl/crypto/asn1/
Da_time.c37 static int leap_year(const int year) in leap_year() function
63 tm->tm_yday += leap_year(y); in determine_days()
169 md = mdays[1] + leap_year(tmp.tm_year + 1900); in ossl_asn1_time_to_tm()
/third_party/openssl/crypto/asn1/
Da_time.c37 static int leap_year(const int year) in leap_year() function
63 tm->tm_yday += leap_year(y); in determine_days()
169 md = mdays[1] + leap_year(tmp.tm_year + 1900); in ossl_asn1_time_to_tm()