Searched refs:isleap (Results 1 - 15 of 15) sorted by relevance

/netbsd-6-1-5-RELEASE/lib/libc/time/
H A Dtzfile.h167 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro
170 ** Since everything in isleap is modulo 400 (or a factor of 400), we know that
171 ** isleap(y) == isleap(y % 400)
173 ** isleap(a + b) == isleap((a + b) % 400)
175 ** isleap(a + b) == isleap(a % 400 + b % 400)
181 #define isleap_sum(a, b) isleap((a) % 400 + (b) % 400)
H A Dzdump.c90 #ifndef isleap
91 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro
92 #endif /* !defined isleap */
98 #define isleap_sum(a, b) isleap((a) % 400 + (b) % 400)
477 seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR;
486 seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR;
H A Dlocaltime.c865 leapyear = isleap(year);
1065 newfirst += year_lengths[isleap(year)] *
1578 while (tdays < 0 || tdays >= year_lengths[isleap(y)]) {
1622 idays += year_lengths[isleap(y)];
1624 while (idays >= year_lengths[isleap(y)]) {
1625 idays -= year_lengths[isleap(y)];
1653 ip = mon_lengths[isleap(y)];
1830 yourtm.tm_mday += year_lengths[isleap(li)];
1834 yourtm.tm_mday -= year_lengths[isleap(li)];
1839 i = mon_lengths[isleap(
[all...]
H A Dzic.c1171 i = len_years[isleap(j)];
1175 i = -len_years[isleap(j)];
1186 i = len_months[isleap(year)][j];
1192 day <= 0 || day > len_months[isleap(year)][month]) {
2610 i = len_years[isleap(y)];
2614 i = -len_years[isleap(y)];
2619 i = len_months[isleap(y)][m];
2624 if (m == TM_FEBRUARY && i == 29 && !isleap(y)) {
2661 if (i < 0 || i >= len_months[isleap(y)][m]) {
/netbsd-6-1-5-RELEASE/sys/arch/ia64/stand/ia64/ski/
H A Dtime.c60 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro
135 UTime += (CumulativeDays[isleap(Year)][13] * SECSPERDAY);
143 UTime += (CumulativeDays[isleap(ETime->Year)][ETime->Month] * SECSPERDAY);
/netbsd-6-1-5-RELEASE/dist/dhcp/minires/
H A Dns_date.c89 #define isleap(y) ((((y) % 4) == 0 && ((y) % 100) != 0) || ((y) % 400) == 0) macro
101 if (time.tm_mon > 1 && isleap(1900+time.tm_year))
108 if (isleap(1900+i))
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/nameser/
H A Dns_date.c86 #define isleap(y) ((((y) % 4) == 0 && ((y) % 100) != 0) || ((y) % 400) == 0) macro
97 if (time.tm_mon > 1 && isleap(1900+time.tm_year))
103 if (isleap(1900+i))
/netbsd-6-1-5-RELEASE/sys/arch/ia64/stand/efi/libefi/
H A Dtime.c58 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro
122 UTime += (CumulativeDays[isleap(Year)][13] * SECSPERDAY);
130 UTime += (CumulativeDays[isleap(ETime->Year)][ETime->Month] * SECSPERDAY);
/netbsd-6-1-5-RELEASE/external/bsd/file/dist/src/
H A Dcdf_time.c47 #define isleap(y) ((((y) % 4) == 0) && \ macro
64 days += isleap(y) + 365;
78 int sub = mdays[m] + (m == 1 && isleap(year));
96 if (m == 1 && isleap(year))
/netbsd-6-1-5-RELEASE/include/
H A Dtzfile.h156 #define isleap(y) ((((y) % 4) == 0 && ((y) % 100) != 0) || ((y) % 400) == 0) macro
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libntp/
H A Dmktime.c90 #define isleap(y) ((((y) % 4) == 0 && ((y) % 100) != 0) || ((y) % 400) == 0) macro
206 year_lengths[isleap(yourtm.tm_year + TM_YEAR_BASE)];
209 i = mon_lengths[isleap(yourtm.tm_year +
/netbsd-6-1-5-RELEASE/gnu/usr.bin/rcs/lib/
H A Dmaketime.c50 static int isleap P((int));
64 isleap(y) function
82 + (m==1 && isleap(tm->tm_year + TM_YEAR_ORIGIN));
217 - (tm->tm_mon<2 || ! isleap(tm->tm_year + TM_YEAR_ORIGIN));
/netbsd-6-1-5-RELEASE/bin/date/
H A Ddate.c273 !isleap(lt->tm_year + TM_YEAR_BASE)))
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/
H A Drefclock_wwv.c2226 int minute, day, isleap; local
2265 isleap = up->decvec[YR].digit & 0x3;
2267 if ((day == (isleap ? 182 : 183) || day == (isleap ?
2293 if (day != (isleap ? 365 : 366))
/netbsd-6-1-5-RELEASE/usr.bin/calendar/
H A Dcalendar.c225 if (isleap(tp->tm_year + TM_YEAR_BASE)) {

Completed in 146 milliseconds