Searched refs:leap_days (Results 1 – 2 of 2) sorted by relevance
294 int month, year, leap_days; in my_timegm() local307 leap_days = year - (tm->tm_mon <= 1); in my_timegm()308 leap_days = ((leap_days / 4) - (leap_days / 100) + (leap_days / 400) in my_timegm()312 + 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()