Searched refs:leapyear (Results 1 – 3 of 3) sorted by relevance
95 static ushort_t leapyear[] = { variable255 months = year & 0x03 ? regyear : leapyear; in smb_time_unix2dos()328 months = year & 0x03 ? regyear : leapyear; in smb_dos2unixtime()
626 register int leapyear; local631 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])
1321 long leapyear; in posix_daylight() local1329 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()