Searched refs:tm_year (Results 26 - 50 of 100) sorted by relevance

1234

/illumos-gate/usr/src/cmd/auditreduce/
H A Dtime.c176 int year = tme->tm_year + 1900;
230 } else if (tme->tm_year < 0) {
232 gettext("years out of range (%d)"), tme->tm_year);
235 if (!(days_in_year(tme->tm_year + 1900) == 366 &&
436 tme->tm_year = atoi(strs) - 1900; /* get the year */
479 (void) sprintf(buf, "%4d", gtime.tm_year + 1900);
/illumos-gate/usr/src/cmd/backup/dump/
H A Dunctime.c66 then.tm_year = atoi(&dbuf[E_YEAR]) - 1900;
/illumos-gate/usr/src/cmd/zdump/
H A Dzdump.c126 (void) fprintf(stderr, " year=%d", tmp->tm_year);
475 if (newp->tm_year < oldp->tm_year)
478 for (tmy = oldp->tm_year; tmy < newp->tm_year; ++tmy)
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/cron/
H A Dat.c332 mday[1] = 28 + leap(at.tm_year);
490 a->tm_year += b->tm_year;
492 a->tm_year += a->tm_mon / 12;
496 mday[1] = 28 + leap(a->tm_year);
501 mday[1] = 28 + leap(++a->tm_year);
527 for (i = 1970; i != tptr->tm_year+TM_YEAR_BASE; i++)
534 if (!leap(tptr->tm_year) && at.tm_mday == 29 && at.tm_mon == 1)
537 if ((leap(tptr->tm_year)) && tptr->tm_mon >= 2)
955 tm.tm_year
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dctime.c117 int year = t->tm_year + 1900;
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dstrftime.c142 pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 0,
311 year = t->tm_year;
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/smbsrv/libmlsvc/common/
H A Deventlog_log.c125 tm.tm_year = cur_tm.tm_year;
127 tm.tm_year--;
/illumos-gate/usr/src/cmd/acct/lib/
H A Dpnpsplit.c152 tp->tm_year += 1900;
153 if ((tp->tm_year == thisyear && tp->tm_yday > 359)
154 || tp->tm_year > thisyear)
/illumos-gate/usr/src/lib/libast/common/tm/
H A Dtmxdate.c320 tm->tm_year += p;
649 tm->tm_year++;
734 tm->tm_year = m;
903 m = tm->tm_year;
956 tm->tm_year = m;
1111 tm->tm_year += n;
1386 tm->tm_mday = tm_data.days[tm->tm_mon] + (tm->tm_mon == 1 && tmisleapyear(tm->tm_year));
1404 tm->tm_year += m;
1498 tm->tm_year += f;
1554 tm->tm_year
[all...]
H A Dtmxfmt.c263 cp = number(cp, ep, (long)(1900 + tm->tm_year) / 100, 2, width, pad);
285 n = tm->tm_year + 1900;
495 cp = number(cp, ep, (long)(tm->tm_year % 100), 2, width, pad);
498 cp = number(cp, ep, (long)(1900 + tm->tm_year), 4, width, pad);
H A Dtmxscan.c81 tm->tm_year = set->year;
85 tm->tm_year++;
251 set.year = (n - 19) * 100 + tm->tm_year % 100;
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dlocaltime.c1173 tmp->tm_year = y - TM_YEAR_BASE;
1222 if ((result = (atmp->tm_year - btmp->tm_year)) == 0 &&
1253 normalize(&yourtm.tm_year, &yourtm.tm_mon, MONSPERYEAR);
1257 --yourtm.tm_year;
1260 mon_lengths[isleap(yourtm.tm_year +
1264 --yourtm.tm_year;
1268 i = mon_lengths[isleap(yourtm.tm_year +
1275 ++yourtm.tm_year;
/illumos-gate/usr/src/lib/libast/common/include/
H A Dtm.h143 int tm_year; member in struct:Tm_s
/illumos-gate/usr/src/boot/sys/sys/
H A Defi.h89 uint16_t tm_year; /* 1998 - 20XX */ member in struct:efi_tm
/illumos-gate/usr/src/boot/include/
H A Dtime.h131 int tm_year; /* years since 1900 */ member in struct:tm
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dstr_conv.c202 if (timebuf.tm_year <= 0)
266 tmp->tm_mday, tmp->tm_mon+1, 1900+tmp->tm_year,
/illumos-gate/usr/src/cmd/date/
H A Ddate.c229 yy = 1900 + current_date->tm_year;
232 yy = 1900 + current_date->tm_year;
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dtmplout.c938 t.tm_year = GET2BYTENUM( p ); p += 2;
940 t.tm_year = 100 * (t.tm_year - 19);
941 t.tm_year += GET2BYTENUM( p ); p += 2;
946 if(t.tm_year < 70) {
947 t.tm_year += 100;
1019 year = YEAR (tm -> tm_year);
/illumos-gate/usr/src/lib/libvolmgt/common/
H A Dvolprivate.c193 tm->tm_mon+1, tm->tm_mday, tm->tm_year % 100,
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Ddebug.c148 1900 + tmp->tm_year, /* HACK */
/illumos-gate/usr/src/cmd/cal/
H A Dcal.c118 y = thetime->tm_year + 1900;
/illumos-gate/usr/src/cmd/listen/
H A Dlslog.c298 tm_p->tm_mon, tm_p->tm_mday, (tm_p->tm_year % 100),
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dtm.h152 int tm_year; member in struct:Tm_s
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dtm.h152 int tm_year; member in struct:Tm_s
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dtm.h152 int tm_year; member in struct:Tm_s

Completed in 94 milliseconds

1234