Searched refs:TM_YEAR_BASE (Results 1 - 4 of 4) sorted by relevance

/external/openssh/openbsd-compat/
H A Dstrptime.c38 #define TM_YEAR_BASE 1900 /* from tzfile.h */ macro
76 century = TM_YEAR_BASE;
331 tm->tm_year = i - TM_YEAR_BASE;
363 if (century == TM_YEAR_BASE) {
365 tm->tm_year = relyear + 2000 - TM_YEAR_BASE;
367 tm->tm_year = relyear + 1900 - TM_YEAR_BASE;
369 tm->tm_year = relyear + century - TM_YEAR_BASE;
/external/icu/icu4c/source/tools/tzcode/
H A Dtzfile.h148 #define TM_YEAR_BASE 1900 macro
H A Dzdump.c134 #ifndef TM_YEAR_BASE
135 #define TM_YEAR_BASE 1900 macro
136 #endif /* !defined TM_YEAR_BASE */
788 result += DAYSPERNYEAR + isleap_sum(tmy, TM_YEAR_BASE);
909 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR;
910 lead = timeptr->tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR +
994 trail = loc.tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR;
995 lead = loc.tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + trail / DIVISOR;
H A Dlocaltime.c1510 if (increment_overflow(&tmp->tm_year, -TM_YEAR_BASE))
1701 ** It is converted back to an offset from TM_YEAR_BASE later.
1703 if (increment_overflow32(&y, TM_YEAR_BASE))
1728 if (increment_overflow32(&y, -TM_YEAR_BASE))
1735 else if (y + TM_YEAR_BASE < EPOCH_YEAR) {

Completed in 76 milliseconds