Home
last modified time | relevance | path

Searched refs:TM_YEAR_BASE (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/LibC/Time/
Dstrptime.c198 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()
DTimeEfi.c34 BT->tm_year = ET->Year - TM_YEAR_BASE; in Efi2Tm()
73 ET->Year = (UINT16)BT->tm_year + TM_YEAR_BASE; in Tm2Efi()
Dstrftime.c178 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()
DTime.c169 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()
/device/linaro/bootloader/edk2/StdLib/Include/
Dtime.h106 #define TM_YEAR_BASE 1900 macro