| /freebsd-14.2/usr.sbin/newsyslog/ |
| H A D | ptimes.c | 499 char *timebuf, size_t bufsize) in ptimeget_ctime_rfc5424() argument 509 if (timebuf == NULL) { in ptimeget_ctime_rfc5424() 523 strlcpy(timebuf, NILVALUE, bufsize); in ptimeget_ctime_rfc5424() 524 return (timebuf); in ptimeget_ctime_rfc5424() 543 chars = snprintf(timebuf, bufsize, in ptimeget_ctime_rfc5424() 553 strlcpy(timebuf, NILVALUE, bufsize); in ptimeget_ctime_rfc5424() 556 return (timebuf); in ptimeget_ctime_rfc5424()
|
| H A D | extern.h | 65 char *timebuf, size_t bufsize);
|
| /freebsd-14.2/contrib/tcp_wrappers/ |
| H A D | rfc931.c | 43 static jmp_buf timebuf; variable 68 longjmp(timebuf, sig); in timeout() 132 if (setjmp(timebuf) == 0) {
|
| /freebsd-14.2/contrib/tcpdump/ |
| H A D | util-print.c | 244 char timebuf[32]; 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()
|
| /freebsd-14.2/tools/test/gpioevents/ |
| H A D | gpioevents.c | 168 char timebuf[32]; in print_timestamp() local 176 strftime(timebuf, sizeof(timebuf), "%Y-%m-%dT%H:%M:%S", in print_timestamp() 178 printf("%s %s.%09ld ", str, timebuf, ts.tv_nsec); in print_timestamp()
|
| /freebsd-14.2/usr.sbin/syslogd/ |
| H A D | syslogd.c | 2001 if (strftime(timebuf, sizeof(timebuf), "%FT%T.______%z", in fprintlog_rfc5424() 2004 timebuf[32] = '\0'; in fprintlog_rfc5424() 2005 timebuf[31] = timebuf[30]; in fprintlog_rfc5424() 2006 timebuf[30] = timebuf[29]; in fprintlog_rfc5424() 2007 timebuf[29] = ':'; in fprintlog_rfc5424() 2015 iovlist_append(&il, timebuf); in fprintlog_rfc5424() 2045 if (strftime(timebuf, sizeof(timebuf), RFC3164_DATEFMT, in fprintlog_rfc3164() 2047 timebuf[0] = '\0'; in fprintlog_rfc3164() 2058 iovlist_append(&il, timebuf); in fprintlog_rfc3164() 2072 iovlist_append(&il, timebuf); in fprintlog_rfc3164() [all …]
|
| /freebsd-14.2/sys/contrib/zstd/programs/ |
| H A D | util.c | 172 struct timespec timebuf[2] = { {0, UTIME_NOW} }; in UTIL_utime() local 173 timebuf[1] = statbuf->st_mtim; in UTIL_utime() 174 ret = utimensat(AT_FDCWD, filename, timebuf, 0); in UTIL_utime() 176 struct utimbuf timebuf; in UTIL_utime() local 177 timebuf.actime = time(NULL); in UTIL_utime() 178 timebuf.modtime = statbuf->st_mtime; in UTIL_utime() 179 ret = utime(filename, &timebuf); in UTIL_utime()
|
| /freebsd-14.2/lib/libdevdctl/ |
| H A D | event.cc | 435 char timebuf[bufsize]; in TimestampEventString() local 440 snprintf(timebuf, bufsize, " timestamp=%" PRId64, in TimestampEventString() 442 eventString.insert(eventEnd, timebuf); in TimestampEventString()
|
| /freebsd-14.2/contrib/tnftp/src/ |
| H A D | util.c | 718 struct tm timebuf; in remotemodtime() local 751 memset(&timebuf, 0, sizeof(timebuf)); in remotemodtime() 753 (strptime(timestr, "%Y%m%d%H%M%S", &timebuf) == NULL)) { in remotemodtime() 758 timebuf.tm_isdst = -1; in remotemodtime() 759 rtime = timegm(&timebuf); in remotemodtime()
|
| /freebsd-14.2/usr.sbin/makefs/zfs/ |
| H A D | fs.c | 334 uint64_t timebuf[2]; in fs_populate_time() local 338 assert(fs->satab[ind].size == sizeof(timebuf)); in fs_populate_time() 340 timebuf[0] = ts->tv_sec; in fs_populate_time() 341 timebuf[1] = ts->tv_nsec; in fs_populate_time() 342 fs_populate_attr(fs, attrbuf, timebuf, ind, szp); in fs_populate_time()
|
| /freebsd-14.2/lib/libfetch/ |
| H A D | http.c | 1587 char timebuf[80]; in http_request_body() local 1672 (void)strftime(timebuf, 80, "%a, %d %b %Y %T GMT", in http_request_body() 1675 fetch_info("If-Modified-Since: %s", timebuf); in http_request_body() 1676 http_cmd(conn, "If-Modified-Since: %s", timebuf); in http_request_body()
|
| /freebsd-14.2/sys/contrib/openzfs/cmd/ |
| H A D | ztest.c | 7776 print_time(hrtime_t t, char *timebuf) in print_time() argument 7787 timebuf[0] = '\0'; in print_time() 7790 (void) sprintf(timebuf, in print_time() 7793 (void) sprintf(timebuf, "%lluh%02llum%02llus", h, m, s); in print_time() 7795 (void) sprintf(timebuf, "%llum%02llus", m, s); in print_time() 7797 (void) sprintf(timebuf, "%llus", s); in print_time() 8090 char timebuf[100]; in main() local 8279 print_time(zs->zs_proc_stop - now, timebuf); in main() 8290 (ztest_opts.zo_time * NANOSEC), timebuf); in main() 8302 print_time(zc->zc_time, timebuf); in main() [all …]
|
| /freebsd-14.2/contrib/unbound/daemon/ |
| H A D | remote.c | 2636 char timebuf[32]; in do_dump_requestlist() local 2649 get_mesh_age(m, timebuf, sizeof(timebuf), &worker->env); in do_dump_requestlist() 2652 num, (t?t:"TYPE??"), (c?c:"CLASS??"), buf, timebuf, in do_dump_requestlist()
|