Searched refs:TM_YEAR_BASE (Results 1 – 5 of 5) sorted by relevance
198 i = i * 100 - TM_YEAR_BASE; in strptime()280 i = TM_YEAR_BASE; /* just for data sanity... */ in strptime()282 tm->tm_year = i - TM_YEAR_BASE; in strptime()296 i = i + 2000 - TM_YEAR_BASE; in strptime()298 i = i + 1900 - TM_YEAR_BASE; in strptime()
34 BT->tm_year = ET->Year - TM_YEAR_BASE; in Efi2Tm()73 ET->Year = (UINT16)BT->tm_year + TM_YEAR_BASE; in Tm2Efi()
178 pt = _conv((t->tm_year + TM_YEAR_BASE) / 100, in _fmt()354 year = t->tm_year + TM_YEAR_BASE; in _fmt()447 pt = _conv((t->tm_year + TM_YEAR_BASE) % 100, in _fmt()451 pt = _conv(t->tm_year + TM_YEAR_BASE, "%04d", in _fmt()
169 tmp->tm_year = (int)(y - TM_YEAR_BASE); in timesub()279 if (increment_overflow(&yourtm.tm_year, TM_YEAR_BASE)) in time2sub()304 if (increment_overflow(&yourtm.tm_year, -TM_YEAR_BASE)) in time2sub()308 else if (yourtm.tm_year + TM_YEAR_BASE < EPOCH_YEAR) { in time2sub()647 TM_YEAR_BASE + timeptr->tm_year); in asctime()
106 #define TM_YEAR_BASE 1900 macro