Home
last modified time | relevance | path

Searched refs:leapyear (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_time.c95 static ushort_t leapyear[] = { variable
255 months = year & 0x03 ? regyear : leapyear; in smb_time_unix2dos()
328 months = year & 0x03 ? regyear : leapyear; in smb_dos2unixtime()
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dlocaltime.c626 register int leapyear; local
631 leapyear = isleap(year);
643 if (leapyear && rulep->r_day >= 60)
662 value += mon_lengths[leapyear][i] * SECSPERDAY;
687 mon_lengths[leapyear][rulep->r_mon - 1])
/titanic_41/usr/src/lib/libc/port/gen/
H A Dlocaltime.c1321 long leapyear; in posix_daylight() local
1329 leapyear = isleap(year); in posix_daylight()
1343 value += __mon_lengths[leapyear][i] * in posix_daylight()
1364 if (year < 1 && leapyear) in posix_daylight()
1376 __mon_lengths[leapyear][rulep->r_mon - 1]) in posix_daylight()
1393 if (leapyear && rulep->r_day >= 60) in posix_daylight()
1406 *janfirst += __secs_year_lengths[leapyear]; in posix_daylight()