Home
last modified time | relevance | path

Searched refs:tm (Results 101 – 125 of 310) sorted by relevance

12345678910>>...13

/illumos-gate/usr/src/cmd/fs.d/
H A Dfssnapsup.c379 struct tm *tm; in fssnap_display_info() local
396 tm = localtime(&numvalp->value.l); in fssnap_display_info()
398 "%c\n", tm) == 0) in fssnap_display_info()
/illumos-gate/usr/src/cmd/logadm/
H A Dopts.c322 struct tm tm; in opts_parse_ctime() local
325 if (strptime(optarg, "%a %b %e %T %Z %Y", &tm) == NULL && in opts_parse_ctime()
326 strptime(optarg, "%c", &tm) == NULL) in opts_parse_ctime()
330 if ((ret = (off_t)mktime(&tm)) == -1 && errno) in opts_parse_ctime()
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd_proc.c347 char *principal, *send_to, *emailid, *ends, *tm; in parseConfigLine() local
504 tm = ends - 1; in parseConfigLine()
505 if (*tm == 's') in parseConfigLine()
507 else if (*tm == 'm') in parseConfigLine()
509 else if (*tm == 'h') in parseConfigLine()
514 if (*tm) in parseConfigLine()
515 *tm = '\0'; in parseConfigLine()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DREADME45 tm.h tm*() interface definitions
90 tm: time conversion support
95 tmtime convert struct tm to time_t
H A DRELEASE251 09-05-25 tm/tmxduration.c: add
278 08-12-30 tm/tmxdate.c,include/tm.h: add TM_WORK { "workday" "working" "work" }
388 07-04-13 tm/tmxdate.c,tm/tmzone.c: handle [-+]0000 UTC zone offset
594 04-12-01 tm/tmsleep.c: add
607 tm/tmfix.c: fix tm_mon<0 logic
652 04-04-15 tm/tmdate.c,include/tm.h: fix specific and ordinal days
733 tm/tmfix.c: fix leap year adjustments
852 03-02-05 tm/tmdate.c,tm/tmword.c,string/strelapsed.c: '_' treated like ' '
991 02-04-05 tm/tmfmt.c: add %u
1058 tm/tmdate.c: handle YYYY/MM/DD
[all …]
H A DMamfile2168 make tm/tmfix.c
2171 done tm/tmfix.c
2173 prev tm/tmfix.c
2177 make tm/tmfmt.c
2179 done tm/tmfmt.c
2181 prev tm/tmfmt.c
2226 make tm/tmlex.c
2229 done tm/tmlex.c
6389 make man/tm.3
6390 done man/tm.3
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtminit.c94 struct tm*
97 struct tm* r; in _tm_localtime()
132 register struct tm* tp; in tzwest()
216 struct tm* tp; in tmlocal()
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpitime.c47 struct tm *tm; in prdate() local
53 tm = localtime(&d); in prdate()
54 if (strftime(buf, sizeof (buf), "%c", tm) != 0) { in prdate()
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dwcsftime.c62 const struct tm *timeptr) in __wcsftime_xpg5()
123 const struct tm *timeptr) in wcsftime()
/illumos-gate/usr/src/cmd/beadm/
H A Dbeadm.c354 struct tm *tm; in print_be_nodes() local
362 tm = localtime(&creation); in print_be_nodes()
363 (void) strftime(datetime, DT_BUF_LEN, datetime_fmt, tm); in print_be_nodes()
423 struct tm *tm = localtime(&creation); in print_be_snapshots() local
429 (void) strftime(datetime, DT_BUF_LEN, datetime_fmt, tm); in print_be_snapshots()
484 struct tm *tm; in print_fmt_nodes() local
494 tm = localtime(&creation); in print_fmt_nodes()
495 (void) strftime(datetime, DT_BUF_LEN, datetime_fmt, tm); in print_fmt_nodes()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/
H A Dilb_probe.c645 uint64_t tm; in udp_query() local
683 tm = (param->timeout * MICROSEC >> 2) * 3; in udp_query()
684 if (tm > MICROSEC) { in udp_query()
685 timeout.it_value.tv_sec = tm / MICROSEC; in udp_query()
686 timeout.it_value.tv_usec = tm - (timeout.it_value.tv_sec * in udp_query()
690 timeout.it_value.tv_usec = tm; in udp_query()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Darpadate.c63 register struct tm *lt;
65 struct tm gmt;
H A Denvelope.c832 register struct tm *tm; local
837 tm = gmtime(&now);
839 tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday,
840 tm->tm_hour, tm->tm_min);
/illumos-gate/usr/src/ucbcmd/touch/
H A Dtouch.c67 struct tm *
70 static struct tm newtime; in gtime()
116 struct tm *tp; in main()
/illumos-gate/usr/src/uts/common/io/comstar/port/fcoet/
H A Dfcoet_eth.c563 uint8_t tm; in fcoet_process_unsol_fcp_cmd() local
582 tm = FCOE_B2V_1(ffc->ffc_management_flags); in fcoet_process_unsol_fcp_cmd()
583 if (tm) { in fcoet_process_unsol_fcp_cmd()
584 if (tm & BIT_1) { in fcoet_process_unsol_fcp_cmd()
586 } else if (tm & BIT_2) { in fcoet_process_unsol_fcp_cmd()
588 } else if (tm & BIT_4) { in fcoet_process_unsol_fcp_cmd()
590 } else if (tm & BIT_5) { in fcoet_process_unsol_fcp_cmd()
592 } else if (tm & BIT_6) { in fcoet_process_unsol_fcp_cmd()
/illumos-gate/usr/src/uts/common/io/sbp2/
H A Dcfgrom.c64 hrtime_t tm; /* time since last read */ in sbp2_cfgrom_rq() local
68 tm = gethrtime() - tp->t_last_cfgrd; in sbp2_cfgrom_rq()
69 if (tm < sbp2_cfgrom_read_delay) { in sbp2_cfgrom_rq()
70 delay(drv_usectohz((sbp2_cfgrom_read_delay - tm) / 1000)); in sbp2_cfgrom_rq()
/illumos-gate/usr/src/cmd/hal/hald/
H A Dlogger.c145 struct tm *tlocaltime; in logger_emit()
216 struct tm *tlocaltime; in logger_forward_debug()
/illumos-gate/usr/src/cmd/bart/
H A Dcreate.c316 struct tm *tm; in output_manifest() local
321 tm = localtime(&time_val); in output_manifest()
322 (void) strftime(time_buf, sizeof (time_buf), "%A, %B %d, %Y (%T)", tm); in output_manifest()
/illumos-gate/usr/src/lib/fm/libfmevent/common/
H A Dlibfmevent.h326 extern struct tm *fmev_localtime(fmev_t, struct tm *);
/illumos-gate/usr/src/cmd/praudit/
H A Dformat.c2526 tzone(struct tm *tm, time_t *tv_sec, char *p) in tzone() argument
2528 struct tm *gmt; in tzone()
2534 (tm->tm_min - gmt->tm_min); in tzone()
2538 else if (tm->tm_year > gmt->tm_year) in tzone()
2542 else if (tm->tm_yday > gmt->tm_yday) in tzone()
2583 struct tm tm; in do_mtime32() local
2599 (void) localtime_r(&tv_sec, &tm); in do_mtime32()
2605 tzone(&tm, &tv_sec, in do_mtime32()
2690 struct tm tm; in do_mtime64() local
2713 (void) localtime_r(&tv_sec, &tm); in do_mtime64()
[all …]
/illumos-gate/usr/src/cmd/whodo/
H A Dwhodo.c186 struct tm *tm; in main() local
554 tm = localtime(&tim); in main()
557 LOGIN_WIDTH, (int)NMAX, ut->ut_name, tm->tm_hour, in main()
558 tm->tm_min); in main()
837 struct tm *p; in prtat()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dconfig.c910 struct tm *tm; in parse_date() local
923 tm = getdate(str); in parse_date()
924 if (tm == NULL) { in parse_date()
930 ntime = mktime(tm); in parse_date()
935 (void) strftime(buf, sizeof (buf), "%Y-%m-%d %R %Z", tm); in parse_date()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop.c614 struct tm *tm; in show_pktinfo() local
624 tm = localtime(&tvp->tv_sec); in show_pktinfo()
629 tm->tm_hour, tm->tm_min, tm->tm_sec, in show_pktinfo()
/illumos-gate/usr/src/cmd/listen/
H A Dlslog.c290 struct tm *tm_p; in stamp()
293 tm_p = (struct tm *) localtime(&clock); in stamp()
/illumos-gate/usr/src/head/iso/
H A Dwchar_iso.h261 extern size_t wcsftime(wchar_t *, size_t, const char *, const struct tm *);
269 const wchar_t *_RESTRICT_KYWD, const struct tm *_RESTRICT_KYWD);
274 const wchar_t *_RESTRICT_KYWD, const struct tm *_RESTRICT_KYWD);

12345678910>>...13