Home
last modified time | relevance | path

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

/external/openssh/openbsd-compat/
Dstrptime.c38 #define TM_YEAR_BASE 1900 /* from tzfile.h */ macro
76 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()
/external/icu/icu4c/source/tools/tzcode/
Dzdump.c135 #ifndef TM_YEAR_BASE
136 #define TM_YEAR_BASE 1900 macro
788 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()
Dtzfile.h148 #define TM_YEAR_BASE 1900 macro
Dlocaltime.c1510 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()
/external/protobuf/php/ext/google/protobuf/
Dupb.c10464 #define TM_YEAR_BASE 1900 macro
10496 int year = tp->tm_year + TM_YEAR_BASE; in upb_mktime()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c14303 #define TM_YEAR_BASE 1900 macro
14334 int year = tp->tm_year + TM_YEAR_BASE; in upb_mktime()