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

/freebsd-13-stable/sys/kern/
H A Dsubr_clock.c89 #define days_in_month(y, m) \ macro
162 ct->day > days_in_month(year, ct->mon) ||
186 days += days_in_month(year, i);
272 for (i = 1; days >= days_in_month(year, i); i++)
273 days -= days_in_month(year, i);
/freebsd-13-stable/contrib/dialog/
H A Dcalendar.c212 days_in_month(struct tm *current, int offset /* -1, 0, 1 */ ) function
381 int last = days_in_month(current, 0);
382 int prev = days_in_month(current, -1);
784 now_time += ONE_DAY * days_in_month(&current, 0);
786 now_time -= ONE_DAY * days_in_month(&current, -1);
959 days_in_month(&current, 0);
962 days_in_month(&current, -1);
/freebsd-13-stable/contrib/ntp/ntpd/
H A Drefclock_leitch.c114 static char days_in_month [] = { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; variable
559 if (leitch->day > days_in_month[leitch->month-1])
567 leitch->yearday += days_in_month[i++];

Completed in 109 milliseconds