Home
last modified time | relevance | path

Searched refs:is_Jan_or_Feb (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/kernel/time/
H A Dtimeconv.c51 bool is_Jan_or_Feb, is_leap_year; in time64_to_tm() local
127 is_Jan_or_Feb = day_of_year >= 306; in time64_to_tm()
130 year = year + is_Jan_or_Feb - 6313183731940000ULL; in time64_to_tm()
131 month = is_Jan_or_Feb ? month - 12 : month; in time64_to_tm()
133 day_of_year += is_Jan_or_Feb ? -306 : 31 + 28 + is_leap_year; in time64_to_tm()
/openbmc/linux/drivers/rtc/
H A Dlib.c60 bool is_Jan_or_Feb, is_leap_year; in rtc_time64_to_tm() local
119 is_Jan_or_Feb = day_of_year >= 306; in rtc_time64_to_tm()
122 year = year + is_Jan_or_Feb; in rtc_time64_to_tm()
123 month = is_Jan_or_Feb ? month - 12 : month; in rtc_time64_to_tm()
126 day_of_year = is_Jan_or_Feb ? in rtc_time64_to_tm()