Searched refs:mdays (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/file/src/ |
H A D | cdf_time.c | 44 file_private 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()
|
/freebsd/contrib/ntp/libntp/ |
H A D | ntp_calendar.c | 1393 int32_t mdays in ntpcal_edate_to_eradays() 1404 res += mdays; in ntpcal_edate_to_eradays() 1422 int32_t mdays in ntpcal_edate_to_yeardays() 1429 mdays -= 2 - is_leapyear(years+1); in ntpcal_edate_to_yeardays() 1430 mdays += (489 * mons + 8) >> 4; in ntpcal_edate_to_yeardays() 1433 mdays += tmp.lo in ntpcal_edate_to_yeardays() 1438 return mdays; in ntpcal_edate_to_yeardays() 1394 ntpcal_edate_to_eradays(int32_t years,int32_t mons,int32_t mdays) ntpcal_edate_to_eradays() argument 1423 ntpcal_edate_to_yeardays(int32_t years,int32_t mons,int32_t mdays) ntpcal_edate_to_yeardays() argument
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | a_time.c | 80 static const int mdays[12] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; in ossl_asn1_time_to_tm() local 169 md = mdays[1] + leap_year(tmp.tm_year + 1900); in ossl_asn1_time_to_tm() 171 md = mdays[tmp.tm_mon]; in ossl_asn1_time_to_tm()
|
/freebsd/contrib/ldns/ |
H A D | util.c | 166 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()
|
/freebsd/contrib/unbound/sldns/ |
H A D | parseutil.c | 44 static const int mdays[] = { variable 82 days += mdays[i]; in sldns_mktime_from_utc() 124 leap_year_mdays : mdays; in sldns_mon_and_mday_from_year_and_yday()
|
/freebsd/bin/date/ |
H A D | vary.c | 101 static int mdays[12] = { 31, 0, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; variable 120 return mdays[t->tm_mon]; in daysinmonth()
|