Searched refs:leap_days (Results 1 – 4 of 4) sorted by relevance
300 int month, year, leap_days; in my_timegm() local313 leap_days = year - (tm->tm_mon <= 1); in my_timegm()314 leap_days = ((leap_days / 4) - (leap_days / 100) + (leap_days / 400) in my_timegm()318 + leap_days + month_days_cumulative[month] + tm->tm_mday - 1) * 24 in my_timegm()
833 static const int leap_days[] = /* Days to a month, leap years */ in httpGetDateTime() local869 days = leap_days[i] + day - 1; in httpGetDateTime()
10480 int64_t leap_days = years / 4 - years / 100 + years / 400; in epoch() local10482 int64_t days = years * 365 + yday + leap_days; in epoch()
14319 int64_t leap_days = years / 4 - years / 100 + years / 400; in epoch() local14321 int64_t days = years * 365 + yday + leap_days; in epoch()