Searched refs:is_leap_year (Results 1 - 3 of 3) sorted by relevance

/freebsd-10-stable/contrib/unbound/sldns/
H A Dparseutil.c52 is_leap_year(int year) function
84 if (tm->tm_mon > 1 && is_leap_year(year)) {
104 while (days < 0 || days >= (int64_t) (is_leap_year(year) ? 366 : 365)) {
123 const int *mon_lengths = is_leap_year(result->tm_year) ?
/freebsd-10-stable/crypto/heimdal/lib/roken/
H A Dstrptime.c165 is_leap_year (int year) function
180 ret = (ret + (is_leap_year (year) ? 366 : 365)) % 7;
/freebsd-10-stable/contrib/ldns/
H A Dutil.c174 is_leap_year(int year) function
206 if (tm->tm_mon > 1 && is_leap_year(year)) {
232 while (days < 0 || days >= (int64_t) (is_leap_year(year) ? 366 : 365)) {
251 const int *mon_lengths = is_leap_year(result->tm_year) ?

Completed in 176 milliseconds