HomeSort by relevance Sort by last modified time
    Searched refs:TM_YEAR_BASE (Results 1 - 13 of 13) sorted by null

  /bionic/libc/tzcode/
tzfile.h 148 #define TM_YEAR_BASE 1900
strptime.c 107 cr.century = TM_YEAR_BASE;
386 tm->tm_year = i - TM_YEAR_BASE;
418 if (cr->century == TM_YEAR_BASE) {
420 tm->tm_year = cr->relyear + 2000 - TM_YEAR_BASE;
422 tm->tm_year = cr->relyear + 1900 - TM_YEAR_BASE;
424 tm->tm_year = cr->relyear + cr->century - TM_YEAR_BASE;
strftime.c 237 pt = _yconv(t->tm_year, TM_YEAR_BASE,
421 base = TM_YEAR_BASE;
516 pt = _yconv(t->tm_year, TM_YEAR_BASE,
521 pt = _yconv(t->tm_year, TM_YEAR_BASE,
localtime.c     [all...]
  /external/icu/icu4c/source/tools/tzcode/
tzfile.h 148 #define TM_YEAR_BASE 1900
zdump.c 135 #ifndef TM_YEAR_BASE
136 #define TM_YEAR_BASE 1900
137 #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;
localtime.c     [all...]
  /device/linaro/bootloader/edk2/StdLib/LibC/Time/
TimeEfi.c 34 BT->tm_year = ET->Year - TM_YEAR_BASE;
73 ET->Year = (UINT16)BT->tm_year + TM_YEAR_BASE;
strptime.c 198 i = i * 100 - TM_YEAR_BASE;
280 i = TM_YEAR_BASE; /* just for data sanity... */
282 tm->tm_year = i - TM_YEAR_BASE;
296 i = i + 2000 - TM_YEAR_BASE;
298 i = i + 1900 - TM_YEAR_BASE;
strftime.c 178 pt = _conv((t->tm_year + TM_YEAR_BASE) / 100,
354 year = t->tm_year + TM_YEAR_BASE;
447 pt = _conv((t->tm_year + TM_YEAR_BASE) % 100,
451 pt = _conv(t->tm_year + TM_YEAR_BASE, "%04d",
Time.c 169 tmp->tm_year = (int)(y - TM_YEAR_BASE);
277 ** It is converted back to an offset from TM_YEAR_BASE later.
279 if (increment_overflow(&yourtm.tm_year, TM_YEAR_BASE))
304 if (increment_overflow(&yourtm.tm_year, -TM_YEAR_BASE))
308 else if (yourtm.tm_year + TM_YEAR_BASE < EPOCH_YEAR) {
647 TM_YEAR_BASE + timeptr->tm_year);
  /device/linaro/bootloader/edk2/StdLib/Include/
time.h 105 /** Value added to tm_year to get the full year value. TM_YEAR_BASE + 110 --> 2010 **/
106 #define TM_YEAR_BASE 1900
  /bionic/libc/upstream-openbsd/lib/libc/time/
wcsftime.c 186 pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 0,
352 base = TM_YEAR_BASE;
435 pt = _yconv(t->tm_year, TM_YEAR_BASE, 0, 1, pt, ptlim);
438 pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 1, pt, ptlim);

Completed in 867 milliseconds