Home
last modified time | relevance | path

Searched refs:timestr (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/openbsm/bin/auditreduce/
H A Dauditreduce.c646 char timestr[128]; in main() local
669 strftime(timestr, sizeof(timestr), "%Y%m%d%H%M%S", in main()
682 strftime(timestr, sizeof(timestr), "%Y%m%d%H%M%S", in main()
703 strftime(timestr, sizeof(timestr), "%Y%m%d", &tm); in main()
709 strftime(timestr, sizeof(timestr), "%Y%m%d", &tm); in main()
/freebsd/contrib/tnftp/src/
H A Dutil.c719 char *timestr, *frac; in remotemodtime() local
726 timestr = reply_string + 4; in remotemodtime()
732 frac = strchr(timestr, '\r'); in remotemodtime()
735 frac = strchr(timestr, '.'); in remotemodtime()
738 if (strlen(timestr) == 15 && strncmp(timestr, "191", 3) == 0) { in remotemodtime()
745 timestr); in remotemodtime()
746 timestr++; in remotemodtime()
747 timestr[0] = '2'; in remotemodtime()
748 timestr[1] = '0'; in remotemodtime()
749 fprintf(ttyout, "Converted to `%s'\n", timestr); in remotemodtime()
[all …]
/freebsd/crypto/heimdal/lib/sl/
H A Dsl.c44 char timestr[64], cmd[64]; in mandoc_template() local
54 strftime(timestr, sizeof(timestr), "%b %d, %Y", localtime(&t)); in mandoc_template()
55 printf(".Dd %s\n", timestr); in mandoc_template()
/freebsd/contrib/tcpdump/
H A Dutil-print.c245 const char *timestr; in ts_date_hmsfrac_print() local
258 timestr = nd_format_time(timebuf, sizeof(timebuf), in ts_date_hmsfrac_print()
261 timestr = nd_format_time(timebuf, sizeof(timebuf), in ts_date_hmsfrac_print()
264 ND_PRINT("%s", timestr); in ts_date_hmsfrac_print()
/freebsd/usr.bin/kdump/
H A Dkdump.c1974 char mode[12], timestr[PATH_MAX + 4]; in ktrstat() local
2027 strftime(timestr, sizeof(timestr), TIME_FORMAT, tm); in ktrstat()
2028 printf("\"%s\"", timestr); in ktrstat()
2039 strftime(timestr, sizeof(timestr), TIME_FORMAT, tm); in ktrstat()
2040 printf("\"%s\"", timestr); in ktrstat()
2051 strftime(timestr, sizeof(timestr), TIME_FORMAT, tm); in ktrstat()
2052 printf("\"%s\"", timestr); in ktrstat()
2063 strftime(timestr, sizeof(timestr), TIME_FORMAT, tm); in ktrstat()
2064 printf("\"%s\"", timestr); in ktrstat()
/freebsd/crypto/heimdal/lib/roken/
H A Dgetarg.c95 char timestr[64], cmd[64]; in mandoc_template() local
106 strftime(timestr, sizeof(timestr), "%B %e, %Y", localtime(&t)); in mandoc_template()
107 printf(".Dd %s\n", timestr); in mandoc_template()
/freebsd/contrib/openbsm/libauditd/
H A Dauditd_lib.c939 char timestr[FILENAME_LEN + 1]; in auditd_swap_trail() local
945 snprintf(timestr, sizeof(timestr), "%s.%s", TS, in auditd_swap_trail()
955 if ((fn = affixdir(timestr, dirent)) == NULL) in auditd_swap_trail()
/freebsd/crypto/heimdal/lib/krb5/
H A Dlog.c169 log_syslog(const char *timestr, in log_syslog() argument
219 log_file(const char *timestr, in log_file() argument
235 fprintf(f->fd, "%s %s\n", timestr, msgclean); in log_file()
/freebsd/sbin/pfctl/
H A Dpfctl.c1023 char timestr[30]; in pfctl_print_eth_rule_counters() local
1026 bcopy(ctime(&rule->last_active_timestamp), timestr, in pfctl_print_eth_rule_counters()
1027 sizeof(timestr)); in pfctl_print_eth_rule_counters()
1028 *strchr(timestr, '\n') = '\0'; in pfctl_print_eth_rule_counters()
1030 snprintf(timestr, sizeof(timestr), "N/A"); in pfctl_print_eth_rule_counters()
1032 printf(" [ Last Active Time: %s ]\n", timestr); in pfctl_print_eth_rule_counters()
1074 char timestr[30]; in pfctl_print_rule_counters() local
1076 bcopy(ctime(&rule->last_active_timestamp), timestr, in pfctl_print_rule_counters()
1077 sizeof(timestr)); in pfctl_print_rule_counters()
1078 *strchr(timestr, '\n') = '\0'; in pfctl_print_rule_counters()
[all …]
/freebsd/contrib/ntp/kernel/sys/
H A Dbsd_audioirig.h74 struct irig_time timestr; /* time structure */ member
/freebsd/usr.bin/at/
H A Dat.c469 char timestr[TIMESIZE]; in list_jobs() local
510 strftime(timestr, TIMESIZE, "%+", &runtime); in list_jobs()
518 timestr, in list_jobs()
/freebsd/sbin/devd/
H A Ddevd.cc852 char *timestr; in process_event() local
866 asprintf(&timestr, "%jd.%06ld", (uintmax_t)tv.tv_sec, tv.tv_usec); in process_event()
867 cfg.set_variable("timestamp", timestr); in process_event()
868 free(timestr); in process_event()
/freebsd/libexec/bootpd/
H A Dreadfile.c324 char timestr[28]; in readtab() local
325 strcpy(timestr, ctime(&(st.st_mtime))); in readtab()
327 timestr[24] = '\0'; in readtab()
329 timestr); in readtab()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_set_format_xar.c906 char timestr[100]; in xmlwrite_time() local
916 memset(&timestr, 0, sizeof(timestr)); in xmlwrite_time()
918 strftime(timestr, sizeof(timestr), "%Y-%m-%dT%H:%M:%S", &tm); in xmlwrite_time()
920 strcat(timestr, "Z"); in xmlwrite_time()
921 return (xmlwrite_string(a, writer, key, timestr)); in xmlwrite_time()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_pool.c1955 char timestr[128]; in zpool_rewind_exclaim() local
1970 ctime_r((time_t *)&rewindto, timestr) != NULL) { in zpool_rewind_exclaim()
1971 timestr[24] = 0; in zpool_rewind_exclaim()
1976 name, timestr); in zpool_rewind_exclaim()
1980 name, timestr); in zpool_rewind_exclaim()
2009 char timestr[128], temp[1024]; in zpool_explain_recover() local
2028 ctime_r((time_t *)&rewindto, timestr) != NULL) { in zpool_explain_recover()
2029 timestr[24] = 0; in zpool_explain_recover()
2032 "\tshould correct the problem. "), timestr); in zpool_explain_recover()
/freebsd/contrib/openbsm/libbsm/
H A Dbsm_io.c729 char timestr[26]; in print_sec32() local
735 ctime_r(&timestamp, timestr); in print_sec32()
736 timestr[24] = '\0'; /* No new line */ in print_sec32()
737 fprintf(fp, "%s", timestr); in print_sec32()
749 char timestr[26]; in print_sec64() local
755 ctime_r(&timestamp, timestr); in print_sec64()
756 timestr[24] = '\0'; /* No new line */ in print_sec64()
757 fprintf(fp, "%s", timestr); in print_sec64()
/freebsd/sbin/ipfw/
H A Dipfw2.c2330 char timestr[30]; in show_static_rule() local
2334 strcpy(timestr, ctime(&t)); in show_static_rule()
2335 *strchr(timestr, '\n') = '\0'; in show_static_rule()
2336 twidth = strlen(timestr); in show_static_rule()
2341 strcpy(timestr, ctime(&t)); in show_static_rule()
2342 *strchr(timestr, '\n') = '\0'; in show_static_rule()
2343 bprintf(bp, "%s ", timestr); in show_static_rule()
/freebsd/crypto/heimdal/
H A DChangeLog.2005871 * lib/krb5/log.c: rename variable time to timestr to avoid