/titanic_41/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_date.c | 84 #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 D | tzfile.h | 207 #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 D | date.c | 63 #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 D | dysize.c | 42 return (isleap(y) ? DAYS_PER_LYEAR : DAYS_PER_NYEAR); in dysize()
|
H A D | localtime.c | 631 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 D | ctime.c | 64 yleap = isleap(y); in localtime() 79 yleap = isleap(y); in localtime()
|
/titanic_41/usr/src/cmd/cron/ |
H A D | funcs.c | 86 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 D | at.c | 509 return (isleap(year + TM_YEAR_BASE)); in leap() 527 tv += (365 + isleap(i));
|
/titanic_41/usr/src/stand/lib/sa/ |
H A D | time.c | 122 while (days < 0 || days >= (long)__year_lengths[isleap(y)]) { in gmtime() 134 ip = __mon_lengths[isleap(y)]; in gmtime()
|
H A D | time.h | 76 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | tzfile.h | 142 #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 D | str_conv.c | 374 #undef isleap 375 #define isleap(N) ((N % 4) == 0 && (N % 100 != 0 || N % 400 == 0)) macro
|
/titanic_41/usr/src/ucbcmd/touch/ |
H A D | touch.c | 41 #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 D | zdump.c | 61 #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 D | zic.c | 1163 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 D | smb_kutil.c | 1067 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 D | time.c | 492 if (isleap(year)) in days_in_year()
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | localtime.c | 724 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()
|