Searched refs:TM_YEAR_BASE (Results 1 – 4 of 4) sorted by relevance
38 #define TM_YEAR_BASE 1900 /* from tzfile.h */ macro76 century = TM_YEAR_BASE; in _strptime()331 tm->tm_year = i - TM_YEAR_BASE; in _strptime()363 if (century == TM_YEAR_BASE) { in _strptime()365 tm->tm_year = relyear + 2000 - TM_YEAR_BASE; in _strptime()367 tm->tm_year = relyear + 1900 - TM_YEAR_BASE; in _strptime()369 tm->tm_year = relyear + century - TM_YEAR_BASE; in _strptime()
134 #ifndef TM_YEAR_BASE135 #define TM_YEAR_BASE 1900 macro788 result += DAYSPERNYEAR + isleap_sum(tmy, TM_YEAR_BASE); in delta()909 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR; in dumptime()910 lead = timeptr->tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + in dumptime()994 trail = loc.tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR; in dumptimeICU()995 lead = loc.tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + trail / DIVISOR; in dumptimeICU()
148 #define TM_YEAR_BASE 1900 macro
1510 if (increment_overflow(&tmp->tm_year, -TM_YEAR_BASE)) in timesub()1703 if (increment_overflow32(&y, TM_YEAR_BASE)) in time2sub()1728 if (increment_overflow32(&y, -TM_YEAR_BASE)) in time2sub()1735 else if (y + TM_YEAR_BASE < EPOCH_YEAR) { in time2sub()