Lines Matching refs:year
195 int year; in smb_gmtime_r() local
209 year = EPOCH_YEAR; in smb_gmtime_r()
210 while (tsec >= (isleap(year) ? (SECSPERDAY * DAYSPERLYEAR) : in smb_gmtime_r()
212 if (isleap(year)) in smb_gmtime_r()
217 ++year; in smb_gmtime_r()
220 result->tm_year = year - TM_YEAR_BASE; in smb_gmtime_r()
226 if (month == TM_FEBRUARY && isleap(year)) in smb_gmtime_r()
269 int year; in smb_timegm() local
274 year = tm->tm_year + TM_YEAR_BASE; in smb_timegm()
277 for (yy = EPOCH_YEAR; yy < year; ++yy) { in smb_timegm()
287 if (mm == TM_FEBRUARY && isleap(year)) in smb_timegm()