Searched refs:TM_YEAR_BASE (Results 1 – 6 of 6) 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()
135 #ifndef TM_YEAR_BASE136 #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()
10464 #define TM_YEAR_BASE 1900 macro10496 int year = tp->tm_year + TM_YEAR_BASE; in upb_mktime()
14303 #define TM_YEAR_BASE 1900 macro14334 int year = tp->tm_year + TM_YEAR_BASE; in upb_mktime()