usr/src/boot/include/time.h
144
char *asctime(const struct tm *);
usr/src/boot/include/time.h
149
struct tm *gmtime(const time_t *);
usr/src/boot/include/time.h
150
struct tm *localtime(const time_t *);
usr/src/boot/include/time.h
151
time_t mktime(struct tm *);
usr/src/boot/include/time.h
153
const struct tm * __restrict);
usr/src/boot/include/time.h
181
char *asctime_r(const struct tm *, char *);
usr/src/boot/include/time.h
183
struct tm *gmtime_r(const time_t *, struct tm *);
usr/src/boot/include/time.h
184
struct tm *localtime_r(const time_t *, struct tm *);
usr/src/boot/include/time.h
189
struct tm * __restrict);
usr/src/boot/include/time.h
195
time_t timelocal(struct tm * const);
usr/src/boot/include/time.h
196
time_t timegm(struct tm * const);
usr/src/boot/include/xlocale/_time.h
46
const struct tm * __restrict, locale_t) __strftimelike(3, 0);
usr/src/boot/include/xlocale/_time.h
55
struct tm * __restrict, locale_t);
usr/src/cmd/acct/acctcom.c
289
struct tm *t;
usr/src/cmd/acct/lib/pnpsplit.c
146
struct tm *tp;
usr/src/cmd/acct/lib/pnpsplit.c
170
ssh(struct tm *ltp)
usr/src/cmd/acct/lib/pnpsplit.c
310
tmsecs(struct tm *t1, struct tm *t2)
usr/src/cmd/acct/lib/pnpsplit.c
323
tmless(struct tm *t1, struct tm *t2)
usr/src/cmd/acct/lib/pnpsplit.c
69
struct tm daysend = {
usr/src/cmd/acct/lib/pnpsplit.c
75
long tmsecs(struct tm *, struct tm *);
usr/src/cmd/acct/lib/pnpsplit.c
85
struct tm cur, end, hours;
usr/src/cmd/acct/lib/tmless.c
38
register struct tm *t1, *t2;
usr/src/cmd/acct/lib/tmsecs.c
36
register struct tm *t1, *t2;
usr/src/cmd/acct/wtmpfix.c
123
struct tm *tmp;
usr/src/cmd/acpi/iasl/aslcompile.c
602
struct tm *NewTime;
usr/src/cmd/auditreduce/option.c
74
extern int derive_date(char *, struct tm *);
usr/src/cmd/auditreduce/option.c
77
extern time_t tm_to_secs(struct tm *);
usr/src/cmd/auditreduce/option.c
971
struct tm tme;
usr/src/cmd/auditreduce/time.c
163
tm_to_secs(struct tm *tme)
usr/src/cmd/auditreduce/time.c
208
check_time(struct tm *tme)
usr/src/cmd/auditreduce/time.c
280
struct tm thentime;
usr/src/cmd/auditreduce/time.c
35
int derive_date(char *, struct tm *);
usr/src/cmd/auditreduce/time.c
378
derive_date(char *str, struct tm *tme)
usr/src/cmd/auditreduce/time.c
38
time_t tm_to_secs(struct tm *);
usr/src/cmd/auditreduce/time.c
383
struct tm nowtime;
usr/src/cmd/auditreduce/time.c
40
static int check_time(struct tm *);
usr/src/cmd/auditreduce/time.c
43
static time_t local_to_gm(struct tm *);
usr/src/cmd/auditreduce/time.c
473
struct tm gtime;
usr/src/cmd/auditreduce/time.c
88
local_to_gm(struct tm *tme)
usr/src/cmd/auditreduce/time.c
92
struct tm ltime, gtime;
usr/src/cmd/backup/dump/dumpitime.c
47
struct tm *tm;
usr/src/cmd/backup/dump/dumpitime.c
53
tm = localtime(&d);
usr/src/cmd/backup/dump/dumpitime.c
54
if (strftime(buf, sizeof (buf), "%c", tm) != 0) {
usr/src/cmd/backup/dump/dumpoptr.c
238
struct tm *localclock;
usr/src/cmd/backup/dump/unctime.c
39
static time_t emitl(struct tm *);
usr/src/cmd/backup/dump/unctime.c
49
struct tm then;
usr/src/cmd/backup/dump/unctime.c
89
struct tm *dp;
usr/src/cmd/backup/lib/getdate.y
580
struct tm *tm;
usr/src/cmd/backup/lib/getdate.y
584
tm = localtime(&now);
usr/src/cmd/backup/lib/getdate.y
585
now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);
usr/src/cmd/backup/lib/getdate.y
596
struct tm *tm;
usr/src/cmd/backup/lib/getdate.y
602
tm = localtime(&Start);
usr/src/cmd/backup/lib/getdate.y
603
Month = 12 * tm->tm_year + tm->tm_mon + RelMonth;
usr/src/cmd/backup/lib/getdate.y
607
Convert(Month, (time_t)tm->tm_mday, Year,
usr/src/cmd/backup/lib/getdate.y
608
(time_t)tm->tm_hour, (time_t)tm->tm_min, (time_t)tm->tm_sec,
usr/src/cmd/backup/lib/getdate.y
724
struct tm *tm;
usr/src/cmd/backup/lib/getdate.y
770
tm = localtime(&now);
usr/src/cmd/backup/lib/getdate.y
777
(void) strftime(line, sizeof (line), fmt, tm);
usr/src/cmd/backup/lib/getdate.y
853
struct tm *tm;
usr/src/cmd/backup/lib/getdate.y
860
struct tm ltm;
usr/src/cmd/backup/lib/getdate.y
862
tm = getdate(p);
usr/src/cmd/backup/lib/getdate.y
870
tm = localtime(¤t);
usr/src/cmd/backup/lib/getdate.y
871
memcpy(<m, tm, sizeof(ltm));
usr/src/cmd/backup/lib/getdate.y
872
tm = <m;
usr/src/cmd/backup/lib/getdate.y
881
&(tm->tm_mon), &(tm->tm_mday), &(tm->tm_hour),
usr/src/cmd/backup/lib/getdate.y
882
&(tm->tm_min), &(tm->tm_year)) < 4);
usr/src/cmd/backup/lib/getdate.y
884
(tm->tm_mon)--;
usr/src/cmd/backup/lib/getdate.y
885
} else if (tm == NULL)
usr/src/cmd/backup/lib/getdate.y
889
tm->tm_hour, tm->tm_min, tm->tm_mon + 1,
usr/src/cmd/backup/lib/getdate.y
890
tm->tm_mday, CHECK_TM(tm->tm_year));
usr/src/cmd/backup/lib/getdate.y
904
tm = localtime(&now->time);
usr/src/cmd/backup/lib/getdate.y
905
yyYear = tm->tm_year;
usr/src/cmd/backup/lib/getdate.y
906
yyMonth = tm->tm_mon + 1;
usr/src/cmd/backup/lib/getdate.y
907
yyDay = tm->tm_mday;
usr/src/cmd/backup/lib/getdate.y
910
yyHour = tm->tm_hour;
usr/src/cmd/backup/lib/getdate.y
911
yyMinutes = tm->tm_min;
usr/src/cmd/backup/lib/getdate.y
912
yySeconds = tm->tm_sec;
usr/src/cmd/backup/lib/getdate.y
935
Start -= ((tm->tm_hour * 60L) + tm->tm_min * 60L) + tm->tm_sec;
usr/src/cmd/backup/restore/utilities.c
512
struct tm *tm;
usr/src/cmd/backup/restore/utilities.c
514
tm = localtime(tp);
usr/src/cmd/backup/restore/utilities.c
515
(void) strftime(buf, sizeof (buf), "%c\n", tm);
usr/src/cmd/bart/create.c
316
struct tm *tm;
usr/src/cmd/bart/create.c
321
tm = localtime(&time_val);
usr/src/cmd/bart/create.c
322
(void) strftime(time_buf, sizeof (time_buf), "%A, %B %d, %Y (%T)", tm);
usr/src/cmd/beadm/beadm.c
354
struct tm *tm;
usr/src/cmd/beadm/beadm.c
362
tm = localtime(&creation);
usr/src/cmd/beadm/beadm.c
363
(void) strftime(datetime, DT_BUF_LEN, datetime_fmt, tm);
usr/src/cmd/beadm/beadm.c
423
struct tm *tm = localtime(&creation);
usr/src/cmd/beadm/beadm.c
429
(void) strftime(datetime, DT_BUF_LEN, datetime_fmt, tm);
usr/src/cmd/beadm/beadm.c
484
struct tm *tm;
usr/src/cmd/beadm/beadm.c
494
tm = localtime(&creation);
usr/src/cmd/beadm/beadm.c
495
(void) strftime(datetime, DT_BUF_LEN, datetime_fmt, tm);
usr/src/cmd/bhyve/amd64/rtc.c
62
struct tm tm;
usr/src/cmd/bhyve/amd64/rtc.c
67
localtime_r(&t, &tm);
usr/src/cmd/bhyve/amd64/rtc.c
68
t = timegm(&tm);
usr/src/cmd/bhyve/amd64/rtc.c
79
struct tm tm;
usr/src/cmd/bhyve/amd64/rtc.c
81
localtime_r(&ts->tv_sec, &tm);
usr/src/cmd/bhyve/amd64/rtc.c
82
ts->tv_sec = timegm(&tm);
usr/src/cmd/bhyvectl/bhyvectl.c
1625
struct tm tm;
usr/src/cmd/bhyvectl/bhyvectl.c
2144
gmtime_r(&ts.tv_sec, &tm);
usr/src/cmd/bhyvectl/bhyvectl.c
2146
ts.tv_sec, wday_str(tm.tm_wday), mon_str(tm.tm_mon),
usr/src/cmd/bhyvectl/bhyvectl.c
2147
tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec,
usr/src/cmd/bhyvectl/bhyvectl.c
2148
1900 + tm.tm_year);
usr/src/cmd/bnu/cntrl.c
1440
long td, th, tm, ts;
usr/src/cmd/bnu/cntrl.c
1463
tm = td%60;
usr/src/cmd/bnu/cntrl.c
1466
(void) fprintf(Cf, "(%ld:%ld:%ld)\n%s\n%s\n\n", th, tm, ts, f, m);
usr/src/cmd/bnu/conn.c
1079
struct tm *tp;
usr/src/cmd/bnu/conn.c
1140
struct tm *tp;
usr/src/cmd/bnu/gnxseq.c
38
register struct tm *tp;
usr/src/cmd/bnu/perfstat.c
586
register struct tm * td;
usr/src/cmd/bnu/security.c
392
register struct tm *tp;
usr/src/cmd/bnu/utility.c
104
register struct tm *tp;
usr/src/cmd/bnu/uucleanup.c
383
struct tm *tp;
usr/src/cmd/bnu/uucleanup.c
478
struct tm *tp;
usr/src/cmd/bnu/uustat.c
1304
struct tm tm_tmp;
usr/src/cmd/bnu/uustat.c
1480
struct tm *td;
usr/src/cmd/bnu/uustat.c
1522
struct tm *td;
usr/src/cmd/bnu/uustat.c
468
struct tm *tp;
usr/src/cmd/bnu/uustat.c
706
struct tm *tp;
usr/src/cmd/bnu/uustat.c
707
extern struct tm *localtime();
usr/src/cmd/bnu/uustat.c
921
struct tm *tp;
usr/src/cmd/bnu/uustat.c
924
extern struct tm *localtime();
usr/src/cmd/cal/cal.c
73
static struct tm *thetime;
usr/src/cmd/cdrw/util.c
182
time_t tm;
usr/src/cmd/cdrw/util.c
189
tm = time(NULL);
usr/src/cmd/cdrw/util.c
204
if (tm != time(NULL)) {
usr/src/cmd/cdrw/util.c
205
tm = time(NULL);
usr/src/cmd/cfgadm/cfgadm.c
1423
struct tm *tp;
usr/src/cmd/cmd-inet/usr.bin/chat/chat.c
1416
struct tm* tm_now = localtime (&time_now);
usr/src/cmd/cmd-inet/usr.bin/finger.c
842
struct tm *delta;
usr/src/cmd/cmd-inet/usr.bin/finger.c
869
struct tm *delta;
usr/src/cmd/cmd-inet/usr.bin/pppdump/pppdump.c
491
struct tm *tm;
usr/src/cmd/cmd-inet/usr.bin/pppdump/pppdump.c
512
tm = localtime(&start_time);
usr/src/cmd/cmd-inet/usr.bin/pppdump/pppdump.c
513
printf("time %.2d:%.2d:%.2d.%d", tm->tm_hour, tm->tm_min,
usr/src/cmd/cmd-inet/usr.bin/pppdump/pppdump.c
514
tm->tm_sec, start_time_tenths);
usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ilb_probe.c
645
uint64_t tm;
usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ilb_probe.c
683
tm = (param->timeout * MICROSEC >> 2) * 3;
usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ilb_probe.c
684
if (tm > MICROSEC) {
usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ilb_probe.c
685
timeout.it_value.tv_sec = tm / MICROSEC;
usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ilb_probe.c
686
timeout.it_value.tv_usec = tm - (timeout.it_value.tv_sec *
usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ilb_probe.c
690
timeout.it_value.tv_usec = tm;
usr/src/cmd/cmd-inet/usr.lib/in.ndpd/config.c
910
struct tm *tm;
usr/src/cmd/cmd-inet/usr.lib/in.ndpd/config.c
923
tm = getdate(str);
usr/src/cmd/cmd-inet/usr.lib/in.ndpd/config.c
924
if (tm == NULL) {
usr/src/cmd/cmd-inet/usr.lib/in.ndpd/config.c
930
ntime = mktime(tm);
usr/src/cmd/cmd-inet/usr.lib/in.ndpd/config.c
935
(void) strftime(buf, sizeof (buf), "%Y-%m-%d %R %Z", tm);
usr/src/cmd/cmd-inet/usr.lib/in.ndpd/main.c
2116
struct tm tms;
usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ilbadm_hc.c
191
struct tm tv;
usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ilbadm_stats.c
218
struct tm *now_tm;
usr/src/cmd/cmd-inet/usr.sbin/in.routed/parms.c
455
struct tm tm;
usr/src/cmd/cmd-inet/usr.sbin/in.routed/parms.c
463
(void) memset(&tm, 0, sizeof (tm));
usr/src/cmd/cmd-inet/usr.sbin/in.routed/parms.c
465
(unsigned *)&tm.tm_year, (unsigned *)&tm.tm_mon,
usr/src/cmd/cmd-inet/usr.sbin/in.routed/parms.c
466
(unsigned *)&tm.tm_mday, (unsigned *)&tm.tm_hour,
usr/src/cmd/cmd-inet/usr.sbin/in.routed/parms.c
467
(unsigned *)&tm.tm_min) ||
usr/src/cmd/cmd-inet/usr.sbin/in.routed/parms.c
468
tm.tm_mon < 1 || tm.tm_mon > 12 ||
usr/src/cmd/cmd-inet/usr.sbin/in.routed/parms.c
469
tm.tm_mday < 1 || tm.tm_mday > 31) {
usr/src/cmd/cmd-inet/usr.sbin/in.routed/parms.c
473
tm.tm_mon--;
usr/src/cmd/cmd-inet/usr.sbin/in.routed/parms.c
475
if (tm.tm_year <= 37)
usr/src/cmd/cmd-inet/usr.sbin/in.routed/parms.c
476
tm.tm_year += 100;
usr/src/cmd/cmd-inet/usr.sbin/in.routed/parms.c
478
if (tm.tm_year >= 1900)
usr/src/cmd/cmd-inet/usr.sbin/in.routed/parms.c
479
tm.tm_year -= 1900;
usr/src/cmd/cmd-inet/usr.sbin/in.routed/parms.c
481
if ((*tp = mktime(&tm)) == -1) {
usr/src/cmd/cmd-inet/usr.sbin/in.talkd/announce.c
185
struct tm *localclock;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop.c
633
struct tm *tm;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop.c
643
tm = localtime(&tvp->tv_sec);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop.c
648
tm->tm_hour, tm->tm_min, tm->tm_sec,
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_display.c
100
pi_time_hour = tm->tm_hour;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_display.c
101
pi_time_min = tm->tm_min;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_display.c
102
pi_time_sec = tm->tm_sec;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_display.c
576
struct tm my_time; /* private buffer to avoid collision */
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_display.c
578
struct tm *tmp;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_display.c
589
(void) memcpy(&my_time, tmp, sizeof (struct tm));
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_display.c
630
struct tm my_time; /* private buffer to avoid collision */
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_display.c
632
struct tm *tmp;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_display.c
647
memcpy(&my_time, tmp, sizeof (struct tm));
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_display.c
672
struct tm my_time; /* private buffer to avoid collision */
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_display.c
674
struct tm *tmp;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_display.c
684
memcpy(&my_time, tmp, sizeof (struct tm));
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_display.c
79
struct tm *tm;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_display.c
99
tm = localtime(&tvp->tv_sec);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ntp.c
454
struct tm *time_parts;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ospf.c
333
uint32_t tm;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ospf.c
476
if ((uchar_t *)tosmetric + sizeof (tm) > fragend)
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ospf.c
478
tm = ntohl(*tosmetric);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ospf.c
479
tos = (tm & SLA_MASK_TOS) >> SLA_SHIFT_TOS;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ospf.c
480
metric = tm & SLA_MASK_METRIC;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ospf.c
497
if ((uchar_t *)am + sizeof (tm) > fragend)
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ospf.c
499
tm = ntohl(am->asla_tosmetric);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ospf.c
500
tos = (tm & ASLA_MASK_TOS) >> ASLA_SHIFT_TOS;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ospf.c
501
metric = tm & ASLA_MASK_METRIC;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_ospf.c
505
(tm & ASLA_FLAG_EXTERNAL) ? 2 : 1,
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_pmap.c
497
struct tm *tmp = gmtime(&sec);
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_pmap.c
593
struct tm *tmp = gmtime(&sec);
usr/src/cmd/cron/at.c
100
static void atime(struct tm *, struct tm *);
usr/src/cmd/cron/at.c
104
static time_t gtime(struct tm *);
usr/src/cmd/cron/at.c
133
struct tm *tp, at, rt;
usr/src/cmd/cron/at.c
168
struct tm *ct;
usr/src/cmd/cron/at.c
476
atime(struct tm *a, struct tm *b)
usr/src/cmd/cron/at.c
517
gtime(struct tm *tptr)
usr/src/cmd/cron/at.c
939
struct tm tm;
usr/src/cmd/cron/at.c
952
memset(&tm, 0, sizeof (struct tm));
usr/src/cmd/cron/at.c
954
tm.tm_year = localtime(&when)->tm_year;
usr/src/cmd/cron/at.c
962
tm.tm_year = atoi_for2(t);
usr/src/cmd/cron/at.c
965
if (tm.tm_year < 69)
usr/src/cmd/cron/at.c
966
tm.tm_year += 100;
usr/src/cmd/cron/at.c
968
tm.tm_year += (century - 19) * 100;
usr/src/cmd/cron/at.c
971
tm.tm_mon = atoi_for2(t) - 1;
usr/src/cmd/cron/at.c
973
tm.tm_mday = atoi_for2(t);
usr/src/cmd/cron/at.c
975
tm.tm_hour = atoi_for2(t);
usr/src/cmd/cron/at.c
977
tm.tm_min = atoi_for2(t);
usr/src/cmd/cron/at.c
979
tm.tm_sec = seconds;
usr/src/cmd/cron/at.c
985
if ((when = mktime(&tm)) == -1)
usr/src/cmd/cron/at.c
987
if (tm.tm_isdst)
usr/src/cmd/cron/atq.c
375
struct tm *unpackeddate;
usr/src/cmd/cron/att1.y
40
extern struct tm *tp, at, rt;
usr/src/cmd/cron/cron.c
1514
struct tm *tm, ref_tm, tmp, tmp1, tmp2;
usr/src/cmd/cron/cron.c
1528
tm = &ref_tm; /* use a local variable and call localtime_r() */
usr/src/cmd/cron/cron.c
1534
(void) localtime_r(&t, tm);
usr/src/cmd/cron/cron.c
1537
tmp = *tm;
usr/src/cmd/cron/cron.c
1538
tmp.tm_isdst = (tm->tm_isdst > 0 ? 0 : 1);
usr/src/cmd/cron/cron.c
1545
if (tm->tm_isdst != tmp.tm_isdst &&
usr/src/cmd/cron/cron.c
1547
tm_cmp(tm, &tmp)) {
usr/src/cmd/cron/cron.c
1553
tm_mon = next_ge(tm->tm_mon + 1, e->of.ct.month) - 1; /* 0-11 */
usr/src/cmd/cron/cron.c
1554
tm_mday = next_ge(tm->tm_mday, e->of.ct.daymon); /* 1-31 */
usr/src/cmd/cron/cron.c
1555
tm_wday = next_ge(tm->tm_wday, e->of.ct.dayweek); /* 0-6 */
usr/src/cmd/cron/cron.c
1557
if ((strcmp(e->of.ct.daymon, "*") == 0 && tm->tm_wday != tm_wday) ||
usr/src/cmd/cron/cron.c
1558
(strcmp(e->of.ct.dayweek, "*") == 0 && tm->tm_mday != tm_mday) ||
usr/src/cmd/cron/cron.c
1559
(tm->tm_mday != tm_mday && tm->tm_wday != tm_wday) ||
usr/src/cmd/cron/cron.c
1560
(tm->tm_mon != tm_mon)) {
usr/src/cmd/cron/cron.c
1563
m = tm->tm_min + (t == ref_t ? 1 : 0);
usr/src/cmd/cron/cron.c
1564
if ((tm->tm_hour + 1) <= next_ge(tm->tm_hour, e->of.ct.hour)) {
usr/src/cmd/cron/cron.c
1569
h = tm->tm_hour + carry;
usr/src/cmd/cron/cron.c
1575
tm_setup(&tmp, tm->tm_year, tm->tm_mon, tm->tm_mday,
usr/src/cmd/cron/cron.c
1576
hr, min, tm->tm_isdst);
usr/src/cmd/cron/cron.c
1638
if (tm->tm_min > min) {
usr/src/cmd/cron/cron.c
1639
t += (time_t)(hr-tm->tm_hour-1) * HOUR +
usr/src/cmd/cron/cron.c
1640
(time_t)(60-tm->tm_min + min) * MINUTE;
usr/src/cmd/cron/cron.c
1642
t += (time_t)(hr-tm->tm_hour) * HOUR +
usr/src/cmd/cron/cron.c
1643
(time_t)(min-tm->tm_min) * MINUTE;
usr/src/cmd/cron/cron.c
1646
t -= (time_t)tm->tm_sec;
usr/src/cmd/cron/cron.c
1648
if ((tm->tm_isdst == 0) && (tmp.tm_isdst > 0))
usr/src/cmd/cron/cron.c
1674
d1 = tm->tm_mday + 1;
usr/src/cmd/cron/cron.c
1675
day1 = next_ge((d1-1)%days_in_mon(tm->tm_mon, tm->tm_year) + 1,
usr/src/cmd/cron/cron.c
1680
d2 = tm->tm_wday + 1;
usr/src/cmd/cron/cron.c
1686
day2 = (d1 + daysahead-1)%days_in_mon(tm->tm_mon, tm->tm_year) + 1;
usr/src/cmd/cron/cron.c
1704
yr = tm->tm_year;
usr/src/cmd/cron/cron.c
1705
if ((carry1 && carry2) || (tm->tm_mon != tm_mon)) {
usr/src/cmd/cron/cron.c
1707
m = tm->tm_mon + 1;
usr/src/cmd/cron/cron.c
1713
db = days_btwn(tm->tm_mon, tm->tm_mday, tm->tm_year, mon,
usr/src/cmd/cron/cron.c
1715
wd = (tm->tm_wday + db)%7;
usr/src/cmd/cron/cron.c
1730
mon = tm->tm_mon;
usr/src/cmd/cron/cron.c
1853
days = days_btwn(tm->tm_mon,
usr/src/cmd/cron/cron.c
1854
tm->tm_mday, tm->tm_year, mon, day, yr);
usr/src/cmd/cron/cron.c
1855
t += (time_t)(23-tm->tm_hour)*HOUR
usr/src/cmd/cron/cron.c
1856
+ (time_t)(60-tm->tm_min)*MINUTE
usr/src/cmd/cron/cron.c
1860
t -= (time_t)tm->tm_sec;
usr/src/cmd/cron/cron.c
1862
if ((tm->tm_isdst == 0) && (tmp.tm_isdst > 0))
usr/src/cmd/cron/cron.c
1907
struct tm tmp, tmp1;
usr/src/cmd/cron/cron.c
1946
xmktime(struct tm *tmp)
usr/src/cmd/cron/cron.c
328
static time_t xmktime(struct tm *);
usr/src/cmd/date/date.c
210
(void) memcpy(&tm, tp, sizeof (struct tm));
usr/src/cmd/date/date.c
211
(void) strftime(buf, BUFSIZ, fmtbuf, &tm);
usr/src/cmd/date/date.c
219
setdate(struct tm *current_date, char *date)
usr/src/cmd/date/date.c
83
static int setdate(struct tm *, char *);
usr/src/cmd/date/date.c
90
struct tm *tp, tm;
usr/src/cmd/drd/drd_log.c
61
struct tm ltime;
usr/src/cmd/fdformat/fdformat.c
1571
struct tm *tp;
usr/src/cmd/fdformat/fdformat.c
1704
struct tm *tp;
usr/src/cmd/filesync/base.c
733
struct tm *local;
usr/src/cmd/filesync/rules.c
355
struct tm *local;
usr/src/cmd/fm/fmd/common/fmd_rpc.c
127
if (!force && n == 0 && rpcb_gettime(HOST_SELF, &tm) == FALSE &&
usr/src/cmd/fm/fmd/common/fmd_rpc.c
71
time_t tm;
usr/src/cmd/fm/fmdump/common/fmdump.c
262
struct tm tm;
usr/src/cmd/fm/fmdump/common/fmdump.c
275
if ((p = strptime(arg, "%m/%d/%Y %H:%M:%S", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
276
(p = strptime(arg, "%m/%d/%y %H:%M:%S", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
277
(p = strptime(arg, "%m/%d/%Y %H:%M", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
278
(p = strptime(arg, "%m/%d/%y %H:%M", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
279
(p = strptime(arg, "%m/%d/%Y", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
280
(p = strptime(arg, "%m/%d/%y", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
281
(p = strptime(arg, "%Y-%m-%dT%H:%M:%S", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
282
(p = strptime(arg, "%y-%m-%dT%H:%M:%S", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
283
(p = strptime(arg, "%Y-%m-%dT%H:%M", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
284
(p = strptime(arg, "%y-%m-%dT%H:%M", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
285
(p = strptime(arg, "%Y-%m-%d", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
286
(p = strptime(arg, "%y-%m-%d", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
287
(p = strptime(arg, "%d%b%Y %H:%M:%S", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
288
(p = strptime(arg, "%d%b%y %H:%M:%S", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
289
(p = strptime(arg, "%d%b%Y %H:%M", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
290
(p = strptime(arg, "%d%b%y %H:%M", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
291
(p = strptime(arg, "%d%b%Y", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
292
(p = strptime(arg, "%d%b%y", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
293
(p = strptime(arg, "%b %d %H:%M:%S", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
294
(p = strptime(arg, "%b %d %H:%M:%S", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
295
(p = strptime(arg, "%H:%M:%S", &tm)) == NULL &&
usr/src/cmd/fm/fmdump/common/fmdump.c
296
(p = strptime(arg, "%H:%M", &tm)) == NULL) {
usr/src/cmd/fm/fmdump/common/fmdump.c
331
if (tm.tm_year == 0) {
usr/src/cmd/fm/fmdump/common/fmdump.c
332
int h = tm.tm_hour;
usr/src/cmd/fm/fmdump/common/fmdump.c
333
int m = tm.tm_min;
usr/src/cmd/fm/fmdump/common/fmdump.c
334
int s = tm.tm_sec;
usr/src/cmd/fm/fmdump/common/fmdump.c
335
int b = tm.tm_mon;
usr/src/cmd/fm/fmdump/common/fmdump.c
336
int d = tm.tm_mday;
usr/src/cmd/fm/fmdump/common/fmdump.c
338
bcopy(localtime(&tod.tv_sec), &tm, sizeof (tm));
usr/src/cmd/fm/fmdump/common/fmdump.c
339
tm.tm_isdst = 0; /* see strptime(3C) and below */
usr/src/cmd/fm/fmdump/common/fmdump.c
342
tm.tm_mon = b;
usr/src/cmd/fm/fmdump/common/fmdump.c
343
tm.tm_mday = d;
usr/src/cmd/fm/fmdump/common/fmdump.c
346
tm.tm_hour = h;
usr/src/cmd/fm/fmdump/common/fmdump.c
347
tm.tm_min = m;
usr/src/cmd/fm/fmdump/common/fmdump.c
348
tm.tm_sec = s;
usr/src/cmd/fm/fmdump/common/fmdump.c
352
tvp->tv_sec = mktime(&tm);
usr/src/cmd/fm/fmdump/common/fmdump.c
362
if (tm.tm_isdst)
usr/src/cmd/fm/modules/common/ext-event-transport/fmevt_inbound_sunos.c
49
struct tm ts;
usr/src/cmd/fm/modules/common/ses-log-transport/ses_log_transport.c
877
struct tm tim;
usr/src/cmd/fm/notify/smtp-notify/common/smtp-notify.c
573
struct tm ts;
usr/src/cmd/fm/schemes/mem/mem.c
545
mem_seg_map_t *sm, *tm;
usr/src/cmd/fm/schemes/mem/mem.c
562
for (sm = mem.mem_seg; sm != NULL; sm = tm) {
usr/src/cmd/fm/schemes/mem/mem.c
563
tm = sm->sm_next;
usr/src/cmd/fruadm/fruadm.c
472
struct tm *sp_tm;
usr/src/cmd/fs.d/fssnapsup.c
379
struct tm *tm;
usr/src/cmd/fs.d/fssnapsup.c
396
tm = localtime(&numvalp->value.l);
usr/src/cmd/fs.d/fssnapsup.c
398
"%c\n", tm) == 0)
usr/src/cmd/fs.d/nfs/nfslog/nfslog_elf.c
492
struct tm tmst;
usr/src/cmd/fs.d/nfs/nfslog/nfslog_elf.c
511
struct tm tmst;
usr/src/cmd/fs.d/nfs/nfslog/nfslog_elf.c
534
struct tm tmst;
usr/src/cmd/fs.d/pcfs/fsck/dir.c
829
struct tm tm;
usr/src/cmd/fs.d/pcfs/fsck/dir.c
839
(void) localtime_r(&now, &tm);
usr/src/cmd/fs.d/pcfs/fsck/dir.c
841
dat = (tm.tm_year - 80) << YEARSHIFT;
usr/src/cmd/fs.d/pcfs/fsck/dir.c
842
dat |= tm.tm_mon << MONSHIFT;
usr/src/cmd/fs.d/pcfs/fsck/dir.c
843
dat |= tm.tm_mday << DAYSHIFT;
usr/src/cmd/fs.d/pcfs/fsck/dir.c
844
tim = tm.tm_hour << HOURSHIFT;
usr/src/cmd/fs.d/pcfs/fsck/dir.c
845
tim |= tm.tm_min << MINSHIFT;
usr/src/cmd/fs.d/pcfs/fsck/dir.c
846
tim |= (tm.tm_sec / 2) << SECSHIFT;
usr/src/cmd/fs.d/pcfs/fsck/dir.c
858
*msec = (tm.tm_sec & 1) ? 100 : 0;
usr/src/cmd/fs.d/pcfs/mkfs/mkfs_main.c
2609
struct tm *tp;
usr/src/cmd/fs.d/udfs/mkfs/mkfs.c
144
static struct tm res;
usr/src/cmd/fs.d/udfs/mkfs/mkfs.c
75
extern struct tm *localtime_r(const time_t *, struct tm *);
usr/src/cmd/fs.d/ufs/fsck/utilities.c
1595
struct tm *local;
usr/src/cmd/hal/hald/logger.c
145
struct tm *tlocaltime;
usr/src/cmd/hal/hald/logger.c
216
struct tm *tlocaltime;
usr/src/cmd/ipcs/ipcs.c
442
struct tm *t; /* ptr to converted time */
usr/src/cmd/ipf/tools/ipmon.c
1008
tm = get_tm(ipl->ipl_sec);
usr/src/cmd/ipf/tools/ipmon.c
1012
(void) strftime(t, len, "%d/%m/%Y ", tm);
usr/src/cmd/ipf/tools/ipmon.c
1017
(void) strftime(t, len, "%T", tm);
usr/src/cmd/ipf/tools/ipmon.c
167
static struct tm *get_tm __P((u_32_t));
usr/src/cmd/ipf/tools/ipmon.c
169
static struct tm *get_tm __P((time_t));
usr/src/cmd/ipf/tools/ipmon.c
707
static struct tm *get_tm(sec)
usr/src/cmd/ipf/tools/ipmon.c
714
struct tm *tm;
usr/src/cmd/ipf/tools/ipmon.c
718
tm = localtime(&t);
usr/src/cmd/ipf/tools/ipmon.c
719
return tm;
usr/src/cmd/ipf/tools/ipmon.c
730
struct tm *tm;
usr/src/cmd/ipf/tools/ipmon.c
736
tm = get_tm(ipl->ipl_sec);
usr/src/cmd/ipf/tools/ipmon.c
739
(void) strftime(t, len, "%d/%m/%Y ", tm);
usr/src/cmd/ipf/tools/ipmon.c
744
(void) strftime(t, len, "%T", tm);
usr/src/cmd/ipf/tools/ipmon.c
813
struct tm *tm;
usr/src/cmd/ipf/tools/ipmon.c
818
tm = get_tm(ipl->ipl_sec);
usr/src/cmd/ipf/tools/ipmon.c
821
(void) strftime(t, len, "%d/%m/%Y ", tm);
usr/src/cmd/ipf/tools/ipmon.c
826
(void) strftime(t, len, "%T", tm);
usr/src/cmd/ipf/tools/ipmon.c
989
struct tm *tm;
usr/src/cmd/krb5/kadmin/cli/getdate.y
1023
Start -= ((tm->tm_hour * 60L + tm->tm_min) * 60L) + tm->tm_sec;
usr/src/cmd/krb5/kadmin/cli/getdate.y
169
extern struct tm *gmtime();
usr/src/cmd/krb5/kadmin/cli/getdate.y
170
extern struct tm *localtime();
usr/src/cmd/krb5/kadmin/cli/getdate.y
700
struct tm *tm;
usr/src/cmd/krb5/kadmin/cli/getdate.y
704
tm = localtime(&now);
usr/src/cmd/krb5/kadmin/cli/getdate.y
705
now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);
usr/src/cmd/krb5/kadmin/cli/getdate.y
716
struct tm *tm;
usr/src/cmd/krb5/kadmin/cli/getdate.y
723
tm = localtime(&Start);
usr/src/cmd/krb5/kadmin/cli/getdate.y
724
Month = 12 * tm->tm_year + tm->tm_mon + RelMonth;
usr/src/cmd/krb5/kadmin/cli/getdate.y
727
ret = Convert(Month, (time_t)tm->tm_mday, Year,
usr/src/cmd/krb5/kadmin/cli/getdate.y
728
(time_t)tm->tm_hour, (time_t)tm->tm_min, (time_t)tm->tm_sec,
usr/src/cmd/krb5/kadmin/cli/getdate.y
894
struct tm *a, *b;
usr/src/cmd/krb5/kadmin/cli/getdate.y
924
struct tm *tm, gmt;
usr/src/cmd/krb5/kadmin/cli/getdate.y
936
if (! (tm = gmtime (&ftz.time)))
usr/src/cmd/krb5/kadmin/cli/getdate.y
938
gmt = *tm; /* Make a copy, in case localtime modifies *tm. */
usr/src/cmd/krb5/kadmin/cli/getdate.y
942
tm = localtime(&now->time);
usr/src/cmd/krb5/kadmin/cli/getdate.y
943
yyYear = tm->tm_year;
usr/src/cmd/krb5/kadmin/cli/getdate.y
944
yyMonth = tm->tm_mon + 1;
usr/src/cmd/krb5/kadmin/cli/getdate.y
945
yyDay = tm->tm_mday;
usr/src/cmd/krb5/kadmin/cli/kadmin.c
139
struct tm *tm;
usr/src/cmd/krb5/kadmin/cli/kadmin.c
143
tm = localtime(&lcltim);
usr/src/cmd/krb5/kadmin/cli/kadmin.c
144
strftime(out, sizeof(out), gettext("%a %b %d %H:%M:%S %Z %Y"), tm);
usr/src/cmd/krb5/kwarn/kwarnd_proc.c
347
char *principal, *send_to, *emailid, *ends, *tm;
usr/src/cmd/krb5/kwarn/kwarnd_proc.c
504
tm = ends - 1;
usr/src/cmd/krb5/kwarn/kwarnd_proc.c
505
if (*tm == 's')
usr/src/cmd/krb5/kwarn/kwarnd_proc.c
507
else if (*tm == 'm')
usr/src/cmd/krb5/kwarn/kwarnd_proc.c
509
else if (*tm == 'h')
usr/src/cmd/krb5/kwarn/kwarnd_proc.c
514
if (*tm)
usr/src/cmd/krb5/kwarn/kwarnd_proc.c
515
*tm = '\0';
usr/src/cmd/latencytop/util.c
113
struct tm tms;
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
1108
struct tm tm;
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
1121
(void) localtime_r(prev, &tm);
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
1122
(void) strftime(pbuf, sizeof (pbuf) - 1, TIME_FORMAT, &tm);
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
1129
(void) localtime_r(next, &tm);
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
1130
(void) strftime(nbuf, sizeof (nbuf) - 1, TIME_FORMAT, &tm);
usr/src/cmd/ldmad/ldma_log.c
63
struct tm ltime;
usr/src/cmd/listen/lslog.c
290
struct tm *tm_p;
usr/src/cmd/listen/lslog.c
293
tm_p = (struct tm *) localtime(&clock);
usr/src/cmd/localedef/time.c
109
add_list(tm.mon, str, 12);
usr/src/cmd/localedef/time.c
112
add_list(tm.month, str, 12);
usr/src/cmd/localedef/time.c
115
add_list(tm.wday, str, 7);
usr/src/cmd/localedef/time.c
118
add_list(tm.weekday, str, 7);
usr/src/cmd/localedef/time.c
121
if (tm.am == NULL) {
usr/src/cmd/localedef/time.c
122
tm.am = str;
usr/src/cmd/localedef/time.c
123
} else if (tm.pm == NULL) {
usr/src/cmd/localedef/time.c
124
tm.pm = str;
usr/src/cmd/localedef/time.c
146
if (tm.mon[11] != NULL)
usr/src/cmd/localedef/time.c
150
if (tm.month[11] != NULL)
usr/src/cmd/localedef/time.c
154
if (tm.wday[6] != NULL)
usr/src/cmd/localedef/time.c
158
if (tm.weekday[6] != NULL)
usr/src/cmd/localedef/time.c
162
if (tm.pm != NULL)
usr/src/cmd/localedef/time.c
183
free((char *)tm.mon[i]);
usr/src/cmd/localedef/time.c
184
tm.mon[i] = NULL;
usr/src/cmd/localedef/time.c
189
free((char *)tm.month[i]);
usr/src/cmd/localedef/time.c
190
tm.month[i] = NULL;
usr/src/cmd/localedef/time.c
195
free((char *)tm.wday[i]);
usr/src/cmd/localedef/time.c
196
tm.wday[i] = NULL;
usr/src/cmd/localedef/time.c
201
free((char *)tm.weekday[i]);
usr/src/cmd/localedef/time.c
202
tm.weekday[i] = NULL;
usr/src/cmd/localedef/time.c
206
free((char *)tm.am);
usr/src/cmd/localedef/time.c
207
tm.am = NULL;
usr/src/cmd/localedef/time.c
208
free((char *)tm.pm);
usr/src/cmd/localedef/time.c
209
tm.pm = NULL;
usr/src/cmd/localedef/time.c
226
if (putl_category(tm.mon[i], f) == EOF) {
usr/src/cmd/localedef/time.c
231
if (putl_category(tm.month[i], f) == EOF) {
usr/src/cmd/localedef/time.c
236
if (putl_category(tm.wday[i], f) == EOF) {
usr/src/cmd/localedef/time.c
241
if (putl_category(tm.weekday[i], f) == EOF) {
usr/src/cmd/localedef/time.c
252
if ((putl_category(tm.X_fmt, f) == EOF) ||
usr/src/cmd/localedef/time.c
253
(putl_category(tm.x_fmt, f) == EOF) ||
usr/src/cmd/localedef/time.c
254
(putl_category(tm.c_fmt, f) == EOF) ||
usr/src/cmd/localedef/time.c
255
(putl_category(tm.am, f) == EOF) ||
usr/src/cmd/localedef/time.c
256
(putl_category(tm.pm, f) == EOF) ||
usr/src/cmd/localedef/time.c
257
(putl_category(tm.date_fmt ? tm.date_fmt : tm.c_fmt, f) == EOF) ||
usr/src/cmd/localedef/time.c
258
(putl_category(tm.ampm_fmt, f) == EOF)) {
usr/src/cmd/localedef/time.c
31
struct lc_time tm;
usr/src/cmd/localedef/time.c
36
(void) memset(&tm, 0, sizeof (tm));
usr/src/cmd/localedef/time.c
52
tm.c_fmt = str;
usr/src/cmd/localedef/time.c
55
tm.x_fmt = str;
usr/src/cmd/localedef/time.c
58
tm.X_fmt = str;
usr/src/cmd/localedef/time.c
61
tm.ampm_fmt = str;
usr/src/cmd/localedef/time.c
68
tm.date_fmt = str;
usr/src/cmd/logadm/kw.c
201
struct tm *gmt_tm = localtime(&Now);
usr/src/cmd/logadm/opts.c
322
struct tm tm;
usr/src/cmd/logadm/opts.c
325
if (strptime(optarg, "%a %b %e %T %Z %Y", &tm) == NULL &&
usr/src/cmd/logadm/opts.c
326
strptime(optarg, "%c", &tm) == NULL)
usr/src/cmd/logadm/opts.c
330
if ((ret = (off_t)mktime(&tm)) == -1 && errno)
usr/src/cmd/logins/logins.c
656
struct tm *ptm; /* Pointer to a time-of-day structure */
usr/src/cmd/lp/cmd/lpsched/log.c
126
struct tm *tm;
usr/src/cmd/lp/cmd/lpsched/log.c
129
if ((tm = localtime(&curtime)) != NULL)
usr/src/cmd/lp/cmd/lpsched/log.c
131
tm->tm_mon+1, tm->tm_mday, tm->tm_hour,
usr/src/cmd/lp/cmd/lpsched/log.c
132
tm->tm_min, tm->tm_sec);
usr/src/cmd/lp/model/lp.cat.c
687
struct termio tm;
usr/src/cmd/lp/model/lp.cat.c
692
if (ioctl(1, TCGETA, &tm) < 0) {
usr/src/cmd/lp/model/lp.cat.c
695
speed = tm.c_cflag&CBAUD;
usr/src/cmd/luxadm/lux_util.c
82
struct tm *tmbuf = NULL;
usr/src/cmd/mail/sendmail.c
51
struct tm *bp;
usr/src/cmd/make/bin/misc.cc
227
struct tm *tm;
usr/src/cmd/make/bin/misc.cc
236
tm = localtime(&time.tv_sec);
usr/src/cmd/make/bin/misc.cc
237
strftime(buf, sizeof (buf), "%c %Z", tm);
usr/src/cmd/mandoc/mandoc.c
479
struct tm tm;
usr/src/cmd/mandoc/mandoc.c
482
memset(&tm, 0, sizeof(struct tm));
usr/src/cmd/mandoc/mandoc.c
486
pp = strptime(p, fmt, &tm);
usr/src/cmd/mandoc/mandoc.c
489
*t = mktime(&tm);
usr/src/cmd/mandoc/mandoc.c
499
struct tm *tm;
usr/src/cmd/mandoc/mandoc.c
505
tm = localtime(&t);
usr/src/cmd/mandoc/mandoc.c
506
if (tm == NULL)
usr/src/cmd/mandoc/mandoc.c
518
if ((ssz = strftime(p, 10 + 1, "%B ", tm)) == 0)
usr/src/cmd/mandoc/mandoc.c
531
isz = snprintf(p, 4 + 1, "%d, ", tm->tm_mday);
usr/src/cmd/mandoc/mandoc.c
536
if (strftime(p, 4 + 1, "%Y", tm) == 0)
usr/src/cmd/mdb/common/libstand/ctime.c
157
__posix_asctime_r(const struct tm *t, char *cbuf)
usr/src/cmd/mdb/common/libstand/ctime.c
205
asctime_r(const struct tm *t, char *cbuf, int buflen)
usr/src/cmd/mdb/common/libstand/ctime.c
222
asctime(const struct tm *t)
usr/src/cmd/mdb/common/libstand/ctime.c
32
struct tm *
usr/src/cmd/mdb/common/libstand/ctime.c
35
struct tm *tmp;
usr/src/cmd/mdb/common/libstand/ctime.c
41
static struct tm tm;
usr/src/cmd/mdb/common/libstand/ctime.c
43
tmp = &tm;
usr/src/cmd/mdb/common/libstand/sys/salib.h
38
extern char *asctime(const struct tm *);
usr/src/cmd/mdb/common/mdb/mdb_io.c
1269
time_t tm;
usr/src/cmd/mdb/common/mdb/mdb_io.c
1525
u.tm = VA_ARG(ap, time_t);
usr/src/cmd/mdb/common/mdb/mdb_io.c
1526
u.str = iob_time2str(&u.tm);
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
157
topo_mod_t tm;
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
163
if (mdb_vread(&tm, sizeof (tm), addr) != sizeof (tm)) {
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
168
if (mdb_readstr(name, sizeof (name), (uintptr_t)tm.tm_name) < 0) {
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
169
(void) mdb_snprintf(name, sizeof (name), "<%p>", tm.tm_name);
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
171
if (mdb_readstr(path, sizeof (path), (uintptr_t)tm.tm_path) < 0) {
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
172
(void) mdb_snprintf(path, sizeof (path), "<%p>", tm.tm_path);
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
174
if (mdb_readstr(root, sizeof (root), (uintptr_t)tm.tm_rootdir) < 0) {
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
175
(void) mdb_snprintf(root, sizeof (root), "<%p>", tm.tm_rootdir);
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
191
if (tm.tm_busy)
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
198
mdb_printf("%-12s 0x%-34p %-30s\n", "tm_next", tm.tm_next,
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
200
mdb_printf("%-12s 0x%-34p %-30s\n", "tm_hdl", tm.tm_hdl,
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
202
mdb_printf("%-12s 0x%-34p %-30s\n", "tm_alloc", tm.tm_alloc,
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
210
mdb_printf("%-12s %-36u %-30s\n", "tm_refs", tm.tm_refs,
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
212
mdb_printf("%-12s %-36u %-30s\n", "tm_flags", tm.tm_flags,
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
214
if (TOPO_MOD_INIT & tm.tm_flags) {
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
218
if (TOPO_MOD_FINI & tm.tm_flags) {
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
222
if (TOPO_MOD_REG & tm.tm_flags) {
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
226
if (TOPO_MOD_UNREG & tm.tm_flags) {
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
231
mdb_printf("%-12s %-36u %-30s\n", "tm_debug", tm.tm_debug,
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
233
mdb_printf("%-12s 0x%-34p %-30s\n", "tm_data", tm.tm_data,
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
235
mdb_printf("%-12s 0x%-34p %-30s\n", "tm_mops", tm.tm_mops,
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
237
mdb_printf("%-12s 0x%-34p %-30s\n", "tm_info", tm.tm_info,
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
239
mdb_printf("%-12s %-36d %-30s\n", "tm_ernno", tm.tm_errno,
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
668
topo_mod_t *tm;
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
683
tm = (topo_mod_t *)wsp->walk_data;
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
685
if (tm->tm_next)
usr/src/cmd/mdb/common/modules/libtopo/libtopo.c
686
wsp->walk_addr = (uintptr_t)tm->tm_next;
usr/src/cmd/ndmpd/ndmp/ndmpd_dtime.c
144
struct tm then;
usr/src/cmd/ndmpd/ndmp/ndmpd_log.c
148
struct tm tm;
usr/src/cmd/ndmpd/ndmp/ndmpd_log.c
152
(void) localtime_r(&secs, &tm);
usr/src/cmd/ndmpd/ndmp/ndmpd_log.c
154
tm.tm_mon + 1, tm.tm_mday,
usr/src/cmd/ndmpd/ndmp/ndmpd_log.c
155
tm.tm_hour, tm.tm_min, tm.tm_sec);
usr/src/cmd/oamuser/lib/dates.c
43
struct tm *tmptr, *getdate();
usr/src/cmd/oamuser/lib/vexpire.c
43
struct tm *tm;
usr/src/cmd/oamuser/lib/vexpire.c
51
tm = localtime( &now );
usr/src/cmd/oamuser/lib/vexpire.c
52
now -= tm->tm_hour * 60*60 + tm->tm_min * 60 + tm->tm_sec;
usr/src/cmd/passmgmt/passmgmt.c
304
struct tm *tm_ptr;
usr/src/cmd/passwd/passwd.c
1294
struct tm *tmp;
usr/src/cmd/power/powerd.c
61
extern struct tm *localtime_r(const time_t *, struct tm *);
usr/src/cmd/power/powerd.c
616
struct tm tmp_time;
usr/src/cmd/praudit/format.c
2526
tzone(struct tm *tm, time_t *tv_sec, char *p)
usr/src/cmd/praudit/format.c
2528
struct tm *gmt;
usr/src/cmd/praudit/format.c
2533
min_off = ((tm->tm_hour - gmt->tm_hour) * 60) +
usr/src/cmd/praudit/format.c
2534
(tm->tm_min - gmt->tm_min);
usr/src/cmd/praudit/format.c
2536
if (tm->tm_year < gmt->tm_year) /* cross new year */
usr/src/cmd/praudit/format.c
2538
else if (tm->tm_year > gmt->tm_year)
usr/src/cmd/praudit/format.c
2540
else if (tm->tm_yday < gmt->tm_yday) /* cross dateline */
usr/src/cmd/praudit/format.c
2542
else if (tm->tm_yday > gmt->tm_yday)
usr/src/cmd/praudit/format.c
2583
struct tm tm;
usr/src/cmd/praudit/format.c
2599
(void) localtime_r(&tv_sec, &tm);
usr/src/cmd/praudit/format.c
2602
"%Y-%m-%d %H:%M:%S.xxx ", &tm);
usr/src/cmd/praudit/format.c
2605
tzone(&tm, &tv_sec,
usr/src/cmd/praudit/format.c
2690
struct tm tm;
usr/src/cmd/praudit/format.c
2713
(void) localtime_r(&tv_sec, &tm);
usr/src/cmd/praudit/format.c
2716
"%Y-%m-%d %H:%M:%S.xxx ", &tm);
usr/src/cmd/praudit/format.c
2719
tzone(&tm, &tv_sec,
usr/src/cmd/print/bsd-sysv-commands/lpstat.c
66
struct tm *tm = localtime(t);
usr/src/cmd/print/bsd-sysv-commands/lpstat.c
68
(void) strftime(buf, sizeof (buf), "%c", tm);
usr/src/cmd/prtfru/prtfru.c
490
struct tm *tm;
usr/src/cmd/prtfru/prtfru.c
556
if ((tm = gmtime(&timefield)) == NULL) {
usr/src/cmd/prtfru/prtfru.c
560
if (strftime(timestring, sizeof (timestring), GMT, tm)
usr/src/cmd/prtfru/prtfru.c
749
struct tm *tm;
usr/src/cmd/prtfru/prtfru.c
756
if ((tm = gmtime(&timefield)) == NULL)
usr/src/cmd/prtfru/prtfru.c
760
sizeof (timestring), GMT, tm) == 0)
usr/src/cmd/prtfru/prtfru.c
841
struct tm *tm;
usr/src/cmd/prtfru/prtfru.c
848
if ((tm = gmtime(&timefield)) == NULL)
usr/src/cmd/prtfru/prtfru.c
852
sizeof (timestring), GMT, tm) == 0)
usr/src/cmd/ps/ps.c
1362
long tm;
usr/src/cmd/ps/ps.c
1549
tm = psinfo->pr_lwp.pr_time.tv_sec;
usr/src/cmd/ps/ps.c
1551
tm++;
usr/src/cmd/ps/ps.c
1553
tm = psinfo->pr_time.tv_sec;
usr/src/cmd/ps/ps.c
1555
tm++;
usr/src/cmd/ps/ps.c
1557
(void) printf(" %4ld:%.2ld", tm / 60, tm % 60); /* [L]TIME */
usr/src/cmd/ps/ps.c
2289
long tm;
usr/src/cmd/ps/ps.c
2395
tm = psinfo->pr_time.tv_sec;
usr/src/cmd/ps/ps.c
2397
tm++;
usr/src/cmd/ps/ps.c
2398
(void) printf(" %4ld:%.2ld", tm / 60, tm % 60); /* TIME */
usr/src/cmd/ps/ucbps.c
1065
long tm;
usr/src/cmd/ps/ucbps.c
1105
tm = psinfo->pr_time.tv_sec;
usr/src/cmd/ps/ucbps.c
1107
tm += psinfo->pr_ctime.tv_sec;
usr/src/cmd/ps/ucbps.c
1110
tm += 1;
usr/src/cmd/ps/ucbps.c
1112
(void) printf(" %2ld:%.2ld", tm / 60, tm % 60); /* TIME */
usr/src/cmd/ps/ucbps.c
850
long tm;
usr/src/cmd/ps/ucbps.c
973
tm = psinfo->pr_time.tv_sec;
usr/src/cmd/ps/ucbps.c
975
tm += psinfo->pr_ctime.tv_sec;
usr/src/cmd/ps/ucbps.c
978
tm += 1;
usr/src/cmd/ps/ucbps.c
981
(void) printf(" %2ld:%.2ld", tm / 60, tm % 60); /* TIME */
usr/src/cmd/refer/mkey2.c
100
tlen += strlen(tm);
usr/src/cmd/refer/mkey2.c
101
if (tm[0] == '%' || tm[0] == '.')
usr/src/cmd/refer/mkey2.c
102
curtype = tm[1];
usr/src/cmd/refer/mkey2.c
104
strcat(s, tm);
usr/src/cmd/refer/mkey2.c
106
if (wholefile == 0 && tm[0] == '\n')
usr/src/cmd/refer/mkey2.c
91
char tm[200];
usr/src/cmd/refer/mkey2.c
99
while (fgets(tm, 200, f)) {
usr/src/cmd/rtc/rtc.c
169
struct tm *tm;
usr/src/cmd/rtc/rtc.c
182
tm = localtime(&clock_val);
usr/src/cmd/rtc/rtc.c
183
return (tm->tm_isdst);
usr/src/cmd/sa/sar.c
85
static struct tm *curt, args, arge;
usr/src/cmd/scadm/sparc/mpxu/common/date.c
99
struct tm *tp;
usr/src/cmd/sendmail/db/xa/xa_map.c
192
DB_TXNMGR *tm;
usr/src/cmd/sendmail/db/xa/xa_map.c
195
tm = env->tx_info;
usr/src/cmd/sendmail/db/xa/xa_map.c
196
td = (TXN_DETAIL *)((u_int8_t *)tm->region + off);
usr/src/cmd/sendmail/db/xa/xa_map.c
198
LOCK_TXNREGION(tm);
usr/src/cmd/sendmail/db/xa/xa_map.c
200
UNLOCK_TXNREGION(tm);
usr/src/cmd/sendmail/libmilter/monitor.c
60
smfi_set_max_exec_time(tm)
usr/src/cmd/sendmail/libmilter/monitor.c
61
unsigned int tm;
usr/src/cmd/sendmail/libmilter/monitor.c
63
Mon_exec_time = tm;
usr/src/cmd/sendmail/libsm/debug.c
142
struct tm *tmp;
usr/src/cmd/sendmail/src/arpadate.c
63
register struct tm *lt;
usr/src/cmd/sendmail/src/arpadate.c
65
struct tm gmt;
usr/src/cmd/sendmail/src/envelope.c
832
register struct tm *tm;
usr/src/cmd/sendmail/src/envelope.c
837
tm = gmtime(&now);
usr/src/cmd/sendmail/src/envelope.c
839
tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday,
usr/src/cmd/sendmail/src/envelope.c
840
tm->tm_hour, tm->tm_min);
usr/src/cmd/sendmail/src/queue.c
5365
struct tm *tm;
usr/src/cmd/sendmail/src/queue.c
5404
tm = gmtime(&LastQueueTime);
usr/src/cmd/sendmail/src/queue.c
5405
idbuf[0] = QueueIdChars[tm->tm_year % QIC_LEN];
usr/src/cmd/sendmail/src/queue.c
5406
idbuf[1] = QueueIdChars[tm->tm_mon];
usr/src/cmd/sendmail/src/queue.c
5407
idbuf[2] = QueueIdChars[tm->tm_mday];
usr/src/cmd/sendmail/src/queue.c
5408
idbuf[3] = QueueIdChars[tm->tm_hour];
usr/src/cmd/sendmail/src/queue.c
5409
idbuf[4] = QueueIdChars[tm->tm_min % QIC_LEN_R];
usr/src/cmd/sendmail/src/queue.c
5410
idbuf[5] = QueueIdChars[tm->tm_sec % QIC_LEN_R];
usr/src/cmd/smbsrv/smbadm/smbinfo.c
616
const struct tm *tm;
usr/src/cmd/smbsrv/smbadm/smbinfo.c
623
tm = localtime(&when);
usr/src/cmd/smbsrv/smbadm/smbinfo.c
624
(void) strftime(buf, buflen - 1, fmt, tm);
usr/src/cmd/smbsrv/smbd/smbd_main.c
883
struct tm local_tm;
usr/src/cmd/smbsrv/smbd/smbd_main.c
926
struct tm *atm;
usr/src/cmd/smbsrv/smbd/smbd_vss.c
247
struct tm tm;
usr/src/cmd/smbsrv/smbd/smbd_vss.c
250
strptime(gmttoken, smbd_vss_gmttoken_fmt, &tm) != NULL) {
usr/src/cmd/smbsrv/smbd/smbd_vss.c
251
toktime = timegm(&tm);
usr/src/cmd/smbsrv/smbd/smbd_vss.c
298
struct tm t;
usr/src/cmd/smbsrv/test-msgbuf/test_misc.c
124
struct tm atm;
usr/src/cmd/smbsrv/test-msgbuf/test_misc.c
144
struct tm atm;
usr/src/cmd/smbsrv/test-msgbuf/test_misc.c
191
struct tm *
usr/src/cmd/smbsrv/test-msgbuf/test_misc.c
192
smb_gmtime_r(time_t *clock, struct tm *result)
usr/src/cmd/smbsrv/test-msgbuf/test_misc.c
202
bzero(result, sizeof (struct tm));
usr/src/cmd/smbsrv/test-msgbuf/test_misc.c
263
smb_timegm(struct tm *tm)
usr/src/cmd/smbsrv/test-msgbuf/test_misc.c
271
if (tm == 0)
usr/src/cmd/smbsrv/test-msgbuf/test_misc.c
274
year = tm->tm_year + TM_YEAR_BASE;
usr/src/cmd/smbsrv/test-msgbuf/test_misc.c
284
for (mm = TM_JANUARY; mm < tm->tm_mon; ++mm) {
usr/src/cmd/smbsrv/test-msgbuf/test_misc.c
293
tsec += (tm->tm_mday - 1) * SECSPERDAY;
usr/src/cmd/smbsrv/test-msgbuf/test_misc.c
294
tsec += tm->tm_sec;
usr/src/cmd/smbsrv/test-msgbuf/test_misc.c
295
tsec += tm->tm_min * SECSPERMIN;
usr/src/cmd/smbsrv/test-msgbuf/test_misc.c
296
tsec += tm->tm_hour * SECSPERHOUR;
usr/src/cmd/smbsrv/test-msgbuf/test_misc.c
298
tm->tm_isdst = 0;
usr/src/cmd/smbsrv/test-msgbuf/test_misc.c
299
(void) smb_gmtime_r(&tsec, tm);
usr/src/cmd/smbsrv/test-msgbuf/test_misc.c
41
struct tm
usr/src/cmd/smbsrv/test-msgbuf/test_misc.c
42
*smb_gmtime_r(time_t *clock, struct tm *result);
usr/src/cmd/smbsrv/test-msgbuf/test_misc.c
45
smb_timegm(struct tm *tm);
usr/src/cmd/sort/fields.c
214
struct tm this_month;
usr/src/cmd/streams/log/strerr.c
65
struct tm *tp;
usr/src/cmd/su/su.c
778
struct tm *tmp;
usr/src/cmd/svc/configd/backend.c
1009
struct tm now_tm;
usr/src/cmd/svc/startd/fork.c
620
struct tm ltime;
usr/src/cmd/svc/startd/graph.c
3559
struct tm nowtm;
usr/src/cmd/svc/startd/log.c
168
struct tm ltime;
usr/src/cmd/svc/startd/log.c
332
struct tm ltime;
usr/src/cmd/svc/svcs/explain.c
2009
struct tm *tmp;
usr/src/cmd/svc/svcs/svcs.c
1632
struct tm *tm;
usr/src/cmd/svc/svcs/svcs.c
1656
tm = localtime(&then);
usr/src/cmd/svc/svcs/svcs.c
1664
gettext(FORMAT_TIME), tm);
usr/src/cmd/svc/svcs/svcs.c
1667
gettext(FORMAT_DATE), tm);
usr/src/cmd/svc/svcs/svcs.c
1670
gettext(FORMAT_YEAR), tm);
usr/src/cmd/svc/svcs/svcs.c
2422
struct tm *tmp;
usr/src/cmd/svc/svcs/svcs.c
2954
struct tm *tm;
usr/src/cmd/svc/svcs/svcs.c
2956
tm = localtime(&psi.pr_start.tv_sec);
usr/src/cmd/svc/svcs/svcs.c
2965
gettext(FORMAT_TIME), tm);
usr/src/cmd/svc/svcs/svcs.c
2968
gettext(FORMAT_DATE), tm);
usr/src/cmd/svc/svcs/svcs.c
2971
gettext(FORMAT_YEAR), tm);
usr/src/cmd/svr4pkg/libinst/ocfile.c
450
struct tm *timep;
usr/src/cmd/svr4pkg/libinst/pkgops.c
358
struct tm *timep;
usr/src/cmd/svr4pkg/libinst/pkgops.c
547
struct tm *timep;
usr/src/cmd/svr4pkg/pkgadm/lock.c
2054
struct tm tstruct;
usr/src/cmd/tar/tar.c
4395
struct tm *tm;
usr/src/cmd/tar/tar.c
4410
tm = localtime(&(st->st_mtime));
usr/src/cmd/tar/tar.c
4412
dcgettext((const char *)0, "%b %e %R %Y", LC_TIME), tm);
usr/src/cmd/touch/touch.c
282
struct tm tm;
usr/src/cmd/touch/touch.c
326
(void) memset(&tm, 0, sizeof (struct tm));
usr/src/cmd/touch/touch.c
328
tm.tm_year = atoi(year) - 1900;
usr/src/cmd/touch/touch.c
329
tm.tm_mon = atoi(month) - 1;
usr/src/cmd/touch/touch.c
330
tm.tm_mday = atoi(day);
usr/src/cmd/touch/touch.c
331
tm.tm_hour = atoi(hour);
usr/src/cmd/touch/touch.c
332
tm.tm_min = atoi(minute);
usr/src/cmd/touch/touch.c
333
tm.tm_sec = atoi(second);
usr/src/cmd/touch/touch.c
340
if ((when = mktime(&tm)) == -1 && errno != 0)
usr/src/cmd/touch/touch.c
342
if (tm.tm_isdst)
usr/src/cmd/touch/touch.c
394
struct tm tm;
usr/src/cmd/touch/touch.c
407
(void) memset(&tm, 0, sizeof (struct tm));
usr/src/cmd/touch/touch.c
409
tm.tm_year = localtime(&when)->tm_year;
usr/src/cmd/touch/touch.c
417
tm.tm_year = atoi_for2(t);
usr/src/cmd/touch/touch.c
420
if (tm.tm_year < 69)
usr/src/cmd/touch/touch.c
421
tm.tm_year += 100;
usr/src/cmd/touch/touch.c
423
tm.tm_year += (century - 19) * 100;
usr/src/cmd/touch/touch.c
426
tm.tm_mon = atoi_for2(t) - 1;
usr/src/cmd/touch/touch.c
428
tm.tm_mday = atoi_for2(t);
usr/src/cmd/touch/touch.c
430
tm.tm_hour = atoi_for2(t);
usr/src/cmd/touch/touch.c
432
tm.tm_min = atoi_for2(t);
usr/src/cmd/touch/touch.c
433
tm.tm_sec = seconds;
usr/src/cmd/touch/touch.c
439
if ((when = mktime(&tm)) == -1)
usr/src/cmd/touch/touch.c
441
if (tm.tm_isdst)
usr/src/cmd/touch/touch.c
452
struct tm tm;
usr/src/cmd/touch/touch.c
459
(void) memset(&tm, 0, sizeof (struct tm));
usr/src/cmd/touch/touch.c
461
tm.tm_year = localtime(&when)->tm_year;
usr/src/cmd/touch/touch.c
465
tm.tm_year = atoi_for2(t+8);
usr/src/cmd/touch/touch.c
466
if (tm.tm_year < 69)
usr/src/cmd/touch/touch.c
467
tm.tm_year += 100;
usr/src/cmd/touch/touch.c
470
tm.tm_mon = atoi_for2(t) - 1;
usr/src/cmd/touch/touch.c
472
tm.tm_mday = atoi_for2(t);
usr/src/cmd/touch/touch.c
474
tm.tm_hour = atoi_for2(t);
usr/src/cmd/touch/touch.c
476
tm.tm_min = atoi_for2(t);
usr/src/cmd/touch/touch.c
482
if ((when = mktime(&tm)) == -1)
usr/src/cmd/touch/touch.c
484
if (tm.tm_isdst)
usr/src/cmd/troff/n1.c
422
struct tm *tm;
usr/src/cmd/troff/n1.c
425
tm = localtime(&tt);
usr/src/cmd/troff/n1.c
426
numtab[DY].val = tm->tm_mday;
usr/src/cmd/troff/n1.c
427
numtab[DW].val = tm->tm_wday + 1;
usr/src/cmd/troff/n1.c
428
numtab[YR].val = tm->tm_year;
usr/src/cmd/troff/n1.c
429
numtab[MO].val = tm->tm_mon + 1;
usr/src/cmd/truss/main.c
1551
const struct tm *ptm;
usr/src/cmd/tsol/tnd/tnd.c
1747
struct tm *tp, tm;
usr/src/cmd/tsol/tnd/tnd.c
1752
(void) memcpy(&tm, tp, sizeof (struct tm));
usr/src/cmd/tsol/tnd/tnd.c
1755
(void) strftime(time_buf, _SZ_TIME_BUF, fmt, &tm);
usr/src/cmd/vscan/vscand/vs_svc.c
330
struct tm *timestamp;
usr/src/cmd/w/w.c
612
struct tm *p;
usr/src/cmd/who/who.c
123
static struct tm *lptr; /* holds user login time */
usr/src/cmd/whodo/whodo.c
186
struct tm *tm;
usr/src/cmd/whodo/whodo.c
554
tm = localtime(&tim);
usr/src/cmd/whodo/whodo.c
557
LOGIN_WIDTH, (int)NMAX, ut->ut_name, tm->tm_hour,
usr/src/cmd/whodo/whodo.c
558
tm->tm_min);
usr/src/cmd/whodo/whodo.c
837
struct tm *p;
usr/src/cmd/zdb/zdb.c
1385
struct tm t;
usr/src/cmd/zdump/zdump.c
1059
struct tm const *tm, time_t t, char const *ab, char const *zone_name)
usr/src/cmd/zdump/zdump.c
1079
formatted_len = strftime(b, s, f_prefix_copy, tm);
usr/src/cmd/zdump/zdump.c
1093
formatted_len = format_local_time(b, s, tm);
usr/src/cmd/zdump/zdump.c
1098
int offlen = format_utc_offset(b, s, tm, t);
usr/src/cmd/zdump/zdump.c
1119
= (tm->tm_isdst
usr/src/cmd/zdump/zdump.c
1120
? snprintf(b, s, &"\t\t%d"[show_abbr], tm->tm_isdst)
usr/src/cmd/zdump/zdump.c
1136
showtrans(char const *time_fmt, struct tm const *tm, time_t t, char const *ab,
usr/src/cmd/zdump/zdump.c
1139
if (!tm) {
usr/src/cmd/zdump/zdump.c
1147
while (! istrftime(buf, size, time_fmt, tm, t, ab, zone_name)) {
usr/src/cmd/zdump/zdump.c
1158
abbr(struct tm const *tmp)
usr/src/cmd/zdump/zdump.c
1217
dumptime(register const struct tm *timeptr)
usr/src/cmd/zdump/zdump.c
175
static struct tm *
usr/src/cmd/zdump/zdump.c
176
gmtime_r(time_t *tp, struct tm *tmp)
usr/src/cmd/zdump/zdump.c
178
struct tm *r = gmtime(tp);
usr/src/cmd/zdump/zdump.c
202
static struct tm *
usr/src/cmd/zdump/zdump.c
203
localtime_r(time_t *tp, struct tm *tmp)
usr/src/cmd/zdump/zdump.c
205
struct tm *r = localtime(tp);
usr/src/cmd/zdump/zdump.c
216
static struct tm *
usr/src/cmd/zdump/zdump.c
217
localtime_rz(ATTRIBUTE_MAYBE_UNUSED timezone_t rz, time_t *tp, struct tm *tmp)
usr/src/cmd/zdump/zdump.c
226
mktime_z(timezone_t tz, struct tm *tmp)
usr/src/cmd/zdump/zdump.c
334
static struct tm *
usr/src/cmd/zdump/zdump.c
335
my_gmtime_r(time_t *tp, struct tm *tmp)
usr/src/cmd/zdump/zdump.c
344
static struct tm *
usr/src/cmd/zdump/zdump.c
345
my_localtime_rz(timezone_t tz, time_t *tp, struct tm *tmp)
usr/src/cmd/zdump/zdump.c
349
struct tm tm;
usr/src/cmd/zdump/zdump.c
352
tm = *tmp;
usr/src/cmd/zdump/zdump.c
353
t = mktime_z(tz, &tm);
usr/src/cmd/zdump/zdump.c
408
saveabbr(char **buf, ptrdiff_t *bufalloc, struct tm const *tmp)
usr/src/cmd/zdump/zdump.c
593
struct tm tm, newtm;
usr/src/cmd/zdump/zdump.c
610
if (my_localtime_rz(tz, &t, &tm) == NULL
usr/src/cmd/zdump/zdump.c
619
tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
usr/src/cmd/zdump/zdump.c
621
ab = saveabbr(&abbrev, &abbrevsize, &tm);
usr/src/cmd/zdump/zdump.c
623
showtrans("\nTZ=%f", &tm, t, ab, argv[i]);
usr/src/cmd/zdump/zdump.c
624
showtrans("-\t-\t%Q", &tm, t, ab, argv[i]);
usr/src/cmd/zdump/zdump.c
633
struct tm *newtmp = localtime_rz(tz, &newt, &newtm);
usr/src/cmd/zdump/zdump.c
636
|| (ab && (delta(&newtm, &tm) != newt - t
usr/src/cmd/zdump/zdump.c
637
|| newtm.tm_isdst != tm.tm_isdst
usr/src/cmd/zdump/zdump.c
654
tm = newtm;
usr/src/cmd/zdump/zdump.c
661
struct tm *tmp = my_localtime_rz(tz, &t, &tm);
usr/src/cmd/zdump/zdump.c
731
struct tm lotm;
usr/src/cmd/zdump/zdump.c
732
struct tm tm;
usr/src/cmd/zdump/zdump.c
749
tm_ok = my_localtime_rz(tz, &t, &tm) != NULL;
usr/src/cmd/zdump/zdump.c
752
|| (ab && tm.tm_isdst == lotm.tm_isdst
usr/src/cmd/zdump/zdump.c
753
&& delta(&tm, &lotm) == t - lot
usr/src/cmd/zdump/zdump.c
754
&& strcmp(abbr(&tm), ab) == 0))) {
usr/src/cmd/zdump/zdump.c
757
lotm = tm;
usr/src/cmd/zdump/zdump.c
768
delta_nonneg(struct tm *newp, struct tm *oldp)
usr/src/cmd/zdump/zdump.c
787
delta(struct tm *newp, struct tm *oldp)
usr/src/cmd/zdump/zdump.c
798
adjusted_yday(struct tm const *a, struct tm const *b)
usr/src/cmd/zdump/zdump.c
815
gmtoff(struct tm const *a, ATTRIBUTE_MAYBE_UNUSED time_t *t,
usr/src/cmd/zdump/zdump.c
816
ATTRIBUTE_MAYBE_UNUSED struct tm const *b)
usr/src/cmd/zdump/zdump.c
821
struct tm tm;
usr/src/cmd/zdump/zdump.c
823
b = my_gmtime_r(t, &tm);
usr/src/cmd/zdump/zdump.c
841
register struct tm * tmp;
usr/src/cmd/zdump/zdump.c
842
register struct tm * gmtmp;
usr/src/cmd/zdump/zdump.c
843
struct tm tm, gmtm;
usr/src/cmd/zdump/zdump.c
857
tmp = my_localtime_rz(tz, &t, &tm);
usr/src/cmd/zdump/zdump.c
88
static char const *abbr(struct tm const *);
usr/src/cmd/zdump/zdump.c
884
showextrema(timezone_t tz, char *zone, time_t lo, struct tm *lotmp, time_t hi)
usr/src/cmd/zdump/zdump.c
886
struct tm localtm[2], gmtm[2];
usr/src/cmd/zdump/zdump.c
89
static intmax_t delta(struct tm *, struct tm *);
usr/src/cmd/zdump/zdump.c
90
static void dumptime(struct tm const *);
usr/src/cmd/zdump/zdump.c
93
static void showextrema(timezone_t, char *, time_t, struct tm *, time_t);
usr/src/cmd/zdump/zdump.c
94
static void showtrans(char const *, struct tm const *, time_t, char const *,
usr/src/cmd/zdump/zdump.c
964
format_local_time(char *buf, ptrdiff_t size, struct tm const *tm)
usr/src/cmd/zdump/zdump.c
966
int ss = tm->tm_sec, mm = tm->tm_min, hh = tm->tm_hour;
usr/src/cmd/zdump/zdump.c
987
format_utc_offset(char *buf, ptrdiff_t size, struct tm const *tm, time_t t)
usr/src/cmd/zdump/zdump.c
989
long off = gmtoff(tm, &t, NULL);
usr/src/cmd/zdump/zdump.c
992
&& (*abbr(tm) == '-' || strcmp(abbr(tm), "zzz") == 0)))
usr/src/cmd/zfs/zfs_main.c
5968
struct tm t;
usr/src/cmd/zic/private.h
1018
char *asctime_r(struct tm const *restrict, char *restrict);
usr/src/cmd/zic/private.h
743
DEPRECATED_IN_C23 char *asctime(struct tm const *);
usr/src/cmd/zic/private.h
746
char *asctime_r(struct tm const *restrict, char *restrict);
usr/src/cmd/zic/private.h
751
struct tm const *restrict);
usr/src/cmd/zic/private.h
754
struct tm const *restrict, locale_t);
usr/src/cmd/zic/private.h
756
struct tm *gmtime(time_t const *);
usr/src/cmd/zic/private.h
757
struct tm *gmtime_r(time_t const *restrict, struct tm *restrict);
usr/src/cmd/zic/private.h
758
struct tm *localtime(time_t const *);
usr/src/cmd/zic/private.h
759
struct tm *localtime_r(time_t const *restrict, struct tm *restrict);
usr/src/cmd/zic/private.h
760
time_t mktime(struct tm *);
usr/src/cmd/zic/private.h
762
time_t timegm(struct tm *);
usr/src/cmd/zic/private.h
777
time_t timegm(struct tm *);
usr/src/cmd/zic/private.h
781
extern char *asctime_r(struct tm const *restrict, char *restrict);
usr/src/cmd/zic/private.h
821
struct tm *offtime(time_t const *, long);
usr/src/cmd/zic/private.h
824
time_t timelocal(struct tm *);
usr/src/cmd/zic/private.h
862
struct tm *localtime_rz(timezone_t restrict, time_t const *restrict,
usr/src/cmd/zic/private.h
863
struct tm *restrict);
usr/src/cmd/zic/private.h
864
time_t mktime_z(timezone_t restrict, struct tm *restrict);
usr/src/cmd/zic/private.h
980
time_t timeoff(struct tm *, long);
usr/src/cmd/zoneadmd/zoneadmd.c
1114
uint64_t *tm = NULL;
usr/src/cmd/zoneadmd/zoneadmd.c
1124
if ((tm = scf_simple_prop_next_count(prop)) != NULL) {
usr/src/cmd/zoneadmd/zoneadmd.c
1125
if (tm != 0)
usr/src/cmd/zoneadmd/zoneadmd.c
1126
timeout = *tm;
usr/src/cmd/zpool/zpool_main.c
1739
struct tm zaction_ts;
usr/src/cmd/zpool/zpool_main.c
1790
struct tm zaction_ts;
usr/src/cmd/zpool/zpool_main.c
8021
struct tm t;
usr/src/common/ficl/softcore/makesoftcore.c
85
struct tm *currentTime;
usr/src/head/iso/time_iso.h
102
const struct tm *_RESTRICT_KYWD);
usr/src/head/iso/time_iso.h
93
extern char *asctime(const struct tm *);
usr/src/head/iso/time_iso.h
97
extern struct tm *gmtime(const time_t *);
usr/src/head/iso/time_iso.h
98
extern struct tm *localtime(const time_t *);
usr/src/head/iso/time_iso.h
99
extern time_t mktime(struct tm *);
usr/src/head/iso/wchar_iso.h
261
extern size_t wcsftime(wchar_t *, size_t, const char *, const struct tm *);
usr/src/head/iso/wchar_iso.h
269
const wchar_t *_RESTRICT_KYWD, const struct tm *_RESTRICT_KYWD);
usr/src/head/iso/wchar_iso.h
274
const wchar_t *_RESTRICT_KYWD, const struct tm *_RESTRICT_KYWD);
usr/src/head/time.h
100
extern char *__strptime_dontzero(const char *, const char *, struct tm *);
usr/src/head/time.h
106
struct tm *_RESTRICT_KYWD);
usr/src/head/time.h
185
extern time_t timegm(struct tm *);
usr/src/head/time.h
187
extern int ascftime(char *, const char *, const struct tm *);
usr/src/head/time.h
193
extern struct tm *getdate(const char *);
usr/src/head/time.h
248
extern char *asctime_r(const struct tm *_RESTRICT_KYWD, char *_RESTRICT_KYWD);
usr/src/head/time.h
252
extern char *__posix_asctime_r(const struct tm *_RESTRICT_KYWD,
usr/src/head/time.h
264
asctime_r(const struct tm *_RESTRICT_KYWD __tm, char *_RESTRICT_KYWD __buf)
usr/src/head/time.h
280
extern char *asctime_r(const struct tm *, char *, int);
usr/src/head/time.h
296
const char *_RESTRICT_KYWD, const struct tm *_RESTRICT_KYWD, locale_t);
usr/src/head/time.h
58
using std::tm;
usr/src/head/time.h
87
extern struct tm *gmtime_r(const time_t *_RESTRICT_KYWD,
usr/src/head/time.h
88
struct tm *_RESTRICT_KYWD);
usr/src/head/time.h
89
extern struct tm *localtime_r(const time_t *_RESTRICT_KYWD,
usr/src/head/time.h
90
struct tm *_RESTRICT_KYWD);
usr/src/head/wchar.h
44
using std::tm;
usr/src/head/xlocale.h
103
size_t, const wchar_t *_RESTRICT_KYWD, const struct tm *_RESTRICT_KYWD,
usr/src/head/xlocale.h
62
struct tm *_RESTRICT_KYWD, locale_t);
usr/src/lib/auditd_plugins/binfile/binfile.c
377
struct tm tm;
usr/src/lib/auditd_plugins/binfile/binfile.c
380
tm = *gmtime(&tp.tv_sec);
usr/src/lib/auditd_plugins/binfile/binfile.c
390
tm.tm_year + TM_YEAR_BASE, tm.tm_mon + 1, tm.tm_mday,
usr/src/lib/auditd_plugins/binfile/binfile.c
391
tm.tm_hour, tm.tm_min, tm.tm_sec);
usr/src/lib/fm/libfmd_msg/common/fmd_msg.c
1272
struct tm tm, *tmp;
usr/src/lib/fm/libfmd_msg/common/fmd_msg.c
1303
(tmp = localtime_r(&sec, &tm)) != NULL)
usr/src/lib/fm/libfmevent/common/fmev_evaccess.c
272
struct tm *
usr/src/lib/fm/libfmevent/common/fmev_evaccess.c
273
fmev_localtime(fmev_t ev, struct tm *tm)
usr/src/lib/fm/libfmevent/common/fmev_evaccess.c
278
return (localtime_r(&seconds, tm));
usr/src/lib/fm/libfmevent/common/libfmevent.h
326
extern struct tm *fmev_localtime(fmev_t, struct tm *);
usr/src/lib/fm/libfmnotify/common/libfmnotify.c
48
struct tm *p_tm;
usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/asn1_decode.c
227
struct tm ts;
usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/asn1_decode.c
58
extern time_t krb5int_gmt_mktime (struct tm *);
usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/asn1_encode.c
226
struct tm *gtime, gtimebuf;
usr/src/lib/gss_mechs/mech_krb5/krb5/krb/str_conv.c
139
static size_t strftime (char *, size_t, const char *, const struct tm *);
usr/src/lib/gss_mechs/mech_krb5/krb5/krb/str_conv.c
145
struct tm *)
usr/src/lib/gss_mechs/mech_krb5/krb5/krb/str_conv.c
154
static char *strptime (const char *, const char *, struct tm *);
usr/src/lib/gss_mechs/mech_krb5/krb5/krb/str_conv.c
161
struct tm timebuf;
usr/src/lib/gss_mechs/mech_krb5/krb5/krb/str_conv.c
218
struct tm tmbuf;
usr/src/lib/gss_mechs/mech_krb5/krb5/krb/str_conv.c
236
struct tm *tmp;
usr/src/lib/gss_mechs/mech_krb5/krb5/krb/str_conv.c
240
struct tm tmbuf;
usr/src/lib/gss_mechs/mech_krb5/krb5/os/gmt_mktime.c
116
struct tm tm = {
usr/src/lib/gss_mechs/mech_krb5/krb5/os/gmt_mktime.c
123
tm.tm_year = yr;
usr/src/lib/gss_mechs/mech_krb5/krb5/os/gmt_mktime.c
124
t = gmt_mktime (&tm);
usr/src/lib/gss_mechs/mech_krb5/krb5/os/gmt_mktime.c
39
time_t krb5int_gmt_mktime(struct tm *t)
usr/src/lib/hbaapi/common/HBAAPILIB.c
1305
memset(&attributes->build_date, 0, sizeof(struct tm));
usr/src/lib/hbaapi/common/HBAAPILIB.c
1314
memset(&attributes->build_date, 0, sizeof(struct tm));
usr/src/lib/hbaapi/common/HBAAPILIB.c
1318
memset(&attributes->build_date, 0, sizeof(struct tm));
usr/src/lib/hbaapi/common/hbaapi.h
451
struct tm build_date;
usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1262
struct tm tme;
usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
45
extern char *strptime (const char *, const char *, struct tm *);
usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
1311
struct tm tme;
usr/src/lib/libbe/common/be_utils.c
2405
struct tm *gmt_tm = NULL;
usr/src/lib/libbe/common/be_utils.c
2554
struct tm gmt_tm;
usr/src/lib/libbsm/common/adt_token.c
646
struct tm tm;
usr/src/lib/libbsm/common/adt_token.c
666
localtime_r(&date, &tm)) > TEXT_LENGTH) {
usr/src/lib/libc/inc/libc.h
150
extern char *__posix_asctime_r(const struct tm *, char *);
usr/src/lib/libc/inc/mse_int.h
36
extern size_t wcsftime(wchar_t *, size_t, const char *, const struct tm *);
usr/src/lib/libc/inc/mse_int.h
38
const struct tm *);
usr/src/lib/libc/port/gen/cftime.c
76
struct tm res;
usr/src/lib/libc/port/gen/cftime.c
77
struct tm *p;
usr/src/lib/libc/port/gen/cftime.c
89
ascftime(char *buf, const char *format, const struct tm *tm)
usr/src/lib/libc/port/gen/cftime.c
96
return ((int)strftime(buf, LONG_MAX, format, tm));
usr/src/lib/libc/port/gen/ctime.c
107
__posix_asctime_r(const struct tm *t, char *cbuf)
usr/src/lib/libc/port/gen/ctime.c
151
asctime_r(const struct tm *t, char *cbuf, int buflen)
usr/src/lib/libc/port/gen/ctime.c
164
struct tm *p;
usr/src/lib/libc/port/gen/ctime.c
175
asctime(const struct tm *t)
usr/src/lib/libc/port/gen/ctime_r.c
112
struct tm res;
usr/src/lib/libc/port/gen/ctime_r.c
94
struct tm res;
usr/src/lib/libc/port/gen/localtime.c
1197
static struct tm *
usr/src/lib/libc/port/gen/localtime.c
1198
offtime_u(time_t t, long offset, struct tm *tmptr)
usr/src/lib/libc/port/gen/localtime.c
1267
struct tm gmttm;
usr/src/lib/libc/port/gen/localtime.c
1689
struct tm tmp;
usr/src/lib/libc/port/gen/localtime.c
316
static struct tm tm; /* For non-reentrant use */
usr/src/lib/libc/port/gen/localtime.c
434
static struct tm *offtime_u(time_t, long, struct tm *);
usr/src/lib/libc/port/gen/localtime.c
484
struct tm *
usr/src/lib/libc/port/gen/localtime.c
485
gmtime_r(const time_t *timep, struct tm *p_tm)
usr/src/lib/libc/port/gen/localtime.c
502
struct tm *
usr/src/lib/libc/port/gen/localtime.c
505
struct tm *p_tm = tsdalloc(_T_STRUCT_TM, sizeof (struct tm), NULL);
usr/src/lib/libc/port/gen/localtime.c
508
p_tm = &tm; /* use static buffer and hope for the best */
usr/src/lib/libc/port/gen/localtime.c
625
struct tm *
usr/src/lib/libc/port/gen/localtime.c
626
localtime_r(const time_t *timep, struct tm *p_tm)
usr/src/lib/libc/port/gen/localtime.c
629
struct tm *rt;
usr/src/lib/libc/port/gen/localtime.c
668
struct tm *
usr/src/lib/libc/port/gen/localtime.c
671
struct tm *p_tm = tsdalloc(_T_STRUCT_TM, sizeof (struct tm), NULL);
usr/src/lib/libc/port/gen/localtime.c
674
p_tm = &tm; /* use static buffer and hope for the best */
usr/src/lib/libc/port/gen/localtime.c
684
mktime1(struct tm *tmptr, int usetz)
usr/src/lib/libc/port/gen/localtime.c
686
struct tm _tm;
usr/src/lib/libc/port/gen/localtime.c
837
mktime(struct tm *tmptr)
usr/src/lib/libc/port/gen/localtime.c
843
timegm(struct tm *tmptr)
usr/src/lib/libc/port/gen/mktemp.c
129
struct timeval tm;
usr/src/lib/libc/port/gen/mktemp.c
131
(void) gettimeofday(&tm, NULL);
usr/src/lib/libc/port/gen/mktemp.c
132
previous_try = (tm.tv_sec * 1000 + tm.tv_usec / 1000) & 0xfff;
usr/src/lib/libc/port/locale/getdate.c
196
struct tm tm;
usr/src/lib/libc/port/locale/getdate.c
198
(void) memset(&tm, 0, sizeof (struct tm));
usr/src/lib/libc/port/locale/getdate.c
199
tm.tm_year = rtm.tm_year;
usr/src/lib/libc/port/locale/getdate.c
200
tm.tm_mon = rtm.tm_mon;
usr/src/lib/libc/port/locale/getdate.c
201
tm.tm_mday = 1;
usr/src/lib/libc/port/locale/getdate.c
202
(void) mktime(&tm);
usr/src/lib/libc/port/locale/getdate.c
204
(rtm.tm_wday - tm.tm_wday + 7) % 7;
usr/src/lib/libc/port/locale/getdate.c
260
struct tm tm;
usr/src/lib/libc/port/locale/getdate.c
262
(void) memset(&tm, 0, sizeof (struct tm));
usr/src/lib/libc/port/locale/getdate.c
263
tm.tm_year = rtm.tm_year;
usr/src/lib/libc/port/locale/getdate.c
264
tm.tm_mon = rtm.tm_mon;
usr/src/lib/libc/port/locale/getdate.c
265
tm.tm_mday = 1;
usr/src/lib/libc/port/locale/getdate.c
266
(void) mktime(&tm);
usr/src/lib/libc/port/locale/getdate.c
267
rtm.tm_mday += (rtm.tm_wday - tm.tm_wday + 7) % 7;
usr/src/lib/libc/port/locale/getdate.c
64
struct tm *
usr/src/lib/libc/port/locale/getdate.c
70
static struct tm rtm, tmnow;
usr/src/lib/libc/port/locale/getdate.c
71
struct tm *tmp, *rtmp = &rtm;
usr/src/lib/libc/port/locale/strftime.c
107
const char *_RESTRICT_KYWD format, const struct tm *_RESTRICT_KYWD t)
usr/src/lib/libc/port/locale/strftime.c
113
_fmt(locale_t loc, const char *format, const struct tm *t, char *pt,
usr/src/lib/libc/port/locale/strftime.c
273
struct tm tm;
usr/src/lib/libc/port/locale/strftime.c
276
tm = *t;
usr/src/lib/libc/port/locale/strftime.c
277
(void) asprintf(&buf, "%ld", mktime(&tm));
usr/src/lib/libc/port/locale/strftime.c
33
static char *_fmt(locale_t, const char *, const struct tm *, char *,
usr/src/lib/libc/port/locale/strftime.c
91
const char *_RESTRICT_KYWD format, const struct tm *_RESTRICT_KYWD t,
usr/src/lib/libc/port/locale/strptime.c
115
tm->tm_year = i * 100 - 1900;
usr/src/lib/libc/port/locale/strptime.c
119
buf = __strptime(buf, tptr->c_fmt, tm, flagsp, loc);
usr/src/lib/libc/port/locale/strptime.c
125
buf = __strptime(buf, "%m/%d/%y", tm, flagsp, loc);
usr/src/lib/libc/port/locale/strptime.c
143
buf = __strptime(buf, "%Y-%m-%d", tm, flagsp, loc);
usr/src/lib/libc/port/locale/strptime.c
149
buf = __strptime(buf, "%H:%M", tm, flagsp, loc);
usr/src/lib/libc/port/locale/strptime.c
155
buf = __strptime(buf, tptr->ampm_fmt, tm, flagsp, loc);
usr/src/lib/libc/port/locale/strptime.c
161
buf = __strptime(buf, "%H:%M:%S", tm, flagsp, loc);
usr/src/lib/libc/port/locale/strptime.c
167
buf = __strptime(buf, tptr->X_fmt, tm, flagsp, loc);
usr/src/lib/libc/port/locale/strptime.c
173
buf = __strptime(buf, tptr->x_fmt, tm, flagsp, loc);
usr/src/lib/libc/port/locale/strptime.c
191
tm->tm_yday = i - 1;
usr/src/lib/libc/port/locale/strptime.c
212
tm->tm_min = i;
usr/src/lib/libc/port/locale/strptime.c
216
tm->tm_sec = i;
usr/src/lib/libc/port/locale/strptime.c
248
tm->tm_hour = i;
usr/src/lib/libc/port/locale/strptime.c
259
if (tm->tm_hour > 12)
usr/src/lib/libc/port/locale/strptime.c
261
if (tm->tm_hour == 12)
usr/src/lib/libc/port/locale/strptime.c
262
tm->tm_hour = 0;
usr/src/lib/libc/port/locale/strptime.c
269
if (tm->tm_hour > 12)
usr/src/lib/libc/port/locale/strptime.c
271
if (tm->tm_hour != 12)
usr/src/lib/libc/port/locale/strptime.c
272
tm->tm_hour += 12;
usr/src/lib/libc/port/locale/strptime.c
293
tm->tm_wday = i;
usr/src/lib/libc/port/locale/strptime.c
327
tm->tm_wday = i;
usr/src/lib/libc/port/locale/strptime.c
359
tm->tm_mday = i;
usr/src/lib/libc/port/locale/strptime.c
386
tm->tm_mon = i;
usr/src/lib/libc/port/locale/strptime.c
403
tm->tm_mon = i - 1;
usr/src/lib/libc/port/locale/strptime.c
422
(void) gmtime_r(&t, tm);
usr/src/lib/libc/port/locale/strptime.c
448
tm->tm_year = i;
usr/src/lib/libc/port/locale/strptime.c
467
tm->tm_isdst = 0;
usr/src/lib/libc/port/locale/strptime.c
469
tm->tm_isdst = 1;
usr/src/lib/libc/port/locale/strptime.c
498
tm->tm_hour -= sign * (i / 100);
usr/src/lib/libc/port/locale/strptime.c
499
tm->tm_min -= sign * (i % 100);
usr/src/lib/libc/port/locale/strptime.c
513
time_t t = timegm(tm);
usr/src/lib/libc/port/locale/strptime.c
514
(void) localtime_r(&t, tm);
usr/src/lib/libc/port/locale/strptime.c
523
struct tm *_RESTRICT_KYWD tm)
usr/src/lib/libc/port/locale/strptime.c
527
(void) memset(tm, 0, sizeof (*tm));
usr/src/lib/libc/port/locale/strptime.c
529
return (__strptime(buf, fmt, tm, &flags, uselocale(NULL)));
usr/src/lib/libc/port/locale/strptime.c
538
const char *_RESTRICT_KYWD fmt, struct tm *_RESTRICT_KYWD tm)
usr/src/lib/libc/port/locale/strptime.c
542
return (__strptime(buf, fmt, tm, &flags, uselocale(NULL)));
usr/src/lib/libc/port/locale/strptime.c
55
struct tm *_RESTRICT_KYWD tm, int *_RESTRICT_KYWD flagsp,
usr/src/lib/libc/port/locale/strptime.c
557
struct tm *_RESTRICT_KYWD tm, locale_t loc)
usr/src/lib/libc/port/locale/strptime.c
561
(void) memset(tm, 0, sizeof (*tm));
usr/src/lib/libc/port/locale/strptime.c
563
return (__strptime(buf, fmt, tm, &flags, loc));
usr/src/lib/libc/port/locale/strptime.c
96
buf = __strptime(buf, tptr->date_fmt, tm, flagsp, loc);
usr/src/lib/libc/port/locale/wcsftime.c
137
const struct tm *timeptr)
usr/src/lib/libc/port/locale/wcsftime.c
67
const struct tm *timeptr)
usr/src/lib/libc/port/locale/wcsftime.c
76
const struct tm *timeptr, locale_t loc)
usr/src/lib/libc/sparc/fp/_Q_add.c
51
unsigned int xm, ym, tm, fsr;
usr/src/lib/libc/sparc/fp/_Q_add.c
61
tm = xm;
usr/src/lib/libc/sparc/fp/_Q_add.c
63
ym = tm;
usr/src/lib/libc/sparc/fp/_Q_sub.c
51
unsigned int xm, ym, tm, fsr;
usr/src/lib/libc/sparc/fp/_Q_sub.c
62
tm = xm;
usr/src/lib/libc/sparc/fp/_Q_sub.c
64
ym = tm;
usr/src/lib/libcurses/screen/_timeout.c
47
timeout(int tm)
usr/src/lib/libcurses/screen/_timeout.c
49
wtimeout(stdscr, tm);
usr/src/lib/libcurses/screen/wtimeout.c
46
wtimeout(WINDOW *win, int tm)
usr/src/lib/libcurses/screen/wtimeout.c
48
win->_delay = tm;
usr/src/lib/libdevinfo/devfsmap.c
2144
struct tm t;
usr/src/lib/libdhcpagent/common/dhcpagent_util.c
213
time_t tm = abs_time;
usr/src/lib/libdhcpagent/common/dhcpagent_util.c
215
if (tm == DHCP_PERM)
usr/src/lib/libdhcpagent/common/dhcpagent_util.c
219
localtime(&tm)) == 0)
usr/src/lib/libdtrace/common/dt_printf.c
491
struct tm tm;
usr/src/lib/libdtrace/common/dt_printf.c
494
(void) localtime_r(&sec, &tm);
usr/src/lib/libdtrace/common/dt_printf.c
495
(void) strftime(buf, sizeof (buf), "%a, %d %b %G %T %Z", &tm);
usr/src/lib/libima/common/ima.h
211
typedef struct tm IMA_DATETIME;
usr/src/lib/libinstzones/common/zones.c
829
struct tm tstruct;
usr/src/lib/libipsecutil/common/ipsec_util.c
1958
struct tm res;
usr/src/lib/libkmf/libkmf/common/certgetsetop.c
1700
struct tm tm_tmp;
usr/src/lib/libkmf/libkmf/common/certgetsetop.c
1938
struct tm *gmt;
usr/src/lib/libkmf/libkmf/common/certop.c
2782
struct tm *gmt;
usr/src/lib/libkmf/plugins/kmf_pkcs11/common/pkcs11_spi.c
3168
struct tm tms;
usr/src/lib/libldap5/sources/ldap/common/tmplout.c
1004
if ((sec = tm -> tm_sec) < 0 || sec > 59
usr/src/lib/libldap5/sources/ldap/common/tmplout.c
1005
|| (mins = tm -> tm_min) < 0 || mins > 59
usr/src/lib/libldap5/sources/ldap/common/tmplout.c
1006
|| (hour = tm -> tm_hour) < 0 || hour > 24
usr/src/lib/libldap5/sources/ldap/common/tmplout.c
1007
|| (mday = tm -> tm_mday) < 1 || mday > 31
usr/src/lib/libldap5/sources/ldap/common/tmplout.c
1008
|| (mon = tm -> tm_mon + 1) < 1 || mon > 12)
usr/src/lib/libldap5/sources/ldap/common/tmplout.c
1014
year = YEAR (tm -> tm_year);
usr/src/lib/libldap5/sources/ldap/common/tmplout.c
64
static long gtime( struct tm *tm );
usr/src/lib/libldap5/sources/ldap/common/tmplout.c
907
struct tm t;
usr/src/lib/libldap5/sources/ldap/common/tmplout.c
917
memset( (char *)&t, 0, sizeof( struct tm ));
usr/src/lib/libldap5/sources/ldap/common/tmplout.c
993
static long gtime ( struct tm *tm )
usr/src/lib/libnisdb/db_mindex2.cc
300
table->mapping.objType = updateMappingObj(table->mapping.tm,
usr/src/lib/libnisdb/db_mindex2.cc
326
t = table->mapping.tm;
usr/src/lib/libnisdb/db_mindex2.cc
351
t = table->mapping.tm;
usr/src/lib/libnisdb/db_mindex2.cc
595
table->mapping.tm, &numAttrs);
usr/src/lib/libnisdb/db_mindex2.cc
838
NIL(table->mapping.tm->objName));
usr/src/lib/libnisdb/db_table.cc
268
if (m->tm != 0)
usr/src/lib/libnisdb/db_table.cc
269
free(m->tm);
usr/src/lib/libnisdb/db_table.cc
270
m->tm = 0;
usr/src/lib/libnisdb/db_table.cc
303
mapping.tm = 0;
usr/src/lib/libnisdb/db_table.cc
780
mapping.tm = (__nis_table_mapping_t *)__nis_find_item_mt(
usr/src/lib/libnisdb/db_table.cc
782
if (mapping.tm != 0) {
usr/src/lib/libnisdb/db_table.cc
783
__nis_object_dn_t *odn = mapping.tm->objectDN;
usr/src/lib/libnisdb/db_table.cc
800
mapping.initTtlLo = mapping.tm->initTtlLo;
usr/src/lib/libnisdb/db_table.cc
801
mapping.initTtlHi = mapping.tm->initTtlHi;
usr/src/lib/libnisdb/db_table.cc
802
mapping.ttl = mapping.tm->ttl;
usr/src/lib/libnisdb/db_table.cc
804
mapping.objName = sdup(myself, T, mapping.tm->objName);
usr/src/lib/libnisdb/db_table.cc
805
if (mapping.objName == 0 && mapping.tm->objName != 0) {
usr/src/lib/libnisdb/ldap_map.c
1072
myself, NIL(tm->objName), rnq, rnq != 1 ? "s" : "");
usr/src/lib/libnisdb/ldap_map.c
816
mapToLDAP(__nis_table_mapping_t *tm, int nq, db_query **old, db_query **new,
usr/src/lib/libnisdb/ldap_map.c
828
if (tm == 0 || (old == 0 && new == 0) || nq <= 0)
usr/src/lib/libnisdb/ldap_map.c
833
tp = selectTableMapping(tm,
usr/src/lib/libnisdb/ldap_map.c
838
tp = selectTableMapping(tm, 0, 1, 0, dbId, &maxMatches);
usr/src/lib/libnisdb/ldap_map.c
880
myself, NIL(tm->objName), nq, maxMatches);
usr/src/lib/libnisdb/ldap_map.c
898
tp = selectTableMapping(tm,
usr/src/lib/libnisdb/ldap_map.c
999
myself, NIL(tm->objName), rnq, rnq != 1 ? "s" : "");
usr/src/lib/libnisdb/nisdb_ldap.h
151
__nis_table_mapping_t *tm;
usr/src/lib/libnsl/dial/conn.c
836
struct tm *tp;
usr/src/lib/libpkg/common/tputcfent.c
50
struct tm *timep;
usr/src/lib/libresolv2/common/isc/logging.c
274
struct tm *local_tm;
usr/src/lib/libresolv2/common/isc/logging.c
276
struct tm tm_tmp;
usr/src/lib/libresolv2/common/nameser/ns_date.c
50
struct tm time;
usr/src/lib/libresolv2/common/resolv/res_debug.c
1185
struct tm *time;
usr/src/lib/libresolv2/common/resolv/res_debug.c
1187
struct tm res;
usr/src/lib/libshare/common/libshare_impl.h
179
#define TSTAMP(tm) (uint64_t)(((uint64_t)tm.tv_sec << 32) | \
usr/src/lib/libshare/common/libshare_impl.h
180
(tm.tv_nsec & 0xffffffff))
usr/src/lib/libsip/common/sip_logging.c
268
struct tm tms;
usr/src/lib/libsip/common/sip_logging.c
320
struct tm tms;
usr/src/lib/libsldap/common/ns_config.c
1108
time_t tm;
usr/src/lib/libsldap/common/ns_config.c
1216
tm = conv_time(
usr/src/lib/libsldap/common/ns_config.c
1219
if (tm != 0) {
usr/src/lib/libsldap/common/ns_config.c
1220
tm += time(NULL);
usr/src/lib/libsldap/common/ns_config.c
1222
ptr->paramList[NS_LDAP_EXP_P].ns_tm = tm;
usr/src/lib/libsldap/common/ns_config.c
1645
time_t tm;
usr/src/lib/libsldap/common/ns_config.c
2674
tm = conv_time(cp);
usr/src/lib/libsldap/common/ns_config.c
2676
if (tm != 0) {
usr/src/lib/libsldap/common/ns_config.c
2677
tm += time(NULL);
usr/src/lib/libsldap/common/ns_config.c
2679
ptr->paramList[NS_LDAP_EXP_P].ns_tm = tm;
usr/src/lib/libsldap/common/ns_internal.h
415
time_t tm;
usr/src/lib/libsldap/common/ns_internal.h
423
#define ns_tm ns_pu.tm
usr/src/lib/libsqlite/src/date.c
400
struct tm *pTm;
usr/src/lib/libtecla/common/history.c
1118
struct tm *t; /* THe broken-down calendar time */
usr/src/lib/libtecla/common/history.c
1311
struct tm t;
usr/src/lib/libtecla/common/history.c
1531
struct tm *t = NULL; /* The broken time version of the timestamp */
usr/src/lib/libvolmgt/common/volprivate.c
185
struct tm *tm;
usr/src/lib/libvolmgt/common/volprivate.c
189
tm = localtime(&t);
usr/src/lib/libvolmgt/common/volprivate.c
191
tm->tm_mon+1, tm->tm_mday, tm->tm_year % 100,
usr/src/lib/libvolmgt/common/volprivate.c
192
tm->tm_hour, tm->tm_min, tm->tm_sec);
usr/src/lib/libxcurses/src/libc/xcurses/setup.c
399
restartterm(tm, fd, err_return)
usr/src/lib/libxcurses/src/libc/xcurses/setup.c
400
const char *tm;
usr/src/lib/libxcurses/src/libc/xcurses/setup.c
411
__m_trace("restartterm(%s, %d, %p)", tm ? tm : "NULL", fd, err_return);
usr/src/lib/libxcurses/src/libc/xcurses/setup.c
433
if (tm == (char *) 0 && (tm = getenv("TERM")) == (char *) 0)
usr/src/lib/libxcurses/src/libc/xcurses/setup.c
434
tm = def_termname;
usr/src/lib/libxcurses/src/libc/xcurses/setup.c
437
cur_term->_term = m_strdup(tm);
usr/src/lib/libxcurses/src/libc/xcurses/setup.c
440
len = strlen(terminfo) + 3 + strlen(tm);
usr/src/lib/libxcurses/src/libc/xcurses/setup.c
450
(void) sprintf(filename, "%s/%c/%s", terminfo, tolower(tm[0]), tm);
usr/src/lib/libxcurses/src/libc/xcurses/setup.c
455
len = strlen(def_terminfo) + 3 + strlen(tm);
usr/src/lib/libxcurses/src/libc/xcurses/setup.c
463
(void) sprintf(filename, "%s/%c/%s", def_terminfo, tm[0], tm);
usr/src/lib/libxcurses/src/libc/xcurses/setup.c
540
__m_trace(err_msg, tm);
usr/src/lib/libxcurses/src/libc/xcurses/setup.c
542
fprintf(stderr, err_msg, tm);
usr/src/lib/libxcurses2/src/libc/xcurses/setup.c
423
restartterm(char *tm, int fd, int *err_return)
usr/src/lib/libxcurses2/src/libc/xcurses/setup.c
451
if ((tm == NULL) &&
usr/src/lib/libxcurses2/src/libc/xcurses/setup.c
452
(((tm = getenv("TERM")) == NULL) || (*tm == '\0'))) {
usr/src/lib/libxcurses2/src/libc/xcurses/setup.c
453
tm = (char *)def_termname;
usr/src/lib/libxcurses2/src/libc/xcurses/setup.c
457
cur_term->_term = strdup(tm);
usr/src/lib/libxcurses2/src/libc/xcurses/setup.c
465
len = strlen(terminfo) + 3 + strlen(tm);
usr/src/lib/libxcurses2/src/libc/xcurses/setup.c
475
(void) sprintf(filename, "%s/%c/%s", terminfo, tm[0], tm);
usr/src/lib/libxcurses2/src/libc/xcurses/setup.c
480
len = strlen(def_terminfo) + 3 + strlen(tm);
usr/src/lib/libxcurses2/src/libc/xcurses/setup.c
488
(void) sprintf(filename, "%s/%c/%s", def_terminfo, tm[0], tm);
usr/src/lib/libxcurses2/src/libc/xcurses/setup.c
558
(void) fprintf(stderr, err_msg, tm);
usr/src/lib/libzfs/common/libzfs_dataset.c
2639
struct tm t;
usr/src/lib/libzfs/common/libzfs_pool.c
1602
struct tm t;
usr/src/lib/libzfs/common/libzfs_pool.c
1654
struct tm t;
usr/src/lib/libzfs/common/libzfs_sendrecv.c
1210
struct tm *tm;
usr/src/lib/libzfs/common/libzfs_sendrecv.c
1228
tm = localtime(&t);
usr/src/lib/libzfs/common/libzfs_sendrecv.c
1233
tm->tm_hour, tm->tm_min, tm->tm_sec,
usr/src/lib/libzfs/common/libzfs_sendrecv.c
1238
tm->tm_hour, tm->tm_min, tm->tm_sec,
usr/src/lib/print/libhttp-core/common/http.c
1496
struct tm *tdate;
usr/src/lib/print/libhttp-core/common/http.c
1517
struct tm tdate; /* Time/date structure */
usr/src/lib/print/libipp-core/common/read.c
423
struct tm tm;
usr/src/lib/print/libipp-core/common/read.c
428
(void) memset(&tm, 0, sizeof (tm));
usr/src/lib/print/libipp-core/common/read.c
434
tm.tm_year = (uint16_t)ntohs(s) - 1900;
usr/src/lib/print/libipp-core/common/read.c
440
tm.tm_mon = c - 1;
usr/src/lib/print/libipp-core/common/read.c
446
tm.tm_mday = c;
usr/src/lib/print/libipp-core/common/read.c
452
tm.tm_hour = c;
usr/src/lib/print/libipp-core/common/read.c
458
tm.tm_min = c;
usr/src/lib/print/libipp-core/common/read.c
464
tm.tm_sec = c;
usr/src/lib/print/libipp-core/common/read.c
490
v = mktime(&tm);
usr/src/lib/print/libipp-core/common/write.c
260
struct tm *v = gmtime(&value->datetime);
usr/src/lib/print/libpapi-common/common/attribute.c
948
struct tm *tm = localtime(&values[i]->datetime);
usr/src/lib/print/libpapi-common/common/attribute.c
950
if (tm != NULL) {
usr/src/lib/print/libpapi-common/common/attribute.c
953
strftime(string, sizeof (string), "%c", tm);
usr/src/lib/smbsrv/libmlsvc/common/eventlog_log.c
111
struct tm tm, cur_tm;
usr/src/lib/smbsrv/libmlsvc/common/eventlog_log.c
114
bzero(&tm, sizeof (tm));
usr/src/lib/smbsrv/libmlsvc/common/eventlog_log.c
116
if (strptime(buf, "%b" "%d" "%H:%M:%S", &tm) == NULL) {
usr/src/lib/smbsrv/libmlsvc/common/eventlog_log.c
124
tm.tm_isdst = cur_tm.tm_isdst;
usr/src/lib/smbsrv/libmlsvc/common/eventlog_log.c
125
tm.tm_year = cur_tm.tm_year;
usr/src/lib/smbsrv/libmlsvc/common/eventlog_log.c
126
if (tm.tm_mon > cur_tm.tm_mon)
usr/src/lib/smbsrv/libmlsvc/common/eventlog_log.c
127
tm.tm_year--;
usr/src/lib/smbsrv/libmlsvc/common/eventlog_log.c
129
le->le_timestamp.tv_sec = mktime(&tm);
usr/src/lib/smbsrv/libmlsvc/common/libmlsvc.h
169
int srvsvc_net_remote_tod(char *, char *, struct timeval *, struct tm *);
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
361
struct tm dc_tm;
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
362
struct tm *tm;
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
387
tm = gmtime(&dc_tv.tv_sec);
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
388
syslog(priority, "%-8s UTC: %s", server, asctime(tm));
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
389
tm = gmtime(&tnow);
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
390
syslog(priority, "%-8s UTC: %s", hostname, asctime(tm));
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
402
struct tm tm;
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
409
&tv, &tm) != 0)
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
416
(void) localtime_r(&tsecs, &tm);
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
428
struct tm tm;
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
434
&tv, &tm) != 0)
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
471
struct tm *tm)
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
516
if (tm) {
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
517
tm->tm_sec = tod->tod_secs;
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
518
tm->tm_min = tod->tod_mins;
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
519
tm->tm_hour = tod->tod_hours;
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
520
tm->tm_mday = tod->tod_day;
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
521
tm->tm_mon = tod->tod_month - 1;
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
522
tm->tm_year = tod->tod_year - 1900;
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_clnt.c
523
tm->tm_wday = tod->tod_weekday;
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_svc.c
1853
struct tm tm;
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_svc.c
1858
(void) gmtime_r(&time_val.tv_sec, &tm);
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_svc.c
1870
tod->tod_hours = tm.tm_hour;
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_svc.c
1871
tod->tod_mins = tm.tm_min;
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_svc.c
1872
tod->tod_secs = tm.tm_sec;
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_svc.c
1875
tod->tod_day = tm.tm_mday;
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_svc.c
1876
tod->tod_month = tm.tm_mon+1;
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_svc.c
1877
tod->tod_year = tm.tm_year+1900;
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_svc.c
1878
tod->tod_weekday = tm.tm_wday;
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_svc.c
1880
(void) localtime_r(&time_val.tv_sec, &tm);
usr/src/lib/smbsrv/libmlsvc/common/srvsvc_svc.c
1881
gmtoff = (tm.tm_isdst) ? altzone : timezone;
usr/src/lib/smhba/common/SMHBAAPILIB.c
1622
memset(&attributes->build_date, 0, sizeof (struct tm));
usr/src/lib/smhba/common/SMHBAAPILIB.c
1630
(void) memset(&attributes->build_date, 0, sizeof (struct tm));
usr/src/lib/smhba/common/SMHBAAPILIB.c
1634
(void) memset(&attributes->build_date, 0, sizeof (struct tm));
usr/src/lib/smhba/common/SMHBAAPILIB.c
3481
struct tm tp;
usr/src/lib/storage/libg_fc/common/cmd.c
73
struct tm *tmbuf = NULL;
usr/src/stand/lib/sa/time.c
145
struct tm *
usr/src/stand/lib/sa/time.c
164
asctime(const struct tm *t)
usr/src/stand/lib/sa/time.c
89
struct tm *
usr/src/stand/lib/sa/time.c
92
static struct tm result;
usr/src/stand/lib/sa/time.c
93
struct tm *tmp;
usr/src/stand/lib/sa/time.h
57
extern struct tm *gmtime(const time_t *);
usr/src/stand/lib/sa/time.h
58
extern struct tm *localtime(const time_t *);
usr/src/test/libc-tests/tests/ascftime.c
57
struct tm t;
usr/src/test/libc-tests/tests/wcsftime.c
47
struct tm sample_tm = { .tm_mon = 11 };
usr/src/test/libc-tests/tests/wcsftime_old.c
56
struct tm sample_tm = { .tm_mon = 11, .tm_wday = 1 };
usr/src/test/os-tests/tests/ddi_ufm/ufm-test.c
94
struct tm *p_tm;
usr/src/test/os-tests/tests/libtopo/digraph-test.c
52
struct tm *p_tm;
usr/src/ucbcmd/shutdown/shutdown.c
472
struct tm *lt;
usr/src/ucbcmd/shutdown/shutdown.c
94
extern struct tm *localtime();
usr/src/ucbcmd/touch/touch.c
116
struct tm *tp;
usr/src/ucbcmd/touch/touch.c
67
struct tm *
usr/src/ucbcmd/touch/touch.c
70
static struct tm newtime;
usr/src/uts/common/fs/nfs/nfs4_srv_attr.c
2799
settime4 *tm;
usr/src/uts/common/fs/nfs/nfs4_srv_attr.c
2822
tm = &na->time_modify_set;
usr/src/uts/common/fs/nfs/nfs4_srv_attr.c
2823
if (tm->set_it == SET_TO_CLIENT_TIME4) {
usr/src/uts/common/fs/nfs/nfs4_srv_attr.c
2824
error = nfs4_time_ntov(&tm->time, &sarg->vap->va_mtime);
usr/src/uts/common/fs/nfs/nfs4_srv_attr.c
2826
} else if (tm->set_it == SET_TO_SERVER_TIME4) {
usr/src/uts/common/fs/smbclnt/netsmb/smb_trantcp.c
131
tm = NULL;
usr/src/uts/common/fs/smbclnt/netsmb/smb_trantcp.c
132
error = tli_recv(nbp->nbp_tiptr, &tm, fmode);
usr/src/uts/common/fs/smbclnt/netsmb/smb_trantcp.c
142
switch (tm->b_datap->db_type) {
usr/src/uts/common/fs/smbclnt/netsmb/smb_trantcp.c
148
pptr = (union T_primitives *)tm->b_rptr;
usr/src/uts/common/fs/smbclnt/netsmb/smb_trantcp.c
152
im = tm->b_cont;
usr/src/uts/common/fs/smbclnt/netsmb/smb_trantcp.c
153
tm->b_cont = NULL;
usr/src/uts/common/fs/smbclnt/netsmb/smb_trantcp.c
154
freeb(tm);
usr/src/uts/common/fs/smbclnt/netsmb/smb_trantcp.c
155
tm = im;
usr/src/uts/common/fs/smbclnt/netsmb/smb_trantcp.c
184
tm->b_datap->db_type);
usr/src/uts/common/fs/smbclnt/netsmb/smb_trantcp.c
195
freemsg(tm);
usr/src/uts/common/fs/smbclnt/netsmb/smb_trantcp.c
204
if (!tm)
usr/src/uts/common/fs/smbclnt/netsmb/smb_trantcp.c
207
*mpp = tm;
usr/src/uts/common/fs/smbclnt/netsmb/smb_trantcp.c
212
im->b_cont = tm;
usr/src/uts/common/fs/smbclnt/netsmb/smb_trantcp.c
214
dlen += msgdsize(tm);
usr/src/uts/common/fs/smbclnt/netsmb/smb_trantcp.c
90
mblk_t *im, *tm;
usr/src/uts/common/fs/smbclnt/smbfs/smbfs_smb.c
236
uint64_t tm;
usr/src/uts/common/fs/smbclnt/smbfs/smbfs_smb.c
251
smb_time_local2NT(atime, &tm);
usr/src/uts/common/fs/smbclnt/smbfs/smbfs_smb.c
252
if (tm != 0 && (ssp->ss_flags & SMBS_FST_FAT) &&
usr/src/uts/common/fs/smbclnt/smbfs/smbfs_smb.c
253
tm < NT1980)
usr/src/uts/common/fs/smbclnt/smbfs/smbfs_smb.c
254
tm = NT1980;
usr/src/uts/common/fs/smbclnt/smbfs/smbfs_smb.c
256
tm = 0;
usr/src/uts/common/fs/smbclnt/smbfs/smbfs_smb.c
257
mb_put_uint64le(mbp, tm); /* last access time */
usr/src/uts/common/fs/smbclnt/smbfs/smbfs_smb.c
259
smb_time_local2NT(mtime, &tm);
usr/src/uts/common/fs/smbclnt/smbfs/smbfs_smb.c
260
if (tm != 0 && (ssp->ss_flags & SMBS_FST_FAT) &&
usr/src/uts/common/fs/smbclnt/smbfs/smbfs_smb.c
261
tm < NT1980)
usr/src/uts/common/fs/smbclnt/smbfs/smbfs_smb.c
262
tm = NT1980;
usr/src/uts/common/fs/smbclnt/smbfs/smbfs_smb.c
264
tm = 0;
usr/src/uts/common/fs/smbclnt/smbfs/smbfs_smb.c
265
mb_put_uint64le(mbp, tm); /* last write time */
usr/src/uts/common/fs/smbsrv/smb_kutil.c
1203
struct tm atm;
usr/src/uts/common/fs/smbsrv/smb_kutil.c
1223
struct tm atm;
usr/src/uts/common/fs/smbsrv/smb_kutil.c
1271
struct tm *
usr/src/uts/common/fs/smbsrv/smb_kutil.c
1272
smb_gmtime_r(time_t *clock, struct tm *result)
usr/src/uts/common/fs/smbsrv/smb_kutil.c
1282
bzero(result, sizeof (struct tm));
usr/src/uts/common/fs/smbsrv/smb_kutil.c
1343
smb_timegm(struct tm *tm)
usr/src/uts/common/fs/smbsrv/smb_kutil.c
1351
if (tm == 0)
usr/src/uts/common/fs/smbsrv/smb_kutil.c
1354
year = tm->tm_year + TM_YEAR_BASE;
usr/src/uts/common/fs/smbsrv/smb_kutil.c
1364
for (mm = TM_JANUARY; mm < tm->tm_mon; ++mm) {
usr/src/uts/common/fs/smbsrv/smb_kutil.c
1373
tsec += (tm->tm_mday - 1) * SECSPERDAY;
usr/src/uts/common/fs/smbsrv/smb_kutil.c
1374
tsec += tm->tm_sec;
usr/src/uts/common/fs/smbsrv/smb_kutil.c
1375
tsec += tm->tm_min * SECSPERMIN;
usr/src/uts/common/fs/smbsrv/smb_kutil.c
1376
tsec += tm->tm_hour * SECSPERHOUR;
usr/src/uts/common/fs/smbsrv/smb_kutil.c
1378
tm->tm_isdst = 0;
usr/src/uts/common/fs/smbsrv/smb_kutil.c
1379
(void) smb_gmtime_r(&tsec, tm);
usr/src/uts/common/fs/smbsrv/smb_kutil.c
54
struct tm
usr/src/uts/common/fs/smbsrv/smb_kutil.c
55
*smb_gmtime_r(time_t *clock, struct tm *result);
usr/src/uts/common/fs/smbsrv/smb_kutil.c
58
smb_timegm(struct tm *tm);
usr/src/uts/common/fs/tmpfs/tmp_dir.c
1073
struct tmount *tm,
usr/src/uts/common/fs/tmpfs/tmp_dir.c
1089
tmpnode_init(tm, tp, va, cred);
usr/src/uts/common/fs/tmpfs/tmp_dir.c
235
struct tmount *tm,
usr/src/uts/common/fs/tmpfs/tmp_dir.c
437
error = tdirmaketnode(dir, tm, va, op, &tp, cred);
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
109
struct tmount *tm,
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
116
anon_unresv_zone(delta, tm->tm_vfsp->vfs_zone);
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
118
mutex_enter(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
119
tm->tm_anonmem -= btopr(delta);
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
120
mutex_exit(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
160
tmpnode_init(struct tmount *tm, struct tmpnode *t, vattr_t *vap, cred_t *cred)
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
184
t->tn_fsid = tm->tm_dev;
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
198
vp->v_vfsp = tm->tm_vfsp;
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
202
mutex_enter(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
209
t->tn_gen = tm->tm_gen++;
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
215
if (tm->tm_rootnode != (struct tmpnode *)NULL) {
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
217
t->tn_back = tm->tm_rootnode->tn_back;
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
218
t->tn_back->tn_forw = tm->tm_rootnode->tn_back = t;
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
220
mutex_exit(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
229
struct tmount *tm,
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
271
if (tmp_resv(tm, tp, delta,
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
290
tmp_unresv(tm, tp, delta);
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
61
struct tmount *tm,
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
80
zone = tm->tm_vfsp->vfs_zone;
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
81
if (pagecreate && ((tm->tm_anonmem + pages > tm->tm_anonmax) ||
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
91
mutex_enter(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
92
tm->tm_anonmem += pages;
usr/src/uts/common/fs/tmpfs/tmp_tnode.c
93
mutex_exit(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
234
struct tmount *tm = NULL;
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
301
tm = (struct tmount *)VFSTOTM(vfsp);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
309
mutex_enter(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
310
tm->tm_anonmax = anonmax;
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
311
mutex_exit(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
315
if ((tm = tmp_memalloc(sizeof (struct tmount), 0)) == NULL) {
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
327
tm->tm_dev = makedevice(tmpfs_major, tmpfs_minor);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
328
} while (vfs_devismounted(tm->tm_dev));
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
335
mutex_init(&tm->tm_contents, NULL, MUTEX_DEFAULT, NULL);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
336
mutex_init(&tm->tm_renamelck, NULL, MUTEX_DEFAULT, NULL);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
338
tm->tm_vfsp = vfsp;
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
339
tm->tm_anonmax = anonmax;
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
341
vfsp->vfs_data = (caddr_t)tm;
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
343
vfsp->vfs_dev = tm->tm_dev;
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
346
vfs_make_fsid(&vfsp->vfs_fsid, tm->tm_dev, tmpfsfstype);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
347
tm->tm_mntpath = tmp_memalloc(dpn.pn_pathlen + 1, TMP_MUSTHAVE);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
348
(void) strcpy(tm->tm_mntpath, dpn.pn_path);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
358
tmpnode_init(tm, tp, &rattr, cr);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
394
tm->tm_rootnode = tp;
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
413
struct tmount *tm = (struct tmount *)VFSTOTM(vfsp);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
428
mutex_enter(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
439
tnp = tm->tm_rootnode;
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
441
mutex_exit(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
447
cancel = tm->tm_rootnode->tn_forw;
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
454
mutex_exit(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
463
mutex_exit(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
476
for (tnp = tm->tm_rootnode; tnp; tnp = tnp->tn_forw) {
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
490
ASSERT(tm->tm_rootnode);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
503
mutex_enter(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
507
while ((tnp = tm->tm_rootnode->tn_back) != tm->tm_rootnode) {
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
508
mutex_exit(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
519
mutex_enter(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
525
if (tnp == tm->tm_rootnode->tn_back) {
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
527
mutex_exit(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
529
mutex_enter(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
532
mutex_exit(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
534
tm->tm_rootnode->tn_xattrdp = NULL;
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
535
VN_RELE(TNTOV(tm->tm_rootnode));
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
537
ASSERT(tm->tm_mntpath);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
539
tmp_memfree(tm->tm_mntpath, strlen(tm->tm_mntpath) + 1);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
541
ASSERT(tm->tm_anonmem == 0);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
543
mutex_destroy(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
544
mutex_destroy(&tm->tm_renamelck);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
545
tmp_memfree(tm, sizeof (struct tmount));
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
556
struct tmount *tm = (struct tmount *)VFSTOTM(vfsp);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
557
struct tmpnode *tp = tm->tm_rootnode;
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
571
struct tmount *tm = (struct tmount *)VFSTOTM(vfsp);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
587
zp = tm->tm_vfsp->vfs_zone;
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
611
tm->tm_anonmax - tm->tm_anonmem);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
620
sbp->f_blocks = (fsblkcnt64_t)(sbp->f_bfree + tm->tm_anonmem);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
662
(void) strncpy(sbp->f_fstr, tm->tm_mntpath, sizeof (sbp->f_fstr));
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
676
struct tmount *tm = (struct tmount *)VFSTOTM(vfsp);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
682
mutex_enter(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
683
for (tp = tm->tm_rootnode; tp; tp = tp->tn_forw) {
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
693
mutex_exit(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
707
mutex_exit(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
712
mutex_exit(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
1019
(void) tmpnode_trunc(tm, oldtp, 0);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
1046
error = tdirenter(tm, parent, nm, DE_CREATE,
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
113
struct tmount *tm,
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
1132
struct tmount *tm = (struct tmount *)VTOTM(dvp);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
1165
error = tdirenter(tm, parent, tnm, DE_LINK, (struct tmpnode *)NULL,
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
1189
struct tmount *tm = (struct tmount *)VTOTM(odvp);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
1203
mutex_enter(&tm->tm_renamelck);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
1210
mutex_exit(&tm->tm_renamelck);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
1263
error = tdirenter(tm, toparent, nnm, DE_RENAME,
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
1313
mutex_exit(&tm->tm_renamelck);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
1335
struct tmount *tm = (struct tmount *)VTOTM(dvp);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
1360
error = tdirenter(tm, parent, nm, DE_MKDIR, (struct tmpnode *)NULL,
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
1580
struct tmount *tm = (struct tmount *)VTOTM(dvp);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
1605
error = tdirenter(tm, parent, lnm, DE_CREATE, (struct tmpnode *)NULL,
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
1667
struct tmount *tm = (struct tmount *)VFSTOTM(vp->v_vfsp);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
1701
(void) tmpnode_trunc(tm, tp, 0);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
1731
mutex_enter(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
1733
tm->tm_rootnode->tn_back = tp->tn_back;
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
1737
mutex_exit(&tm->tm_contents);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
223
if (tmp_resv(tm, tp, delta, pagecreate)) {
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
229
zcmn_err(tm->tm_vfsp->vfs_zone->zone_id,
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
232
tm->tm_mntpath);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
234
if (tm->tm_vfsp->vfs_zone->zone_id !=
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
237
vfs_t *vfs = tm->tm_vfsp;
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
406
(void) tmpnode_trunc(tm, tp,
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
450
struct tmount *tm,
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
464
tm = tm;
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
586
struct tmount *tm = (struct tmount *)VTOTM(vp);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
603
error = rdtmp(tm, tp, uiop, ct);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
615
struct tmount *tm = (struct tmount *)VTOTM(vp);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
638
error = wrtmp(tm, tp, uiop, cred, ct);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
731
struct tmount *tm = (struct tmount *)VTOTM(vp);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
787
error = tmpnode_trunc(tm, tp, (ulong_t)vap->va_size);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
842
struct tmount *tm;
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
878
tm = VTOTM(dvp);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
879
tmpnode_init(tm, xdp, &tp->tn_attr, NULL);
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
954
struct tmount *tm;
usr/src/uts/common/fs/tmpfs/tmp_vnops.c
961
tm = (struct tmount *)VTOTM(dvp);
usr/src/uts/common/fs/zfs/lua/ldebug.c
460
TMS tm;
usr/src/uts/common/fs/zfs/lua/ldebug.c
475
case OP_GETTABLE: tm = TM_INDEX; break;
usr/src/uts/common/fs/zfs/lua/ldebug.c
477
case OP_SETTABLE: tm = TM_NEWINDEX; break;
usr/src/uts/common/fs/zfs/lua/ldebug.c
478
case OP_EQ: tm = TM_EQ; break;
usr/src/uts/common/fs/zfs/lua/ldebug.c
479
case OP_ADD: tm = TM_ADD; break;
usr/src/uts/common/fs/zfs/lua/ldebug.c
480
case OP_SUB: tm = TM_SUB; break;
usr/src/uts/common/fs/zfs/lua/ldebug.c
481
case OP_MUL: tm = TM_MUL; break;
usr/src/uts/common/fs/zfs/lua/ldebug.c
482
case OP_DIV: tm = TM_DIV; break;
usr/src/uts/common/fs/zfs/lua/ldebug.c
483
case OP_MOD: tm = TM_MOD; break;
usr/src/uts/common/fs/zfs/lua/ldebug.c
484
case OP_POW: tm = TM_POW; break;
usr/src/uts/common/fs/zfs/lua/ldebug.c
485
case OP_UNM: tm = TM_UNM; break;
usr/src/uts/common/fs/zfs/lua/ldebug.c
486
case OP_LEN: tm = TM_LEN; break;
usr/src/uts/common/fs/zfs/lua/ldebug.c
487
case OP_LT: tm = TM_LT; break;
usr/src/uts/common/fs/zfs/lua/ldebug.c
488
case OP_LE: tm = TM_LE; break;
usr/src/uts/common/fs/zfs/lua/ldebug.c
489
case OP_CONCAT: tm = TM_CONCAT; break;
usr/src/uts/common/fs/zfs/lua/ldebug.c
493
*name = getstr(G(L)->tmname[tm]);
usr/src/uts/common/fs/zfs/lua/ldo.c
279
const TValue *tm = luaT_gettmbyobj(L, func, TM_CALL);
usr/src/uts/common/fs/zfs/lua/ldo.c
282
if (!ttisfunction(tm))
usr/src/uts/common/fs/zfs/lua/ldo.c
288
setobj2s(L, func, tm); /* tag method is the new function to be called */
usr/src/uts/common/fs/zfs/lua/lgc.c
811
const TValue *tm;
usr/src/uts/common/fs/zfs/lua/lgc.c
814
tm = luaT_gettmbyobj(L, &v, TM_GC);
usr/src/uts/common/fs/zfs/lua/lgc.c
815
if (tm != NULL && ttisfunction(tm)) { /* is there a finalizer? */
usr/src/uts/common/fs/zfs/lua/lgc.c
821
setobj2s(L, L->top, tm); /* push finalizer... */
usr/src/uts/common/fs/zfs/lua/ltm.c
53
const TValue *tm = luaH_getstr(events, ename);
usr/src/uts/common/fs/zfs/lua/ltm.c
55
if (ttisnil(tm)) { /* no tag method? */
usr/src/uts/common/fs/zfs/lua/ltm.c
59
else return tm;
usr/src/uts/common/fs/zfs/lua/lvm.c
113
const TValue *tm;
usr/src/uts/common/fs/zfs/lua/lvm.c
118
(tm = fasttm(L, h->metatable, TM_INDEX)) == NULL) { /* or no TM? */
usr/src/uts/common/fs/zfs/lua/lvm.c
124
else if (ttisnil(tm = luaT_gettmbyobj(L, t, TM_INDEX)))
usr/src/uts/common/fs/zfs/lua/lvm.c
126
if (ttisfunction(tm)) {
usr/src/uts/common/fs/zfs/lua/lvm.c
127
callTM(L, tm, t, key, val, 1);
usr/src/uts/common/fs/zfs/lua/lvm.c
130
t = tm; /* else repeat with 'tm' */
usr/src/uts/common/fs/zfs/lua/lvm.c
139
const TValue *tm;
usr/src/uts/common/fs/zfs/lua/lvm.c
147
((tm = fasttm(L, h->metatable, TM_NEWINDEX)) == NULL &&
usr/src/uts/common/fs/zfs/lua/lvm.c
162
if (ttisnil(tm = luaT_gettmbyobj(L, t, TM_NEWINDEX)))
usr/src/uts/common/fs/zfs/lua/lvm.c
165
if (ttisfunction(tm)) {
usr/src/uts/common/fs/zfs/lua/lvm.c
166
callTM(L, tm, t, key, val, 0);
usr/src/uts/common/fs/zfs/lua/lvm.c
169
t = tm; /* else repeat with 'tm' */
usr/src/uts/common/fs/zfs/lua/lvm.c
177
const TValue *tm = luaT_gettmbyobj(L, p1, event); /* try first operand */
usr/src/uts/common/fs/zfs/lua/lvm.c
178
if (ttisnil(tm))
usr/src/uts/common/fs/zfs/lua/lvm.c
179
tm = luaT_gettmbyobj(L, p2, event); /* try second operand */
usr/src/uts/common/fs/zfs/lua/lvm.c
180
if (ttisnil(tm)) return 0;
usr/src/uts/common/fs/zfs/lua/lvm.c
181
callTM(L, tm, p1, p2, res, 1);
usr/src/uts/common/fs/zfs/lua/lvm.c
261
const TValue *tm;
usr/src/uts/common/fs/zfs/lua/lvm.c
274
tm = get_equalTM(L, uvalue(t1)->metatable, uvalue(t2)->metatable, TM_EQ);
usr/src/uts/common/fs/zfs/lua/lvm.c
280
tm = get_equalTM(L, hvalue(t1)->metatable, hvalue(t2)->metatable, TM_EQ);
usr/src/uts/common/fs/zfs/lua/lvm.c
287
if (tm == NULL) return 0; /* no TM? */
usr/src/uts/common/fs/zfs/lua/lvm.c
288
callTM(L, tm, t1, t2, L->top, 1); /* call TM */
usr/src/uts/common/fs/zfs/lua/lvm.c
336
const TValue *tm;
usr/src/uts/common/fs/zfs/lua/lvm.c
340
tm = fasttm(L, h->metatable, TM_LEN);
usr/src/uts/common/fs/zfs/lua/lvm.c
341
if (tm) break; /* metamethod? break switch to call it */
usr/src/uts/common/fs/zfs/lua/lvm.c
350
tm = luaT_gettmbyobj(L, rb, TM_LEN);
usr/src/uts/common/fs/zfs/lua/lvm.c
351
if (ttisnil(tm)) /* no metamethod? */
usr/src/uts/common/fs/zfs/lua/lvm.c
356
callTM(L, tm, rb, rb, ra, 1);
usr/src/uts/common/fs/zfs/lua/lvm.c
580
#define arith_op(op,tm) { \
usr/src/uts/common/fs/zfs/lua/lvm.c
587
else { Protect(luaV_arith(L, ra, rb, rc, tm)); } }
usr/src/uts/common/gssapi/mechs/krb5/include/k5-int.h
1012
time_t krb5int_gmt_mktime (struct tm *);
usr/src/uts/common/inet/ilb/ilb_conn.c
1372
ilb_timer_t *tm;
usr/src/uts/common/inet/ilb/ilb_conn.c
1407
tm = ilbs->ilbs_sticky_timer_list + i;
usr/src/uts/common/inet/ilb/ilb_conn.c
1408
tm->start = i * part;
usr/src/uts/common/inet/ilb/ilb_conn.c
1409
tm->end = i * part + part;
usr/src/uts/common/inet/ilb/ilb_conn.c
1410
if (tm->end > ilbs->ilbs_sticky_hash_size)
usr/src/uts/common/inet/ilb/ilb_conn.c
1411
tm->end = ilbs->ilbs_sticky_hash_size;
usr/src/uts/common/inet/ilb/ilb_conn.c
1412
tm->ilbs = ilbs;
usr/src/uts/common/inet/ilb/ilb_conn.c
1413
mutex_init(&tm->tid_lock, NULL, MUTEX_DEFAULT, NULL);
usr/src/uts/common/inet/ilb/ilb_conn.c
1415
tm->tid = timeout(ilb_sticky_timer, tm,
usr/src/uts/common/inet/ilb/ilb_conn.c
301
ilb_timer_t *tm;
usr/src/uts/common/inet/ilb/ilb_conn.c
354
tm = ilbs->ilbs_conn_timer_list + i;
usr/src/uts/common/inet/ilb/ilb_conn.c
355
tm->start = i * part;
usr/src/uts/common/inet/ilb/ilb_conn.c
356
tm->end = i * part + part;
usr/src/uts/common/inet/ilb/ilb_conn.c
357
if (tm->end > ilbs->ilbs_conn_hash_size)
usr/src/uts/common/inet/ilb/ilb_conn.c
358
tm->end = ilbs->ilbs_conn_hash_size;
usr/src/uts/common/inet/ilb/ilb_conn.c
359
tm->ilbs = ilbs;
usr/src/uts/common/inet/ilb/ilb_conn.c
360
mutex_init(&tm->tid_lock, NULL, MUTEX_DEFAULT, NULL);
usr/src/uts/common/inet/ilb/ilb_conn.c
362
tm->tid = timeout(ilb_conn_timer, tm,
usr/src/uts/common/inet/ip/ip_mroute.c
3210
hrtime_t tm;
usr/src/uts/common/inet/ip/ip_mroute.c
3221
TV_DELTA(tp, t->tbf_last_pkt_t, tm);
usr/src/uts/common/inet/ip/ip_mroute.c
3231
t->tbf_n_tok += (tm/1000) * vifp->v_rate_limit / 1024 / 8;
usr/src/uts/common/inet/ip/ip_mroute.c
3239
tm, t->tbf_n_tok, (ptrdiff_t)(vifp - ipst->ips_vifs));
usr/src/uts/common/io/comstar/port/fcoet/fcoet_eth.c
563
uint8_t tm;
usr/src/uts/common/io/comstar/port/fcoet/fcoet_eth.c
582
tm = FCOE_B2V_1(ffc->ffc_management_flags);
usr/src/uts/common/io/comstar/port/fcoet/fcoet_eth.c
583
if (tm) {
usr/src/uts/common/io/comstar/port/fcoet/fcoet_eth.c
584
if (tm & BIT_1) {
usr/src/uts/common/io/comstar/port/fcoet/fcoet_eth.c
586
} else if (tm & BIT_2) {
usr/src/uts/common/io/comstar/port/fcoet/fcoet_eth.c
588
} else if (tm & BIT_4) {
usr/src/uts/common/io/comstar/port/fcoet/fcoet_eth.c
590
} else if (tm & BIT_5) {
usr/src/uts/common/io/comstar/port/fcoet/fcoet_eth.c
592
} else if (tm & BIT_6) {
usr/src/uts/common/io/comstar/port/qlt/qlt.c
6088
uint8_t *p, *q, *req, tm;
usr/src/uts/common/io/comstar/port/qlt/qlt.c
6295
tm = *q++;
usr/src/uts/common/io/comstar/port/qlt/qlt.c
6296
if (tm) {
usr/src/uts/common/io/comstar/port/qlt/qlt.c
6297
if (tm & BIT_1)
usr/src/uts/common/io/comstar/port/qlt/qlt.c
6299
else if (tm & BIT_2)
usr/src/uts/common/io/comstar/port/qlt/qlt.c
6301
else if (tm & BIT_4)
usr/src/uts/common/io/comstar/port/qlt/qlt.c
6303
else if (tm & BIT_5)
usr/src/uts/common/io/comstar/port/qlt/qlt.c
6305
else if (tm & BIT_6)
usr/src/uts/common/io/comstar/stmf/stmf.c
4846
uint8_t tm;
usr/src/uts/common/io/comstar/stmf/stmf.c
4889
tm = task->task_mgmt_function;
usr/src/uts/common/io/comstar/stmf/stmf.c
4890
if ((tm == TM_TARGET_RESET) ||
usr/src/uts/common/io/comstar/stmf/stmf.c
4891
(tm == TM_TARGET_COLD_RESET) ||
usr/src/uts/common/io/comstar/stmf/stmf.c
4892
(tm == TM_TARGET_WARM_RESET)) {
usr/src/uts/common/io/cxgbe/firmware/t4fw_interface.h
8257
__be64 tm;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fct.c
2315
uint32_t tm;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fct.c
2476
tm = fcp_cmd->fcpCntl2;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fct.c
2477
if (tm) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fct.c
2478
if (tm & BIT_1) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fct.c
2480
} else if (tm & BIT_2) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fct.c
2482
} else if (tm & BIT_4) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fct.c
2484
} else if (tm & BIT_5) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fct.c
2486
} else if (tm & BIT_6) {
usr/src/uts/common/io/hxge/hpi_vir.c
183
ld_intr_tim_res_t tm;
usr/src/uts/common/io/hxge/hpi_vir.c
192
tm.value = 0;
usr/src/uts/common/io/hxge/hpi_vir.c
193
tm.bits.res = res;
usr/src/uts/common/io/hxge/hpi_vir.c
195
HXGE_REG_WR32(handle, LD_INTR_TIM_RES, tm.value);
usr/src/uts/common/io/sbp2/cfgrom.c
64
hrtime_t tm; /* time since last read */
usr/src/uts/common/io/sbp2/cfgrom.c
68
tm = gethrtime() - tp->t_last_cfgrd;
usr/src/uts/common/io/sbp2/cfgrom.c
69
if (tm < sbp2_cfgrom_read_delay) {
usr/src/uts/common/io/sbp2/cfgrom.c
70
delay(drv_usectohz((sbp2_cfgrom_read_delay - tm) / 1000));
usr/src/uts/common/io/vioscsi/vioscsi.c
1072
scsi_hba_tgtmap_t *tm = sc->vs_tgtmap;
usr/src/uts/common/io/vioscsi/vioscsi.c
1085
scsi_hba_tgtmap_scan_luns(tm, addr);
usr/src/uts/common/io/vioscsi/vioscsi.c
1130
scsi_hba_tgtmap_t *tm = sc->vs_tgtmap;
usr/src/uts/common/io/vioscsi/vioscsi.c
1139
if (scsi_hba_tgtmap_set_begin(tm) != DDI_SUCCESS) {
usr/src/uts/common/io/vioscsi/vioscsi.c
1150
if (scsi_hba_tgtmap_set_add(tm, SCSI_TGT_SCSI_DEVICE,
usr/src/uts/common/io/vioscsi/vioscsi.c
1152
(void) scsi_hba_tgtmap_set_flush(tm);
usr/src/uts/common/io/vioscsi/vioscsi.c
1160
(void) scsi_hba_tgtmap_set_flush(tm);
usr/src/uts/common/io/vioscsi/vioscsi.c
1165
(void) scsi_hba_tgtmap_set_end(tm, 0);
usr/src/uts/common/sys/fibre-channel/fca/emlxs/emlxs_hbaapi.h
453
struct tm build_date;
usr/src/uts/i86pc/io/immu_intrmap.c
55
#define IRTE_LOW(dst, vector, dlm, tm, rh, dm, fpd, p) \
usr/src/uts/i86pc/io/immu_intrmap.c
59
((uint64_t)(tm) << 4) | \
usr/src/uts/i86pc/io/immu_intrmap.c
758
uchar_t vector, dlm, tm, rh, dm;
usr/src/uts/i86pc/io/immu_intrmap.c
772
tm = RDT_TM(irdt->ir_lo);
usr/src/uts/i86pc/io/immu_intrmap.c
780
tm = TRIGGER_MODE_EDGE;
usr/src/uts/i86pc/io/immu_intrmap.c
787
tm = TRIGGER_MODE_EDGE;
usr/src/uts/i86pc/io/immu_intrmap.c
798
irte.lo = IRTE_LOW(dst, vector, dlm, tm, rh, dm, 0, 1);
usr/src/uts/i86pc/io/immu_intrmap.c
810
irte.lo = IRTE_LOW(dst, vector, dlm, tm, rh, dm, 0, 1);
usr/src/uts/i86pc/io/immu_intrmap.c
864
uint32_t rdt_entry, tm, pol, idx, vector;
usr/src/uts/i86pc/io/immu_intrmap.c
870
tm = RDT_TM(rdt_entry);
usr/src/uts/i86pc/io/immu_intrmap.c
873
irdt->ir_lo = (tm << INTRMAP_IOAPIC_TM_SHIFT) |
usr/src/uts/intel/io/ecpp.c
3287
clock_t tm;
usr/src/uts/intel/io/ecpp.c
3315
tm = 0; /* no use in waiting if FIFO is already empty */
usr/src/uts/intel/io/ecpp.c
3317
tm = drv_usectohz(FIFO_DRAIN_PERIOD);
usr/src/uts/intel/io/ecpp.c
3319
pp->fifo_timer_id = timeout(ecpp_fifo_timer, (caddr_t)pp, tm);
usr/src/uts/sfmmu/vm/hat_sfmmu.c
11747
ulong_t *tm = tsbmp->shmermap;
usr/src/uts/sfmmu/vm/hat_sfmmu.c
11750
ulong_t d = tm[i] ^ sm[i];
usr/src/uts/sfmmu/vm/hat_sfmmu.c
11759
tm[i] = sm[i];
usr/src/uts/sun4u/daktari/io/hpc3130_dak.c
1809
clock_t tm = drv_usectohz(300000);
usr/src/uts/sun4u/daktari/io/hpc3130_dak.c
1828
&hpc3130_p->hpc3130_mutex, tm, TR_CLOCK_TICK);