Searched refs:TM_YEAR_BASE (Results 1 - 25 of 34) sorted by relevance

12

/macosx-10.10.1/lukemftp-14/tnftp/libnetbsd/
H A Dtimegm.c39 if (tm->tm_year < EPOCH_YEAR - TM_YEAR_BASE)
42 y = tm->tm_year + TM_YEAR_BASE - (tm->tm_mon < 2);
45 t = ((((time_t) (tm->tm_year - (EPOCH_YEAR - TM_YEAR_BASE)) * 365 +
H A Dstrptime.c331 tm->tm_year = i - TM_YEAR_BASE;
345 tm->tm_year = i + 2000 - TM_YEAR_BASE;
347 tm->tm_year = i + 1900 - TM_YEAR_BASE;
/macosx-10.10.1/tcl-105/tcl84/tcl/compat/
H A Dstrftime.c59 #define TM_YEAR_BASE 1900 macro
129 (((t->tm_year + TM_YEAR_BASE) + 377) - 2323),
131 (365 + IsLeapYear((t->tm_year + TM_YEAR_BASE)))),
217 if (!_conv((t->tm_year + TM_YEAR_BASE) / 100,
384 if (!_conv((t->tm_year + TM_YEAR_BASE) % 100,
389 if (!_conv((t->tm_year + TM_YEAR_BASE), 4, '0'))
487 if ( IsLeapYear(( t->tm_year + TM_YEAR_BASE - 1 )) ) {
497 } else if ( ( IsLeapYear(( t -> tm_year + TM_YEAR_BASE ))
500 + TM_YEAR_BASE ))
/macosx-10.10.1/OpenSSH-189/openssh/openbsd-compat/
H A Dstrptime.c38 #define TM_YEAR_BASE 1900 /* from tzfile.h */ macro
76 century = TM_YEAR_BASE;
331 tm->tm_year = i - TM_YEAR_BASE;
363 if (century == TM_YEAR_BASE) {
365 tm->tm_year = relyear + 2000 - TM_YEAR_BASE;
367 tm->tm_year = relyear + 1900 - TM_YEAR_BASE;
369 tm->tm_year = relyear + century - TM_YEAR_BASE;
/macosx-10.10.1/ICU-531.30/icuSources/tools/tzcode/
H A Dtzfile.h159 #define TM_YEAR_BASE 1900 macro
H A Dzdump.c84 #ifndef TM_YEAR_BASE
85 #define TM_YEAR_BASE 1900 macro
86 #endif /* !defined TM_YEAR_BASE */
731 result += DAYSPERNYEAR + isleap_sum(tmy, TM_YEAR_BASE);
853 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR;
854 lead = timeptr->tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR +
938 trail = loc.tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR;
939 lead = loc.tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + trail / DIVISOR;
/macosx-10.10.1/bash-94.1.2/bash-3.2/lib/sh/
H A Dmktime.c88 #define TM_YEAR_BASE 1900 macro
142 int a4 = (year >> 2) + (TM_YEAR_BASE >> 2) - ! (year & 3);
143 int b4 = (tp->tm_year >> 2) + (TM_YEAR_BASE >> 2) - ! (tp->tm_year & 3);
218 int yday = ((__mon_yday[__isleap (year + TM_YEAR_BASE)]
235 tm.tm_year = EPOCH_YEAR - TM_YEAR_BASE;
332 tp->tm_year + TM_YEAR_BASE, tp->tm_mon + 1, tp->tm_mday,
375 tm.tm_year -= TM_YEAR_BASE;
/macosx-10.10.1/gnutar-453/gnutar/lib/
H A Dmktime.c114 #define TM_YEAR_BASE 1900 macro
115 verify (base_year_is_a_multiple_of_100, TM_YEAR_BASE % 100 == 0);
117 /* Return 1 if YEAR + TM_YEAR_BASE is a leap year. */
121 /* Don't add YEAR to TM_YEAR_BASE, as that might overflow.
126 || ((year / 100) & 3) == (- (TM_YEAR_BASE / 100) & 3)));
173 int a4 = SHR (year1, 2) + SHR (TM_YEAR_BASE, 2) - ! (year1 & 3);
174 int b4 = SHR (year0, 2) + SHR (TM_YEAR_BASE, 2) - ! (year0 & 3);
336 EPOCH_YEAR - TM_YEAR_BASE, 0, 0, 0, - guessed_offset);
360 - SHR (EPOCH_YEAR - TM_YEAR_BASE, LOG2_YEARS_PER_BIENNIUM)
546 tp->tm_year + TM_YEAR_BASE, t
[all...]
/macosx-10.10.1/shell_cmds-179/date/
H A Ddate.c71 #ifndef TM_YEAR_BASE
72 #define TM_YEAR_BASE 1900 macro
257 lt->tm_year = (unix2003_std ? ATOI2_OFFSET(p, length - 4) : ATOI2(p)) * 100 - TM_YEAR_BASE;
266 lt->tm_year += 2000 - TM_YEAR_BASE;
268 lt->tm_year += 1900 - TM_YEAR_BASE;
/macosx-10.10.1/ntp-92/libntp/
H A Dmktime.c83 #define TM_YEAR_BASE 1900 macro
200 year_lengths[isleap(yourtm.tm_year + TM_YEAR_BASE)];
204 TM_YEAR_BASE)][yourtm.tm_mon];
/macosx-10.10.1/tcl-105/tcl84/tcl/unix/
H A DtclUnixTime.c18 #define TM_YEAR_BASE 1900 macro
322 (((t->tm_year + TM_YEAR_BASE) + 377) - 2323),
324 (365 + IsLeapYear((t->tm_year + TM_YEAR_BASE)))),
/macosx-10.10.1/Libc-1044.1.2/stdtime/FreeBSD/
H A Dtzfile.h166 #define TM_YEAR_BASE 1900 macro
H A Dstrftime.c195 pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 0,
390 base = TM_YEAR_BASE;
483 pt = _yconv(t->tm_year, TM_YEAR_BASE, 0, 1,
487 pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 1,
H A Dlocaltime.c1836 y -= TM_YEAR_BASE;
1843 tmp->tm_year = y - TM_YEAR_BASE;
2013 ** It is converted back to an offset from TM_YEAR_BASE later.
2016 year = (long)yourtm.tm_year + TM_YEAR_BASE;
2018 if (increment_overflow(&yourtm.tm_year, TM_YEAR_BASE))
2065 year -= TM_YEAR_BASE;
2070 if (increment_overflow(&yourtm.tm_year, -TM_YEAR_BASE))
2078 else if (yourtm.tm_year + TM_YEAR_BASE < EPOCH_YEAR) {
/macosx-10.10.1/emacs-93/emacs/src/
H A Dmktime.c94 #define TM_YEAR_BASE 1900 macro
154 int a4 = (year >> 2) + (TM_YEAR_BASE >> 2) - ! (year & 3);
155 int b4 = (tp->tm_year >> 2) + (TM_YEAR_BASE >> 2) - ! (tp->tm_year & 3);
272 int yday = ((__mon_yday[__isleap (year + TM_YEAR_BASE)]
296 tm.tm_year = EPOCH_YEAR - TM_YEAR_BASE;
450 tp->tm_year + TM_YEAR_BASE, tp->tm_mon + 1, tp->tm_mday,
496 tm.tm_year -= TM_YEAR_BASE;
H A Dstrftime.c168 #define TM_YEAR_BASE 1900 macro
418 int a4 = (a->tm_year >> 2) + (TM_YEAR_BASE >> 2) - ! (a->tm_year & 3);
419 int b4 = (b->tm_year >> 2) + (TM_YEAR_BASE >> 2) - ! (b->tm_year & 3);
957 int year = tp->tm_year + TM_YEAR_BASE;
1277 int year = tp->tm_year + TM_YEAR_BASE;
1347 DO_NUMBER (1, tp->tm_year + TM_YEAR_BASE);
/macosx-10.10.1/emacs-93/emacs/lib-src/
H A Db2m.c47 #define TM_YEAR_BASE 1900 macro
53 (1000 - TM_YEAR_BASE <= (tm_year) && (tm_year) <= 9999 - TM_YEAR_BASE)
H A Dfakemail.c74 #define TM_YEAR_BASE 1900
80 (1000 - TM_YEAR_BASE <= (tm_year) && (tm_year) <= 9999 - TM_YEAR_BASE)
73 #define TM_YEAR_BASE macro
/macosx-10.10.1/system_cmds-643.1.1/chpass.tproj/
H A Dutil.c108 tp->tm_mday, tp->tm_year + TM_YEAR_BASE);
159 year += TM_YEAR_BASE;
162 lt->tm_year = year - TM_YEAR_BASE;
/macosx-10.10.1/file_cmds-242/pax/
H A Dsel_subs.c571 lt->tm_year = (bigyear * 100) - TM_YEAR_BASE;
580 lt->tm_year += (2000 - TM_YEAR_BASE);
582 lt->tm_year += (1900 - TM_YEAR_BASE);
/macosx-10.10.1/system_cmds-643.1.1/zdump.tproj/
H A Dzdump.c63 #ifndef TM_YEAR_BASE
64 #define TM_YEAR_BASE 1900 macro
65 #endif /* !defined TM_YEAR_BASE */
354 result += DAYSPERNYEAR + isleap(tmy + TM_YEAR_BASE);
/macosx-10.10.1/system_cmds-643.1.1/at.tproj/
H A Dparsetime.c476 if (year >= TM_YEAR_BASE)
477 year -= TM_YEAR_BASE; /* convert from 4 digit year */
609 year = (mon % 10000) - TM_YEAR_BASE;
/macosx-10.10.1/gnudiff-19/diffutils/lib/
H A Dstrftime.c160 #define TM_YEAR_BASE 1900 macro
367 int a4 = (a->tm_year >> 2) + (TM_YEAR_BASE >> 2) - ! (a->tm_year & 3);
368 int b4 = (b->tm_year >> 2) + (TM_YEAR_BASE >> 2) - ! (b->tm_year & 3);
891 int year = tp->tm_year + TM_YEAR_BASE;
1193 int year = tp->tm_year + TM_YEAR_BASE;
1263 DO_NUMBER (1, tp->tm_year + TM_YEAR_BASE);
/macosx-10.10.1/tcl-105/tcl/tcl/unix/
H A DtclUnixTime.c21 #define TM_YEAR_BASE 1900 macro
/macosx-10.10.1/tcl-105/tcl84/tcl/generic/
H A DtclGetDate.y53 #define TM_YEAR_BASE 1900
773 result = Convert(MonthNumber, (time_t) 1, tm->tm_year + TM_YEAR_BASE,
798 Month = 12 * (tm->tm_year + TM_YEAR_BASE) + tm->tm_mon + RelMonth;
1071 thisyear = tm->tm_year + TM_YEAR_BASE;

Completed in 528 milliseconds

12