Home
last modified time | relevance | path

Searched refs:timebuf (Results 1 – 13 of 13) sorted by relevance

/dragonfly/usr.sbin/newsyslog/
HDptimes.c495 char *timebuf, size_t bufsize) in ptimeget_ctime_rfc5424() argument
505 if (timebuf == NULL) { in ptimeget_ctime_rfc5424()
519 strlcpy(timebuf, NILVALUE, bufsize); in ptimeget_ctime_rfc5424()
520 return (timebuf); in ptimeget_ctime_rfc5424()
539 chars = snprintf(timebuf, bufsize, in ptimeget_ctime_rfc5424()
549 strlcpy(timebuf, NILVALUE, bufsize); in ptimeget_ctime_rfc5424()
552 return (timebuf); in ptimeget_ctime_rfc5424()
HDextern.h65 char *timebuf, size_t bufsize);
/dragonfly/sbin/hammer/
HDcmd_history.c246 static char timebuf[64]; in timestr32() local
251 strftime(timebuf, sizeof(timebuf), "%d-%b-%Y %H:%M:%S", tp); in timestr32()
252 return(timebuf); in timestr32()
/dragonfly/contrib/tcp_wrappers/
HDrfc931.c39 static jmp_buf timebuf; variable
68 longjmp(timebuf, sig);
135 if (setjmp(timebuf) == 0) {
/dragonfly/contrib/binutils-2.27/binutils/
HDbucomm.c427 char timebuf[40]; in print_arelt_descr() local
434 sprintf (timebuf, _("<time data corrupt>")); in print_arelt_descr()
437 sprintf (timebuf, "%.12s %.4s", ctime_result + 4, ctime_result + 20); in print_arelt_descr()
445 size, timebuf); in print_arelt_descr()
HDreadelf.c8714 char timebuf[128]; in dynamic_section_mips_val() local
8721 snprintf (timebuf, sizeof (timebuf), _("<corrupt>")); in dynamic_section_mips_val()
8723 snprintf (timebuf, sizeof (timebuf), "%04u-%02u-%02uT%02u:%02u:%02u", in dynamic_section_mips_val()
8726 printf (_("Time Stamp: %s"), timebuf); in dynamic_section_mips_val()
14492 char timebuf[128]; in process_mips_specific() local
14502 snprintf (timebuf, sizeof (timebuf), in process_mips_specific()
14512 printf (" %s %#10lx %-7ld", timebuf, liblist.l_checksum, in process_mips_specific()
15146 char timebuf[128]; in process_gnu_liblist() local
15156 snprintf (timebuf, sizeof (timebuf), in process_gnu_liblist()
15168 printf (" %s %#010lx %-7ld %-7ld\n", timebuf, liblist.l_checksum, in process_gnu_liblist()
/dragonfly/contrib/binutils-2.34/binutils/
HDbucomm.c447 char timebuf[40]; in print_arelt_descr() local
454 sprintf (timebuf, _("<time data corrupt>")); in print_arelt_descr()
457 sprintf (timebuf, "%.12s %.4s", ctime_result + 4, ctime_result + 20); in print_arelt_descr()
465 size, timebuf); in print_arelt_descr()
HDreadelf.c9518 char timebuf[128]; in dynamic_section_mips_val() local
9525 snprintf (timebuf, sizeof (timebuf), _("<corrupt>")); in dynamic_section_mips_val()
9527 snprintf (timebuf, sizeof (timebuf), "%04u-%02u-%02uT%02u:%02u:%02u", in dynamic_section_mips_val()
9530 printf (_("Time Stamp: %s"), timebuf); in dynamic_section_mips_val()
16590 char timebuf[128]; in process_mips_specific() local
16600 snprintf (timebuf, sizeof (timebuf), in process_mips_specific()
16610 printf (" %s %#10lx %-7ld", timebuf, liblist.l_checksum, in process_mips_specific()
17316 char timebuf[128]; in process_gnu_liblist() local
17326 snprintf (timebuf, sizeof (timebuf), in process_gnu_liblist()
17338 printf (" %s %#010lx %-7ld %-7ld\n", timebuf, liblist.l_checksum, in process_gnu_liblist()
/dragonfly/contrib/zstd/programs/
HDutil.c178 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()
/dragonfly/usr.bin/undo/
HDundo.c712 static char timebuf[64]; in timestamp() local
717 strftime(timebuf, sizeof(timebuf), "%d-%b-%Y %H:%M:%S", tp); in timestamp()
718 return(timebuf); in timestamp()
/dragonfly/contrib/tnftp/src/
HDutil.c719 struct tm timebuf; in remotemodtime() local
752 memset(&timebuf, 0, sizeof(timebuf)); in remotemodtime()
754 (strptime(timestr, "%Y%m%d%H%M%S", &timebuf) == NULL)) { in remotemodtime()
759 timebuf.tm_isdst = -1; in remotemodtime()
760 rtime = timegm(&timebuf); in remotemodtime()
/dragonfly/contrib/lvm2/dist/lib/commands/
HDtoolcontext.c130 char timebuf[26]; in _init_logging() local
190 ctime_r(&t, &timebuf[0]); in _init_logging()
191 timebuf[24] = '\0'; in _init_logging()
192 log_verbose("Logging initialised at %s", timebuf); in _init_logging()
/dragonfly/lib/libfetch/
HDhttp.c1546 char timebuf[80]; in http_request_body() local
1631 (void)strftime(timebuf, 80, "%a, %d %b %Y %T GMT", in http_request_body()
1634 fetch_info("If-Modified-Since: %s", timebuf); in http_request_body()
1635 http_cmd(conn, "If-Modified-Since: %s", timebuf); in http_request_body()