Home
last modified time | relevance | path

Searched refs:TM_YEAR_BASE (Results 1 – 5 of 5) 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/epid-sdk/ext/argtable3/
Dargtable3.c1095 #define TM_YEAR_BASE (1900) macro
1419 tm->tm_year = i - TM_YEAR_BASE; in arg_strptime()
1433 tm->tm_year = i + 2000 - TM_YEAR_BASE; in arg_strptime()
1435 tm->tm_year = i + 1900 - TM_YEAR_BASE; in arg_strptime()