Home
last modified time | relevance | path

Searched refs:is_leap_year (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/rtc/
Drtc-lib.c35 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()
Drtc-efi.c55 ndays += 365 + (is_leap_year(y) ? 1 : 0); in compute_wday()
/linux-3.4.99/include/linux/
Drtc.h271 static inline bool is_leap_year(unsigned int year) in is_leap_year() function