Searched refs:leap_days (Results 1 – 7 of 7) sorted by relevance
287 int leap_days = year - (mon <= 1); in time2epoch() local288 leap_days = ((leap_days / 4) - (leap_days / 100) + (leap_days / 400) in time2epoch()291 + leap_days + month_days_cumulative[mon] + mday - 1) * 24 in time2epoch()
1028 const uint32_t leap_days = y_adj / 4 - y_adj / 100 + y_adj / 400; in jsondec_epochdays() local1029 return y_adj * 365 + leap_days + month_days + (d - 1) - 2472632; in jsondec_epochdays()
827 static const int leap_days[] = /* Days to a month, leap years */ in httpGetDateTime() local863 days = leap_days[i] + day - 1; in httpGetDateTime()
1711 uint32_t leap_days = 1 + (febs / 4) - (febs / 100) + (febs / 400); in epoch_days() local1712 uint32_t days = 365 * year_adj + leap_days + month_yday[month - 1] + day - 1; in epoch_days()
1709 uint32_t leap_days = 1 + (febs / 4) - (febs / 100) + (febs / 400);1710 uint32_t days = 365 * year_adj + leap_days + month_yday[month - 1] + day - 1;
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()