Home
last modified time | relevance | path

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

/bionic/libc/tzcode/
Dstrptime.c107 cr.century = TM_YEAR_BASE; in strptime()
426 tm->tm_year = i - TM_YEAR_BASE; in _strptime()
458 if (cr->century == TM_YEAR_BASE) { in _strptime()
460 tm->tm_year = cr->relyear + 2000 - TM_YEAR_BASE; in _strptime()
462 tm->tm_year = cr->relyear + 1900 - TM_YEAR_BASE; in _strptime()
464 tm->tm_year = cr->relyear + cr->century - TM_YEAR_BASE; in _strptime()
Dstrftime.c237 pt = _yconv(t->tm_year, TM_YEAR_BASE, in _fmt()
421 base = TM_YEAR_BASE; in _fmt()
516 pt = _yconv(t->tm_year, TM_YEAR_BASE, in _fmt()
521 pt = _yconv(t->tm_year, TM_YEAR_BASE, in _fmt()
Dtzfile.h148 #define TM_YEAR_BASE 1900 macro
Dlocaltime.c1672 if (increment_overflow(&tmp->tm_year, -TM_YEAR_BASE)) in timesub()
1870 if (increment_overflow32(&y, TM_YEAR_BASE)) in time2sub()
1895 if (increment_overflow32(&y, -TM_YEAR_BASE)) in time2sub()
1902 else if (y + TM_YEAR_BASE < EPOCH_YEAR) { in time2sub()
/bionic/libc/upstream-openbsd/lib/libc/time/
Dwcsftime.c186 pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 0, in _fmt()
352 base = TM_YEAR_BASE; in _fmt()
435 pt = _yconv(t->tm_year, TM_YEAR_BASE, 0, 1, pt, ptlim); in _fmt()
438 pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 1, pt, ptlim); in _fmt()