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

/illumos-gate/usr/src/stand/lib/sa/
H A Dtime.h74 #define TM_YEAR_BASE 1900 macro
H A Dtime.c132 tmp->tm_year = y - TM_YEAR_BASE;
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dasctime.c46 cp = ct_numb(cp, (t->tm_year + TM_YEAR_BASE)/100);
H A Dlocaltime.c1173 tmp->tm_year = y - TM_YEAR_BASE;
1261 TM_YEAR_BASE)][--yourtm.tm_mon];
1269 TM_YEAR_BASE)][yourtm.tm_mon];
/illumos-gate/usr/src/uts/common/sys/
H A Dtzfile.h132 #define TM_YEAR_BASE 1900 macro
/illumos-gate/usr/src/head/
H A Dtzfile.h202 #define TM_YEAR_BASE 1900 macro
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dstrftime.c142 pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 0,
312 base = TM_YEAR_BASE;
393 pt = _yconv(t->tm_year, TM_YEAR_BASE, 0, 1,
397 pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 1,
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dstr_conv.c365 #undef TM_YEAR_BASE
366 #define TM_YEAR_BASE 1900
363 #undef TM_YEAR_BASE macro
364 #define TM_YEAR_BASE macro
/illumos-gate/usr/src/cmd/zdump/
H A Dzdump.c479 result += DAYSPERNYEAR + isleap_sum(tmy, TM_YEAR_BASE);
616 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR;
617 lead = timeptr->tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR +
/illumos-gate/usr/src/cmd/mdb/common/libstand/
H A Dctime.c83 tmp->tm_year = y - TM_YEAR_BASE;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dlocaltime.c724 if (isleap(tmptr->tm_year + TM_YEAR_BASE))
1227 tmptr->tm_year = (int)(y - TM_YEAR_BASE);
1239 if ((y > (long)INT_MAX + TM_YEAR_BASE) ||
1240 (y < (long)INT_MIN + TM_YEAR_BASE)) {
/illumos-gate/usr/src/cmd/cron/
H A Dat.c510 return (isleap(year + TM_YEAR_BASE));
527 for (i = 1970; i != tptr->tm_year+TM_YEAR_BASE; i++)
/illumos-gate/usr/src/lib/auditd_plugins/binfile/
H A Dbinfile.c383 * structure only keeps the year as an offset from TM_YEAR_BASE.
384 * I have used TM_YEAR_BASE in this code so that if they change
386 * code does not have to change. TM_YEAR_BASE is defined in
390 tm.tm_year + TM_YEAR_BASE, tm.tm_mon + 1, tm.tm_mday,
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kutil.c1079 result->tm_year = year - TM_YEAR_BASE;
1133 year = tm->tm_year + TM_YEAR_BASE;
/illumos-gate/usr/src/cmd/zic/
H A Dzic.c701 min_year = TM_YEAR_BASE + gmtime(&t)->tm_year;
703 max_year = TM_YEAR_BASE + gmtime(&t)->tm_year;

Completed in 183 milliseconds