Home
last modified time | relevance | path

Searched refs:isleap (Results 1 – 18 of 18) sorted by relevance

/titanic_41/usr/src/lib/libresolv2/common/nameser/
H A Dns_date.c84 #define isleap(y) ((((y) % 4) == 0 && ((y) % 100) != 0) || ((y) % 400) == 0) in ns_datetosecs() macro
95 if (time.tm_mon > 1 && isleap(1900+time.tm_year)) in ns_datetosecs()
101 if (isleap(1900+i)) in ns_datetosecs()
/titanic_41/usr/src/head/
H A Dtzfile.h207 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro
243 #define isleap_sum(a, b) isleap((a) % 400 + (b) % 400)
/titanic_41/usr/src/cmd/date/
H A Ddate.c63 #define year_size(A) ((isleap(A)) ? 366 : 365)
264 if (mm == 2 && isleap(yy)) /* adjust for leap year */ in setdate()
277 if (isleap(yy) && mm >= 3) in setdate()
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Ddysize.c42 return (isleap(y) ? DAYS_PER_LYEAR : DAYS_PER_NYEAR); in dysize()
H A Dlocaltime.c631 leapyear = isleap(year);
835 year_lengths[isleap(year)] * SECSPERDAY;
1162 yleap = isleap(y);
1170 yleap = isleap(y);
1260 mon_lengths[isleap(yourtm.tm_year +
1268 i = mon_lengths[isleap(yourtm.tm_year +
/titanic_41/usr/src/cmd/mdb/common/libstand/
H A Dctime.c64 yleap = isleap(y); in localtime()
79 yleap = isleap(y); in localtime()
/titanic_41/usr/src/cmd/cron/
H A Dfuncs.c86 for (p = 1; ! isleap(y2+YEAR+p); p++) in days_btwn()
111 return (dom[m] + (((m == 1) && isleap(y + YEAR)) ? 1 : 0)); in days_in_mon()
H A Dat.c509 return (isleap(year + TM_YEAR_BASE)); in leap()
527 tv += (365 + isleap(i));
/titanic_41/usr/src/stand/lib/sa/
H A Dtime.c122 while (days < 0 || days >= (long)__year_lengths[isleap(y)]) { in gmtime()
134 ip = __mon_lengths[isleap(y)]; in gmtime()
H A Dtime.h76 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro
/titanic_41/usr/src/uts/common/sys/
H A Dtzfile.h142 #define isleap(y) (((y) % 4) == 0 && ((y) % 100) != 0 || ((y) % 400) == 0) macro
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dstr_conv.c374 #undef isleap
375 #define isleap(N) ((N % 4) == 0 && (N % 100 != 0 || N % 400 == 0)) macro
/titanic_41/usr/src/ucbcmd/touch/
H A Dtouch.c41 #define isleap(y) (((y) % 4) == 0 && ((y) % 100) != 0 || ((y) % 400) == 0) macro
174 if (tp->tm_mon == 1 && isleap(tp->tm_year + 1900)) in main()
/titanic_41/usr/src/cmd/zdump/
H A Dzdump.c61 #define isleap_sum(a, b) isleap((a) % 400 + (b) % 400)
397 seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR;
406 seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR;
/titanic_41/usr/src/cmd/zic/
H A Dzic.c1163 i = len_years[isleap(j)];
1167 i = -len_years[isleap(j)];
1178 i = len_months[isleap(year)][j];
1184 day <= 0 || day > len_months[isleap(year)][month]) {
2163 i = len_years[isleap(y)];
2167 i = -len_years[isleap(y)];
2172 i = len_months[isleap(y)][m];
2177 if (m == TM_FEBRUARY && i == 29 && !isleap(y)) {
2214 if (i < 0 || i >= len_months[isleap(y)][m]) {
/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kutil.c1067 while (tsec >= (isleap(year) ? (SECSPERDAY * DAYSPERLYEAR) : in smb_gmtime_r()
1069 if (isleap(year)) in smb_gmtime_r()
1083 if (month == TM_FEBRUARY && isleap(year)) in smb_gmtime_r()
1135 if (isleap(yy)) in smb_timegm()
1144 if (mm == TM_FEBRUARY && isleap(year)) in smb_timegm()
/titanic_41/usr/src/cmd/auditreduce/
H A Dtime.c492 if (isleap(year)) in days_in_year()
/titanic_41/usr/src/lib/libc/port/gen/
H A Dlocaltime.c724 if (isleap(tmptr->tm_year + TM_YEAR_BASE)) in mktime1()
1216 while (days < 0 || days >= (long)__year_lengths[yleap = isleap(y)]) { in offtime_u()
1329 leapyear = isleap(year); in posix_daylight()