Searched refs:is_leap_year (Results 1 – 3 of 3) sorted by relevance
174 is_leap_year(int year) in is_leap_year() function206 if (tm->tm_mon > 1 && is_leap_year(year)) { in ldns_mktime_from_utc()232 while (days < 0 || days >= (int64_t) (is_leap_year(year) ? 366 : 365)) { in ldns_year_and_yday_from_days_since_epoch()251 const int *mon_lengths = is_leap_year(result->tm_year) ? in ldns_mon_and_mday_from_year_and_yday()
52 is_leap_year(int year) in is_leap_year() function84 if (tm->tm_mon > 1 && is_leap_year(year)) { in sldns_mktime_from_utc()104 while (days < 0 || days >= (int64_t) (is_leap_year(year) ? 366 : 365)) { in sldns_year_and_yday_from_days_since_epoch()123 const int *mon_lengths = is_leap_year(result->tm_year) ? in sldns_mon_and_mday_from_year_and_yday()
165 is_leap_year (int year) in is_leap_year() function180 ret = (ret + (is_leap_year (year) ? 366 : 365)) % 7; in first_day()