Searched refs:TM_YEAR_BASE (Results 1 - 12 of 12) sorted by relevance
/third_party/icu/icu4c/source/tools/tzcode/ |
H A D | zdump.c | 129 #ifndef TM_YEAR_BASE 130 #define TM_YEAR_BASE 1900 macro 131 #endif /* !defined TM_YEAR_BASE */ 782 result += DAYSPERNYEAR + isleap_sum(tmy, TM_YEAR_BASE); in delta() 903 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR; in dumptime() 904 lead = timeptr->tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + in dumptime() 988 trail = loc.tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR; in dumptimeICU() 989 lead = loc.tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + trail / DIVISOR; in dumptimeICU()
|
H A D | tzfile.h | 148 #define TM_YEAR_BASE 1900 macro
|
H A D | localtime.c | 1512 if (increment_overflow(&tmp->tm_year, -TM_YEAR_BASE)) in timesub() 1703 ** It is converted back to an offset from TM_YEAR_BASE later. in time2sub() 1705 if (increment_overflow32(&y, TM_YEAR_BASE)) in time2sub() 1730 if (increment_overflow32(&y, -TM_YEAR_BASE)) in time2sub() 1737 else if (y + TM_YEAR_BASE < EPOCH_YEAR) { in time2sub()
|
/third_party/skia/third_party/externals/icu/source/tools/tzcode/ |
H A D | zdump.c | 135 #ifndef TM_YEAR_BASE 136 #define TM_YEAR_BASE 1900 macro 137 #endif /* !defined TM_YEAR_BASE */ 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()
|
H A D | tzfile.h | 148 #define TM_YEAR_BASE 1900 macro
|
H A D | localtime.c | 1510 if (increment_overflow(&tmp->tm_year, -TM_YEAR_BASE)) in timesub() 1701 ** It is converted back to an offset from TM_YEAR_BASE later. in time2sub() 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()
|
/third_party/tzdata/ |
H A D | strftime.c | 209 pt = _yconv(t->tm_year, TM_YEAR_BASE, in _fmt() 401 base = TM_YEAR_BASE; in _fmt() 496 pt = _yconv(t->tm_year, TM_YEAR_BASE, in _fmt() 501 pt = _yconv(t->tm_year, TM_YEAR_BASE, in _fmt()
|
H A D | localtime.c | 1776 if (ckd_add(&tmp->tm_year, y, -TM_YEAR_BASE)) { in timesub() 1781 if (!TYPE_SIGNED(time_t) && y < TM_YEAR_BASE) { in timesub() 1783 tmp->tm_year = signed_y - TM_YEAR_BASE; in timesub() 1784 } else if ((!TYPE_SIGNED(time_t) || INT_MIN + TM_YEAR_BASE <= y) in timesub() 1785 && y - TM_YEAR_BASE <= INT_MAX) in timesub() 1786 tmp->tm_year = y - TM_YEAR_BASE; in timesub() 1800 - leaps_thru_end_of(TM_YEAR_BASE - 1) in timesub() 1992 ** It is converted back to an offset from TM_YEAR_BASE later. in time2sub() 1994 if (increment_overflow32(&y, TM_YEAR_BASE)) in time2sub() 2020 if (ckd_add(&yourtm.tm_year, y, -TM_YEAR_BASE)) in time2sub() [all...] |
H A D | zdump.c | 782 result += DAYSPERNYEAR + isleap_sum(tmy, TM_YEAR_BASE); in delta_nonneg() 809 yday += 365 + isleap_sum(b->tm_year, TM_YEAR_BASE); in adjusted_yday() 1253 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR; in dumptime() 1254 lead = timeptr->tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + in dumptime()
|
H A D | private.h | 1012 TM_YEAR_BASE = 1900, enumerator
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/ |
H A D | tzdst.h | 53 #define TM_YEAR_BASE 1900 macro
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/ |
H A D | tzdst.c | 368 if (targetMdayOfTargetWday > g_monLengths[(INT32)isleap(year + TM_YEAR_BASE)][month]) { in DstGetDayOfMonth()
|
Completed in 19 milliseconds