| /openbsd-src/usr.bin/cvs/ |
| H A D | client.c | 461 char rev[CVS_REV_BUFSZ], timebuf[CVS_TIME_BUFSZ], sticky[CVS_REV_BUFSZ]; in cvs_client_sendfile() local 475 len = strlcpy(timebuf, "Initial ", sizeof(timebuf)); in cvs_client_sendfile() 476 if (len >= sizeof(timebuf)) in cvs_client_sendfile() 479 len = strlcat(timebuf, cf->file_name, sizeof(timebuf)); in cvs_client_sendfile() 480 if (len >= sizeof(timebuf)) in cvs_client_sendfile() 484 ctime_r(&cf->file_ent->ce_mtime, timebuf); in cvs_client_sendfile() 488 timebuf[strcspn(timebuf, "\n")] = '\0'; in cvs_client_sendfile() 490 len = strlcpy(timebuf, cf->file_ent->ce_conflict, in cvs_client_sendfile() 491 sizeof(timebuf)); in cvs_client_sendfile() 492 if (len >= sizeof(timebuf)) in cvs_client_sendfile() [all …]
|
| H A D | edit.c | 264 char timebuf[CVS_TIME_BUFSZ], thishost[HOST_NAME_MAX+1]; in cvs_edit_local() local 280 asctime_r(&t, timebuf); in cvs_edit_local() 281 timebuf[strcspn(timebuf, "\n")] = '\0'; in cvs_edit_local() 290 cf->file_name, timebuf, thishost, wdir); in cvs_edit_local() 331 char bfpath[PATH_MAX], timebuf[64], thishost[HOST_NAME_MAX+1]; in cvs_unedit_local() local 364 asctime_r(&t, timebuf); in cvs_unedit_local() 365 timebuf[strcspn(timebuf, "\n")] = '\0'; in cvs_unedit_local() 374 cf->file_name, timebuf, thishost, wdir); in cvs_unedit_local() 396 memset(timebuf, 0, sizeof(timebuf)); in cvs_unedit_local() 397 ctime_r(&cf->file_ent->ce_mtime, timebuf); in cvs_unedit_local() [all …]
|
| H A D | status.c | 127 char timebuf[CVS_TIME_BUFSZ], revbuf[CVS_REV_BUFSZ]; in cvs_status_local() local 182 (void)strlcpy(timebuf, cf->file_ent->ce_time, in cvs_status_local() 183 sizeof(timebuf)); in cvs_status_local() 185 timebuf[0] = '\0'; in cvs_status_local() 188 len = strlcpy(timebuf, cf->file_ent->ce_conflict, in cvs_status_local() 189 sizeof(timebuf)); in cvs_status_local() 190 if (len >= sizeof(timebuf)) in cvs_status_local() 197 (void)strlcat(buf, timebuf, sizeof(buf)); in cvs_status_local()
|
| H A D | history.c | 73 char timebuf[CVS_TIME_BUFSZ]; in cvs_history_add() local 144 strftime(timebuf, sizeof(timebuf), in cvs_history_add() 146 buf_puts(buf, timebuf); in cvs_history_add()
|
| H A D | checkout.c | 494 char timebuf[CVS_TIME_BUFSZ], tbuf[CVS_TIME_BUFSZ]; in cvs_checkout_file() local 562 (void)xsnprintf(timebuf, sizeof(timebuf), "Result of merge+%s", in cvs_checkout_file() 565 strlcpy(timebuf, tbuf, sizeof(timebuf)); in cvs_checkout_file() 601 cvs_ent_line_str(cf->file_name, rev, timebuf, kbuf, sticky, 0, 0, in cvs_checkout_file()
|
| /openbsd-src/sys/arch/i386/stand/libsa/ |
| H A D | time.c | 117 u_int8_t timebuf[4], datebuf[4]; in getsecs() local 120 if (!biostime(timebuf) && !biosdate(datebuf)) { in getsecs() 124 dst = timebuf[3]; in getsecs() 128 datebuf[3], timebuf[0], timebuf[1], timebuf[2]); in getsecs()
|
| /openbsd-src/sys/arch/amd64/stand/libsa/ |
| H A D | time.c | 117 u_int8_t timebuf[4], datebuf[4]; in getsecs() local 120 if (!biostime(timebuf) && !biosdate(datebuf)) { in getsecs() 124 dst = timebuf[3]; in getsecs() 128 datebuf[3], timebuf[0], timebuf[1], timebuf[2]); in getsecs()
|
| /openbsd-src/gnu/gcc/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()
|
| /openbsd-src/gnu/usr.bin/perl/dist/IO/ |
| H A D | poll.c | 48 struct timeval timebuf; in poll() local 86 timebuf.tv_sec = timeout / 1000; in poll() 87 timebuf.tv_usec = (timeout % 1000) * 1000; in poll() 88 tbuf = &timebuf; in poll()
|
| /openbsd-src/usr.bin/ftp/ |
| H A D | util.c | 620 struct tm timebuf; in remotemodtime() local 644 memset(&timebuf, 0, sizeof(timebuf)); in remotemodtime() 645 timebuf.tm_sec = sec; in remotemodtime() 646 timebuf.tm_min = min; in remotemodtime() 647 timebuf.tm_hour = hour; in remotemodtime() 648 timebuf.tm_mday = day; in remotemodtime() 649 timebuf.tm_mon = mo - 1; in remotemodtime() 650 timebuf.tm_year = yy - 1900; in remotemodtime() 651 timebuf.tm_isdst = -1; in remotemodtime() 652 rtime = mktime(&timebuf); in remotemodtime() [all …]
|
| /openbsd-src/usr.bin/systat/ |
| H A D | main.c | 72 char timebuf[26]; variable 118 strlcpy(timebuf, ctim + 11, sizeof(timebuf)); in print_header() 131 tmpbuf, hostname, timebuf); in print_header()
|
| H A D | systat.h | 63 extern char timebuf[];
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/binutils/ |
| H A D | bucomm.c | 370 char timebuf[40]; in print_arelt_descr() local 375 sprintf (timebuf, "%.12s %.4s", ctime_result + 4, ctime_result + 20); in print_arelt_descr() 382 (long) buf.st_size, timebuf); in print_arelt_descr()
|
| H A D | readelf.c | 5829 char timebuf[20]; in dynamic_section_mips_val() local 5834 snprintf (timebuf, sizeof (timebuf), "%04u-%02u-%02uT%02u:%02u:%02u", in dynamic_section_mips_val() 5837 printf ("Time Stamp: %s\n", timebuf); in dynamic_section_mips_val() 8721 char timebuf[20]; in process_mips_specific() local 8731 snprintf (timebuf, sizeof (timebuf), in process_mips_specific() 8741 printf (" %s %#10lx %-7ld", timebuf, liblist.l_checksum, in process_mips_specific() 9105 char timebuf[20]; in process_gnu_liblist() local 9115 snprintf (timebuf, sizeof (timebuf), in process_gnu_liblist() 9127 printf (" %s %#010lx %-7ld %-7ld\n", timebuf, liblist.l_checksum, in process_gnu_liblist()
|
| /openbsd-src/gnu/usr.bin/binutils/binutils/ |
| H A D | bucomm.c | 369 char timebuf[40]; in print_arelt_descr() local 374 sprintf (timebuf, "%.12s %.4s", ctime_result + 4, ctime_result + 20); in print_arelt_descr() 381 (long) buf.st_size, timebuf); in print_arelt_descr()
|
| H A D | readelf.c | 4292 char timebuf[20]; in dynamic_segment_mips_val() local 4297 sprintf (timebuf, "%04u-%02u-%02uT%02u:%02u:%02u", in dynamic_segment_mips_val() 4300 printf ("Time Stamp: %s\n", timebuf); in dynamic_segment_mips_val() 9523 char timebuf[20]; in process_mips_specific() local 9533 sprintf (timebuf, "%04u-%02u-%02uT%02u:%02u:%02u", in process_mips_specific() 9539 printf (" %s %#10lx %-7ld", timebuf, liblist.l_checksum, in process_mips_specific() 9895 char timebuf[20]; in process_gnu_liblist() local 9905 sprintf (timebuf, "%04u-%02u-%02uT%02u:%02u:%02u", in process_gnu_liblist() 9914 printf (" %s %#010lx %-7ld %-7ld\n", timebuf, liblist.l_checksum, in process_gnu_liblist()
|
| /openbsd-src/usr.sbin/snmpd/ |
| H A D | mib.y | 498 char timebuf[14] = ""; variable 503 snprintf(timebuf, sizeof(timebuf), 506 strlcpy(timebuf, $2, sizeof(timebuf)); 512 if (strptime(timebuf, "%Y%m%d%H%MZ", &tm) == NULL) {
|
| /openbsd-src/gnu/usr.bin/perl/win32/ |
| H A D | win32.c | 2462 win32_times(struct tms *timebuf) in win32_times() 2470 timebuf->tms_utime = filetime_to_clock(&user); in win32_times() 2471 timebuf->tms_stime = filetime_to_clock(&kernel); in win32_times() 2472 timebuf->tms_cutime = 0; in win32_times() 2473 timebuf->tms_cstime = 0; in win32_times() 2476 timebuf->tms_utime = process_time_so_far; in win32_times() 2477 timebuf->tms_stime = 0; in win32_times() 2478 timebuf->tms_cutime = 0; in win32_times() 2479 timebuf->tms_cstime = 0; 2458 win32_times(struct tms * timebuf) win32_times() argument
|
| H A D | win32iop.h | 134 DllExport int win32_times(struct tms *timebuf);
|
| H A D | perlhost.h | 1822 PerlProcTimes(struct IPerlProc* piPerl, struct tms *timebuf) in PerlProcFork() 1825 return win32_times(timebuf); in PerlProcFork() 1665 PerlProcTimes(struct IPerlProc * piPerl,struct tms * timebuf) PerlProcTimes() argument
|
| /openbsd-src/usr.sbin/bgpctl/ |
| H A D | bgpctl.c | 1396 static char timebuf[32]; in fmt_time() 1401 snprintf(timebuf, sizeof(timebuf), "%lld.%06ld", in fmt_time() 1404 return (timebuf); 1393 static char timebuf[32]; fmt_time() local
|
| /openbsd-src/gnu/usr.bin/perl/ |
| H A D | pp_sys.c | 1363 struct timeval timebuf; in PP() 1364 struct timeval *tbuf = &timebuf; in PP() 1447 timebuf.tv_sec = (time_t)value; in PP() 1448 value -= (NV)timebuf.tv_sec; in PP() 1449 timebuf.tv_usec = (long)(value * 1000000.0); in PP() 1520 value = (NV)(timebuf.tv_sec) + in PP() 1521 (NV)(timebuf.tv_usec) / 1000000.0; in PP() 1149 struct timeval timebuf; PP() local
|
| /openbsd-src/usr.sbin/unbound/daemon/ |
| H A D | remote.c | 2624 char timebuf[32]; in do_auth_zone_reload() 2637 get_mesh_age(m, timebuf, sizeof(timebuf), &worker->env); in do_auth_zone_reload() 2640 num, (t?t:"TYPE??"), (c?c:"CLASS??"), buf, timebuf, in do_auth_zone_reload() 2457 char timebuf[32]; do_dump_requestlist() local
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/ |
| H A D | ChangeLog.3 | 7102 * cpplib.h (struct cpp_reader): Remove timebuf.
|