HomeSort by: relevance | last modified time | path
    Searched defs:TM_YEAR_BASE (Results 1 - 12 of 12) sorted by relevancy

  /src/external/bsd/nsd/dist/compat/
strptime.c 50 #define TM_YEAR_BASE 1900
171 tm->tm_year = ret*100 - TM_YEAR_BASE;
327 tm->tm_year = ret - TM_YEAR_BASE;
  /src/external/bsd/unbound/dist/compat/
strptime.c 48 #define TM_YEAR_BASE 1900
167 tm->tm_year = ret*100 - TM_YEAR_BASE;
323 tm->tm_year = ret - TM_YEAR_BASE;
gmtime_r.c 28 #define TM_YEAR_BASE 1900
91 tmp->tm_year = y - TM_YEAR_BASE;
  /src/external/mpl/bind/dist/lib/isc/
tm.c 72 #ifndef TM_YEAR_BASE
73 #define TM_YEAR_BASE 1900
74 #endif /* ifndef TM_YEAR_BASE */
430 tm->tm_year = i - TM_YEAR_BASE;
445 tm->tm_year = i + 2000 - TM_YEAR_BASE;
447 tm->tm_year = i + 1900 - TM_YEAR_BASE;
  /src/external/mpl/dhcp/bind/dist/lib/isc/
tm.c 72 #ifndef TM_YEAR_BASE
73 #define TM_YEAR_BASE 1900
74 #endif /* ifndef TM_YEAR_BASE */
431 tm->tm_year = i - TM_YEAR_BASE;
446 tm->tm_year = i + 2000 - TM_YEAR_BASE;
448 tm->tm_year = i + 1900 - TM_YEAR_BASE;
  /src/external/bsd/ntp/dist/libntp/
mktime.c 90 #define TM_YEAR_BASE 1900
207 year_lengths[isleap(yourtm.tm_year + TM_YEAR_BASE)];
211 TM_YEAR_BASE)][yourtm.tm_mon];
  /src/include/
tzfile.h 162 #define TM_YEAR_BASE 1900
  /src/external/gpl2/xcvs/dist/lib/
mktime.c 118 #define TM_YEAR_BASE 1900
119 verify (base_year_is_a_multiple_of_100, TM_YEAR_BASE % 100 == 0);
121 /* Return 1 if YEAR + TM_YEAR_BASE is a leap year. */
125 /* Don't add YEAR to TM_YEAR_BASE, as that might overflow.
130 || ((year / 100) & 3) == (- (TM_YEAR_BASE / 100) & 3)));
178 int a4 = SHR (year1, 2) + SHR (TM_YEAR_BASE, 2) - ! (year1 & 3);
179 int b4 = SHR (year0, 2) + SHR (TM_YEAR_BASE, 2) - ! (year0 & 3);
340 EPOCH_YEAR - TM_YEAR_BASE, 0, 0, 0, - guessed_offset);
364 - SHR (EPOCH_YEAR - TM_YEAR_BASE, LOG2_YEARS_PER_BIENNIUM)
550 tp->tm_year + TM_YEAR_BASE, tp->tm_mon + 1, tp->tm_mday
    [all...]
strftime.c 133 #define TM_YEAR_BASE 1900
298 int a4 = SHR (a->tm_year, 2) + SHR (TM_YEAR_BASE, 2) - ! (a->tm_year & 3);
299 int b4 = SHR (b->tm_year, 2) + SHR (TM_YEAR_BASE, 2) - ! (b->tm_year & 3);
820 int century = tp->tm_year / 100 + TM_YEAR_BASE / 100;
822 DO_SIGNED_NUMBER (2, tp->tm_year < - TM_YEAR_BASE, century);
1142 /* YEAR is a leap year if and only if (tp->tm_year + TM_YEAR_BASE)
1144 correctly even when (tp->tm_year + TM_YEAR_BASE) would
1148 ? TM_YEAR_BASE % 400
1149 : TM_YEAR_BASE % 400 - 400));
1179 : tp->tm_year < -TM_YEAR_BASE - year_adjus
    [all...]
getdate.c 188 #define TM_YEAR_BASE 1900
2775 int a4 = SHR (a->tm_year, 2) + SHR (TM_YEAR_BASE, 2) - ! (a->tm_year & 3);
2776 int b4 = SHR (b->tm_year, 2) + SHR (TM_YEAR_BASE, 2) - ! (b->tm_year & 3);
3151 pc.year.value += TM_YEAR_BASE;
3247 tm.tm_year = to_year (pc.year) - TM_YEAR_BASE;
  /src/external/gpl2/diffutils/dist/lib/
strftime.c 162 #define TM_YEAR_BASE 1900
369 int a4 = (a->tm_year >> 2) + (TM_YEAR_BASE >> 2) - ! (a->tm_year & 3);
370 int b4 = (b->tm_year >> 2) + (TM_YEAR_BASE >> 2) - ! (b->tm_year & 3);
893 int year = tp->tm_year + TM_YEAR_BASE;
1195 int year = tp->tm_year + TM_YEAR_BASE;
1265 DO_NUMBER (1, tp->tm_year + TM_YEAR_BASE);
  /src/lib/libc/time/
private.h 1166 #ifndef TM_YEAR_BASE
1168 TM_YEAR_BASE = 1900,

Completed in 38 milliseconds