Home
last modified time | relevance | path

Searched refs:tm_mon (Results 1 – 25 of 94) sorted by path

1234

/illumos-gate/usr/src/boot/include/
H A Dtime.h130 int tm_mon; /* months since January [0-11] */ member
/illumos-gate/usr/src/boot/sys/sys/
H A Defi.h90 uint8_t tm_mon; /* 1 - 12 */ member
/illumos-gate/usr/src/cmd/acct/
H A Dwtmpfix.c134 month = tmp->tm_mon + 1; in main()
/illumos-gate/usr/src/cmd/auditreduce/
H A Dtime.c173 int month = tme->tm_mon; in tm_to_secs()
224 } else if (tme->tm_mon < 0 || tme->tm_mon > 11) { in check_time()
226 gettext("months out of range (%d)"), tme->tm_mon + 1); in check_time()
232 } else if (tme->tm_mday < 1 || tme->tm_mday > days_month[tme->tm_mon]) { in check_time()
234 tme->tm_mon == 1 && in check_time()
437 tme->tm_mon = atoi(strs) - 1; /* get months */ in derive_date()
478 (void) sprintf(buf + 4, "%.2d", gtime.tm_mon + 1); in derive_str()
/illumos-gate/usr/src/cmd/backup/dump/
H A Dunctime.c56 then.tm_mon = lookup(&dbuf[E_MONTH]);
57 if (then.tm_mon < 0) {
/illumos-gate/usr/src/cmd/backup/lib/
H A Dgetdate.y604 Month = 12 * tm->tm_year + tm->tm_mon + RelMonth;
882 &(tm->tm_mon), &(tm->tm_mday), &(tm->tm_hour),
885 (tm->tm_mon)--;
890 tm->tm_hour, tm->tm_min, tm->tm_mon + 1,
907 yyMonth = tm->tm_mon + 1;
/illumos-gate/usr/src/cmd/bhyvectl/
H A Dbhyvectl.c2268 ts.tv_sec, wday_str(tm.tm_wday), mon_str(tm.tm_mon), in main()
/illumos-gate/usr/src/cmd/bnu/
H A Dgnxseq.c85 tp->tm_mon + 1, tp->tm_mday, tp->tm_hour, in gnxseq()
H A Dperfstat.c593 td->tm_mon + 1, in gmt()
H A Dsecurity.c398 (void) sprintf(mtime, "%d/%d-%d:%2.2d", tp->tm_mon + 1,
H A Dutility.c110 (void) sprintf(str, "%d/%d-%d:%2.2d:%2.2d", tp->tm_mon + 1, in timeStamp()
H A Duucleanup.c442 tp->tm_mon + 1, tp->tm_mday);
448 tp->tm_mon + 1, tp->tm_mday);
592 tp->tm_mon+1, tp->tm_mday);
596 tp->tm_mon+1, tp->tm_mday);
625 tp->tm_mon + 1, tp->tm_mday);
637 tp->tm_mon + 1, tp->tm_mday);
H A Duustat.c513 &file[2], tp->tm_mon + 1, tp->tm_mday, tp->tm_hour,
563 tp->tm_mon + 1, tp->tm_mday, tp->tm_hour,
570 "", tp->tm_mon + 1, tp->tm_mday, tp->tm_hour,
957 tp->tm_mon + 1, tp->tm_mday, tp->tm_hour,
1493 td->tm_mon + 1, in gmts()
1529 td->tm_mon + 1, in gmt()
/illumos-gate/usr/src/cmd/cal/
H A Dcal.c115 m = thetime->tm_mon + 1; in main()
/illumos-gate/usr/src/cmd/cfgadm/
H A Dcfgadm.c1428 tp->tm_mon + 1, tp->tm_mday, tp->tm_hour, tp->tm_min, tp->tm_sec); in print_time_p()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dparms.c465 (unsigned *)&tm.tm_year, (unsigned *)&tm.tm_mon, in parse_ts()
468 tm.tm_mon < 1 || tm.tm_mon > 12 || in parse_ts()
473 tm.tm_mon--; in parse_ts()
/illumos-gate/usr/src/cmd/cron/
H A Dat.c335 if (at.tm_mday > mday[at.tm_mon]) in main()
490 if ((a->tm_mon += b->tm_mon) >= 12) { in atime()
491 a->tm_year += a->tm_mon / 12; in atime()
492 a->tm_mon %= 12; in atime()
496 while (a->tm_mday > mday[a->tm_mon]) { in atime()
497 a->tm_mday -= mday[a->tm_mon++]; in atime()
498 if (a->tm_mon > 11) { in atime()
499 a->tm_mon = 0; in atime()
535 if ((leap(tptr->tm_year)) && tptr->tm_mon >= 2) in gtime()
538 for (i = 0; i < tptr->tm_mon; ++i) in gtime()
[all …]
H A Datq.c390 mthnames[unpackeddate->tm_mon], in printdate()
H A Datt1.y74 if (at.tm_mon >= 12 || at.tm_mday > mday[at.tm_mon])
153 at.tm_mon = tp->tm_mon;
160 at.tm_mon = $1;
163 if (at.tm_mon < tp->tm_mon)
167 at.tm_mon = $1;
172 at.tm_mon = tp->tm_mon;
201 rt.tm_mon += $1;
H A Dcron.c1474 (t1)->tm_mon == (t2)->tm_mon && \
1481 (tp)->tm_mon = mon; \
1553 tm_mon = next_ge(tm->tm_mon + 1, e->of.ct.month) - 1; /* 0-11 */ in tz_next_time()
1560 (tm->tm_mon != tm_mon)) { in tz_next_time()
1575 tm_setup(&tmp, tm->tm_year, tm->tm_mon, tm->tm_mday, in tz_next_time()
1705 if ((carry1 && carry2) || (tm->tm_mon != tm_mon)) { in tz_next_time()
1707 m = tm->tm_mon + 1; in tz_next_time()
1730 mon = tm->tm_mon; in tz_next_time()
1811 tmp2.tm_mon = 0; in tz_next_time()
1814 tmp2.tm_mon = mon + 1; in tz_next_time()
[all …]
/illumos-gate/usr/src/cmd/date/
H A Ddate.c271 mm = current_date->tm_mon + 1; /* tm_mon goes from 1 to 11 */ in setdate()
/illumos-gate/usr/src/cmd/fdformat/
H A Dfdformat.c1591 dosday |= (tp->tm_mon + 1) << 5; in write_DOS_label()
1724 dosday |= (tp->tm_mon + 1) << 5; in write_NEC_DOS_label()
/illumos-gate/usr/src/cmd/fm/fmdump/common/
H A Dfmdump.c335 int b = tm.tm_mon; in gettimeopt()
342 tm.tm_mon = b; in gettimeopt()
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_elf.c519 tmst.tm_year + 1900, tmst.tm_mon + 1, tmst.tm_mday, in nfsl_get_date()
542 tmst.tm_year + 1900, tmst.tm_mon + 1, tmst.tm_mday, in nfsl_get_date_nq()
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Ddir.c842 dat |= tm.tm_mon << MONSHIFT; in getNow()

1234