Home
last modified time | relevance | path

Searched refs:mdays (Results 1 – 4 of 4) sorted by relevance

/dragonfly/contrib/file/src/
H A Dcdf_time.c44 static const int mdays[] = {
71 for (m = 0; m < __arraycount(mdays); m++) { in cdf_getday()
72 int sub = mdays[m] + (m == 1 && isleap(year)); in cdf_getday()
88 for (m = 0; m < __arraycount(mdays); m++) { in cdf_getmonth()
89 days -= mdays[m]; in cdf_getmonth()
/dragonfly/usr.bin/calendar/
H A Dchinese.c371 static const char *mdays[] = { variable
461 mdays[cdate.day - 1]); in chinese_format_date()
535 mdays[date.day - 1]); in show_chinese_calendar()
/dragonfly/contrib/ldns/
H A Dutil.c166 static const int mdays[] = { variable
204 days += mdays[i]; in ldns_mktime_from_utc()
252 leap_year_mdays : mdays; in ldns_mon_and_mday_from_year_and_yday()
/dragonfly/bin/date/
H A Dvary.c103 static int mdays[12] = { 31, 0, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; variable
122 return mdays[t->tm_mon]; in daysinmonth()