Searched refs:leap_days (Results 1 – 6 of 6) 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()
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;
6996 const uint32_t leap_days = y_adj / 4 - y_adj / 100 + y_adj / 400; in jsondec_epochdays() local6997 return y_adj * 365 + leap_days + month_days + (d - 1) - 2472632; in jsondec_epochdays()