Home
last modified time | relevance | path

Searched refs:is_leap_year (Results 1 - 5 of 5) sorted by relevance

/third_party/ltp/lib/
H A Dtst_rtctime.c20 static inline bool is_leap_year(unsigned int year) in is_leap_year() function
51 return rtc_days_in_month[month] + (is_leap_year(year) && month == 1); in rtc_month_days()
76 days += 365 + is_leap_year(year); in tst_rtc_time_to_tm()
/third_party/nghttp2/src/
H A Dtimegm.c59 static int is_leap_year(int y) { in is_leap_year() function
76 if (tm->tm_mon >= 2 && is_leap_year(tm->tm_year + 1900)) { in nghttp2_timegm_without_yday()
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
H A Drtc.h53 #define is_leap_year linux_is_leap_year macro
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/include/cctz/
H A Dcivil_time_detail.h83 CONSTEXPR_F bool is_leap_year(year_t y) noexcept {
98 return is_leap_year(y + (m > 2)) ? 366 : 365;
104 return k_days_per_month[m] + (m == 2 && is_leap_year(y));
604 const int feb29 = (cs.month() > 2 && impl::is_leap_year(cs.year()));
/third_party/python/Modules/
H A D_zoneinfo.c166 is_leap_year(int year);
1181 if (self->month == 2 && is_leap_year(year)) { in calendarrule_year_to_timestamp()
1293 if (self->julian && day >= 59 && is_leap_year(year)) { in dayrule_year_to_timestamp()
2172 is_leap_year(int year) in is_leap_year() function
2185 if (m > 2 && is_leap_year(y + 1)) { in ymd_to_ord()

Completed in 7 milliseconds