| /freebsd-13.1/usr.sbin/newsyslog/ |
| H A D | ptimes.c | 497 char *timebuf, size_t bufsize) in ptimeget_ctime_rfc5424() argument 507 if (timebuf == NULL) { in ptimeget_ctime_rfc5424() 521 strlcpy(timebuf, NILVALUE, bufsize); in ptimeget_ctime_rfc5424() 522 return (timebuf); in ptimeget_ctime_rfc5424() 541 chars = snprintf(timebuf, bufsize, in ptimeget_ctime_rfc5424() 551 strlcpy(timebuf, NILVALUE, bufsize); in ptimeget_ctime_rfc5424() 554 return (timebuf); in ptimeget_ctime_rfc5424()
|
| H A D | extern.h | 66 char *timebuf, size_t bufsize);
|
| /freebsd-13.1/contrib/tcp_wrappers/ |
| H A D | rfc931.c | 43 static jmp_buf timebuf; variable 71 longjmp(timebuf, sig); in timeout() 138 if (setjmp(timebuf) == 0) {
|
| /freebsd-13.1/tools/test/gpioevents/ |
| H A D | gpioevents.c | 166 char timebuf[32]; in print_timestamp() local 174 strftime(timebuf, sizeof(timebuf), "%Y-%m-%dT%H:%M:%S", in print_timestamp() 176 printf("%s %s.%09ld ", str, timebuf, ts.tv_nsec); in print_timestamp()
|
| /freebsd-13.1/usr.sbin/syslogd/ |
| H A D | syslogd.c | 2003 if (strftime(timebuf, sizeof(timebuf), "%FT%T.______%z", in fprintlog_rfc5424() 2006 timebuf[32] = '\0'; in fprintlog_rfc5424() 2007 timebuf[31] = timebuf[30]; in fprintlog_rfc5424() 2008 timebuf[30] = timebuf[29]; in fprintlog_rfc5424() 2009 timebuf[29] = ':'; in fprintlog_rfc5424() 2017 iovlist_append(&il, timebuf); in fprintlog_rfc5424() 2047 if (strftime(timebuf, sizeof(timebuf), RFC3164_DATEFMT, in fprintlog_rfc3164() 2049 timebuf[0] = '\0'; in fprintlog_rfc3164() 2060 iovlist_append(&il, timebuf); in fprintlog_rfc3164() 2074 iovlist_append(&il, timebuf); in fprintlog_rfc3164() [all …]
|
| /freebsd-13.1/sys/contrib/zstd/programs/ |
| H A D | util.c | 178 struct timespec timebuf[2] = { {0, UTIME_NOW} }; in UTIL_setFileStat() local 179 timebuf[1] = statbuf->st_mtim; in UTIL_setFileStat() 180 res += utimensat(AT_FDCWD, filename, timebuf, 0); in UTIL_setFileStat() 184 struct utimbuf timebuf; in UTIL_setFileStat() local 185 timebuf.actime = time(NULL); in UTIL_setFileStat() 186 timebuf.modtime = statbuf->st_mtime; in UTIL_setFileStat() 187 res += utime(filename, &timebuf); in UTIL_setFileStat()
|
| /freebsd-13.1/lib/libdevdctl/ |
| H A D | event.cc | 438 char timebuf[bufsize]; in TimestampEventString() local 443 snprintf(timebuf, bufsize, " timestamp=%" PRId64, in TimestampEventString() 445 eventString.insert(eventEnd, timebuf); in TimestampEventString()
|
| /freebsd-13.1/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-13.1/lib/libfetch/ |
| H A D | http.c | 1591 char timebuf[80]; in http_request_body() local 1676 (void)strftime(timebuf, 80, "%a, %d %b %Y %T GMT", in http_request_body() 1679 fetch_info("If-Modified-Since: %s", timebuf); in http_request_body() 1680 http_cmd(conn, "If-Modified-Since: %s", timebuf); in http_request_body()
|
| /freebsd-13.1/sys/contrib/openzfs/cmd/ztest/ |
| H A D | ztest.c | 7634 print_time(hrtime_t t, char *timebuf) in print_time() argument 7645 timebuf[0] = '\0'; in print_time() 7648 (void) sprintf(timebuf, in print_time() 7651 (void) sprintf(timebuf, "%lluh%02llum%02llus", h, m, s); in print_time() 7653 (void) sprintf(timebuf, "%llum%02llus", m, s); in print_time() 7655 (void) sprintf(timebuf, "%llus", s); in print_time() 7944 char timebuf[100]; in main() local 8133 print_time(zs->zs_proc_stop - now, timebuf); in main() 8144 (ztest_opts.zo_time * NANOSEC), timebuf); in main() 8156 print_time(zc->zc_time, timebuf); in main() [all …]
|
| /freebsd-13.1/contrib/unbound/daemon/ |
| H A D | remote.c | 2427 char timebuf[32]; in do_dump_requestlist() local 2440 get_mesh_age(m, timebuf, sizeof(timebuf), &worker->env); in do_dump_requestlist() 2443 num, (t?t:"TYPE??"), (c?c:"CLASS??"), buf, timebuf, in do_dump_requestlist()
|