Searched refs:is_leap_year (Results 1 – 3 of 3) sorted by relevance
35 return rtc_days_in_month[month] + (is_leap_year(year) && month == 1); in rtc_month_days()44 return rtc_ydays[is_leap_year(year)][month] + day-1; in rtc_year_days()68 days += 365 + is_leap_year(year); in rtc_time_to_tm()
55 ndays += 365 + (is_leap_year(y) ? 1 : 0); in compute_wday()
271 static inline bool is_leap_year(unsigned int year) in is_leap_year() function