Searched refs:days_per_year (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/contrib/ntp/ntpd/
H A Drefclock_leitch.c107 static int days_per_year (int);
515 * days_per_year
518 days_per_year( function
569 if ((days_per_year((leitch->year>90?1900:2000)+leitch->year)==365) &&
H A Dcheck_y2k.c333 #define days_per_year(x) ((x) % 4 ? 365 : ((x % 400) ? ((x % 100) ? 366 : 365) : 366)) macro
341 DayCnt = (int)days_per_year(year);
347 " days_per_year() %4d %2d %3d *** ERROR\n",
/freebsd-13-stable/contrib/ntp/libparse/
H A Dparse.c397 #define days_per_year(x) ((x) % 4 ? 365 : ((x % 400) ? ((x % 100) ? 366 : 365) : 366)) macro
440 if (clock_time->month < 3 && days_per_year(clock_time->year) == 366)
452 if (clock_time->day < 1 || ((clock_time->month == 2 && days_per_year(clock_time->year) == 366) ?
/freebsd-13-stable/contrib/ntp/parseutil/
H A Ddcfd.c85 #ifndef days_per_year
86 #define days_per_year(_x_) (((_x_) % 4) ? 365 : (((_x_) % 400) ? 365 : 366)) macro
810 if (clock_time->month < 3 && days_per_year(clock_time->year) == 366)
822 if (clock_time->day < 1 || ((clock_time->month == 2 && days_per_year(clock_time->year) == 366) ?
/freebsd-13-stable/contrib/dialog/
H A Dcalendar.c222 days_per_year(int year) function
230 return days_per_year(current->tm_year + 1900 + offset);

Completed in 124 milliseconds