Searched refs:safe_year (Results 1 – 1 of 1) sorted by relevance
317 static int safe_year(const Year year) in safe_year() function319 int safe_year = 0; in safe_year() local347 safe_year = safe_years_low[year_cycle]; in safe_year()349 safe_year = safe_years_high[year_cycle]; in safe_year()354 year, year_cycle, safe_year); in safe_year()356 assert(safe_year <= MAX_SAFE_YEAR && safe_year >= MIN_SAFE_YEAR); in safe_year()358 return safe_year; in safe_year()504 date.tm_year = safe_year(year) - 1900; in mktime64()684 gm_tm.tm_year = safe_year((Year)(gm_tm.tm_year + 1900)) - 1900; in localtime64_r()