| /freebsd-12.1/contrib/gcclibs/libgomp/config/mingw32/ |
| H A D | time.c | 37 struct _timeb timebuf; in omp_get_wtime() local 38 _ftime (&timebuf); in omp_get_wtime() 39 return (timebuf.time + (long)(timebuf.millitm) / 1e3); in omp_get_wtime()
|
| /freebsd-12.1/cddl/contrib/opensolaris/cmd/zlook/ |
| H A D | zlook.c | 143 char timebuf[512]; in print_stats() local 154 timebuf[0] = 0; in print_stats() 155 if (ctime_r(&sb->st_atime, timebuf, 512)) { in print_stats() 157 (void) printf("%s", timebuf); in print_stats() 159 timebuf[0] = 0; in print_stats() 160 if (ctime_r(&sb->st_mtime, timebuf, 512)) { in print_stats() 162 (void) printf("%s", timebuf); in print_stats() 164 timebuf[0] = 0; in print_stats() 165 if (ctime_r(&sb->st_ctime, timebuf, 512)) { in print_stats() 167 (void) printf("%s", timebuf); in print_stats()
|
| /freebsd-12.1/sbin/nandfs/ |
| H A D | lssnap.c | 62 char timebuf[128]; in print_cpinfo() local 66 strftime(timebuf, sizeof(timebuf), "%F %T", &tm); in print_cpinfo() 68 printf("%20llu %s\n", (unsigned long long)cpinfo->nci_cno, timebuf); in print_cpinfo()
|
| /freebsd-12.1/usr.sbin/newsyslog/ |
| H A D | ptimes.c | 490 char *timebuf, size_t bufsize) in ptimeget_ctime_rfc5424() argument 500 if (timebuf == NULL) { in ptimeget_ctime_rfc5424() 514 strlcpy(timebuf, NILVALUE, bufsize); in ptimeget_ctime_rfc5424() 515 return (timebuf); in ptimeget_ctime_rfc5424() 534 chars = snprintf(timebuf, bufsize, in ptimeget_ctime_rfc5424() 544 strlcpy(timebuf, NILVALUE, bufsize); in ptimeget_ctime_rfc5424() 547 return (timebuf); in ptimeget_ctime_rfc5424()
|
| H A D | extern.h | 66 char *timebuf, size_t bufsize);
|
| /freebsd-12.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-12.1/usr.sbin/syslogd/ |
| H A D | syslogd.c | 1799 if (strftime(timebuf, sizeof(timebuf), "%FT%T.______%z", in fprintlog_rfc5424() 1802 timebuf[32] = '\0'; in fprintlog_rfc5424() 1803 timebuf[31] = timebuf[30]; in fprintlog_rfc5424() 1804 timebuf[30] = timebuf[29]; in fprintlog_rfc5424() 1805 timebuf[29] = ':'; in fprintlog_rfc5424() 1813 iovlist_append(&il, timebuf); in fprintlog_rfc5424() 1843 if (strftime(timebuf, sizeof(timebuf), RFC3164_DATEFMT, in fprintlog_rfc3164() 1845 timebuf[0] = '\0'; in fprintlog_rfc3164() 1856 iovlist_append(&il, timebuf); in fprintlog_rfc3164() 1870 iovlist_append(&il, timebuf); in fprintlog_rfc3164() [all …]
|
| /freebsd-12.1/contrib/binutils/binutils/ |
| H A D | bucomm.c | 371 char timebuf[40]; in print_arelt_descr() local 376 sprintf (timebuf, "%.12s %.4s", ctime_result + 4, ctime_result + 20); in print_arelt_descr() 383 (long) buf.st_size, timebuf); in print_arelt_descr()
|
| H A D | readelf.c | 5590 char timebuf[20]; in dynamic_section_mips_val() local 5595 snprintf (timebuf, sizeof (timebuf), "%04u-%02u-%02uT%02u:%02u:%02u", in dynamic_section_mips_val() 5598 printf ("Time Stamp: %s\n", timebuf); in dynamic_section_mips_val() 8663 char timebuf[20]; in process_mips_specific() local 8673 snprintf (timebuf, sizeof (timebuf), in process_mips_specific() 8683 printf (" %s %#10lx %-7ld", timebuf, liblist.l_checksum, in process_mips_specific() 9047 char timebuf[20]; in process_gnu_liblist() local 9057 snprintf (timebuf, sizeof (timebuf), in process_gnu_liblist() 9069 printf (" %s %#010lx %-7ld %-7ld\n", timebuf, liblist.l_checksum, in process_gnu_liblist()
|
| /freebsd-12.1/lib/libdevdctl/ |
| H A D | event.cc | 433 char timebuf[bufsize]; in TimestampEventString() local 438 snprintf(timebuf, bufsize, " timestamp=%" PRId64, in TimestampEventString() 440 eventString.insert(eventEnd, timebuf); in TimestampEventString()
|
| /freebsd-12.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-12.1/sys/contrib/zstd/programs/ |
| H A D | util.h | 265 struct utimbuf timebuf; in UTIL_setFileStat() local 270 timebuf.actime = time(NULL); in UTIL_setFileStat() 271 timebuf.modtime = statbuf->st_mtime; in UTIL_setFileStat() 272 res += utime(filename, &timebuf); /* set access and modification times */ in UTIL_setFileStat()
|
| /freebsd-12.1/lib/libfetch/ |
| H A D | http.c | 1545 char timebuf[80]; in http_request_body() local 1630 (void)strftime(timebuf, 80, "%a, %d %b %Y %T GMT", in http_request_body() 1633 fetch_info("If-Modified-Since: %s", timebuf); in http_request_body() 1634 http_cmd(conn, "If-Modified-Since: %s", timebuf); in http_request_body()
|
| /freebsd-12.1/cddl/contrib/opensolaris/cmd/ztest/ |
| H A D | ztest.c | 6325 print_time(hrtime_t t, char *timebuf) in print_time() argument 6336 timebuf[0] = '\0'; in print_time() 6339 (void) sprintf(timebuf, in print_time() 6342 (void) sprintf(timebuf, "%lluh%02llum%02llus", h, m, s); in print_time() 6344 (void) sprintf(timebuf, "%llum%02llus", m, s); in print_time() 6346 (void) sprintf(timebuf, "%llus", s); in print_time() 6605 char timebuf[100]; in main() local 6747 print_time(zs->zs_proc_stop - now, timebuf); in main() 6758 (ztest_opts.zo_time * NANOSEC), timebuf); in main() 6772 print_time(zc->zc_time, timebuf); in main() [all …]
|
| /freebsd-12.1/contrib/unbound/daemon/ |
| H A D | remote.c | 2388 char timebuf[32]; in do_dump_requestlist() local 2401 get_mesh_age(m, timebuf, sizeof(timebuf), &worker->env); in do_dump_requestlist() 2404 num, (t?t:"TYPE??"), (c?c:"CLASS??"), buf, timebuf, in do_dump_requestlist()
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | ChangeLog-2000 | 22368 * cpplib.h (struct cpp_reader): Remove timebuf.
|