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

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dgmt_mktime.c22 static const int days_in_month[12] = { variable
83 accum += days_in_month[t->tm_mon];
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_subr.c101 days_in_month(int m, int y) function
145 for (month = 1; unixtime >= 86400 * days_in_month(month, year);
147 unixtime -= 86400 * days_in_month(month, year);
168 ASSERT(day >= 1 && day <= days_in_month(month, year));
212 day < 1 || day > days_in_month(month, year) ||
230 *unixtime += 86400 * (int64_t)days_in_month(month, year);
/illumos-gate/usr/src/ucbcmd/touch/
H A Dtouch.c119 int days_in_month; local
173 days_in_month = dmsize[tp->tm_mon];
175 days_in_month = 29; /* February in leap year */
177 tp->tm_mday < 1 || tp->tm_mday > days_in_month ||
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kutil.c69 static const int days_in_month[] = { variable
1083 sec_per_month = days_in_month[month] * SECSPERDAY;
1144 dd = days_in_month[mm] * SECSPERDAY;

Completed in 180 milliseconds