Searched refs:year_lengths (Results 1 - 4 of 4) sorted by relevance

/freebsd-11-stable/contrib/unbound/compat/
H A Dgmtime_r.c40 static const int year_lengths[2] = { variable
80 while (days < 0 || days >= (long) year_lengths[yleap = isleap(y)]) {
/freebsd-11-stable/contrib/ntp/libntp/
H A Dmktime.c96 static int year_lengths[2] = { variable
205 year_lengths[isleap(yourtm.tm_year + TM_YEAR_BASE)];
/freebsd-11-stable/contrib/tzcode/stdtime/
H A Dlocaltime.c681 static const int year_lengths[2] = { variable
1102 newfirst += year_lengths[isleap(year)] *
1645 while (tdays < 0 || tdays >= year_lengths[isleap(y)]) {
1689 idays += year_lengths[isleap(y)];
1691 while (idays >= year_lengths[isleap(y)]) {
1692 idays -= year_lengths[isleap(y)];
1875 yourtm.tm_mday += year_lengths[isleap(li)];
1879 yourtm.tm_mday -= year_lengths[isleap(li)];
/freebsd-11-stable/sys/dev/ips/
H A Dips_commands.c411 int year_lengths[2] = { IPS_DAYSPERNYEAR, IPS_DAYSPERLYEAR }; local
427 while (days < 0 || days >= (long) year_lengths[yleap = ips_isleap(y)]) {

Completed in 134 milliseconds