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

/macosx-10.10.1/Heimdal-398.1.2/lib/roken/
H A Dtimegm.c39 is_leap(unsigned y) function
63 if (tm->tm_mday < 1 || tm->tm_mday > ndays[is_leap(tm->tm_year)][tm->tm_mon])
73 res += is_leap(i) ? 366 : 365;
76 res += ndays[is_leap(tm->tm_year)][i];
/macosx-10.10.1/Heimdal-398.1.2/lib/asn1/
H A Dtimegm.c39 is_leap(unsigned y) function
71 if (tm->tm_mday < 1 || tm->tm_mday > (int)ndays[is_leap(tm->tm_year)][tm->tm_mon])
81 res += is_leap(i) ? 366 : 365;
84 res += ndays[is_leap(tm->tm_year)][i];
118 time_t dayinyear = (is_leap(tm->tm_year) ? 366 : 365);
127 time_t daysinmonth = ndays[is_leap(tm->tm_year)][tm->tm_mon];
/macosx-10.10.1/OpenSSH-189/osslshim/heimdal-asn1/
H A Dasn1-timegm.c61 is_leap(unsigned y) function
93 if (tm->tm_mday < 1 || tm->tm_mday > (int)ndays[is_leap(tm->tm_year)][tm->tm_mon])
103 res += is_leap(i) ? 366 : 365;
106 res += ndays[is_leap(tm->tm_year)][i];
140 unsigned dayinyear = (is_leap(tm->tm_year) ? 366 : 365);
149 unsigned daysinmonth = ndays[is_leap(tm->tm_year)][tm->tm_mon];
/macosx-10.10.1/bind9-45.101/bind9/lib/dns/
H A Dtime.c51 #define is_leap(y) ((((y) % 4) == 0 && ((y) % 100) != 0) || ((y) % 400) == 0) macro
52 #define year_secs(y) ((is_leap(y) ? 366 : 365 ) * 86400)
53 #define month_secs(m,y) ((days[m] + ((m == 1 && is_leap(y)) ? 1 : 0 )) * 86400)
163 ((month == 2 && is_leap(year)) ? 1 : 0), day);
175 if (is_leap(year) && month > 2)
179 secs = (is_leap(i) ? 366 : 365) * 86400;
184 secs = (is_leap(i) ? 366 : 365) * 86400;

Completed in 69 milliseconds