Home
last modified time | relevance | path

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

/openbsd/usr.bin/cvs/
H A Dclient.c475 len = strlcpy(timebuf, "Initial ", sizeof(timebuf)); in cvs_client_sendfile()
479 len = strlcat(timebuf, cf->file_name, sizeof(timebuf)); in cvs_client_sendfile()
488 timebuf[strcspn(timebuf, "\n")] = '\0'; in cvs_client_sendfile()
491 sizeof(timebuf)); in cvs_client_sendfile()
494 len = strlcat(timebuf, "+=", sizeof(timebuf)); in cvs_client_sendfile()
653 len = strlcpy(timebuf, "Initial ", sizeof(timebuf)); in cvs_client_checkedin()
657 len = strlcat(timebuf, newent->ce_name, sizeof(timebuf)); in cvs_client_checkedin()
663 timebuf[strcspn(timebuf, "\n")] = '\0'; in cvs_client_checkedin()
740 timebuf[strcspn(timebuf, "\n")] = '\0'; in cvs_client_updated()
843 timebuf[strcspn(timebuf, "\n")] = '\0'; in cvs_client_merged()
[all …]
H A Dedit.c264 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()
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()
398 timebuf[strcspn(timebuf, "\n")] = '\0'; in cvs_unedit_local()
[all …]
H A Dstatus.c127 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 Dhistory.c73 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 Dcheckout.c494 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/sys/arch/amd64/stand/libsa/
H A Dtime.c117 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/sys/arch/i386/stand/libsa/
H A Dtime.c117 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/gnu/gcc/libgomp/config/mingw32/
H A Dtime.c37 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/gnu/usr.bin/perl/dist/IO/
H A Dpoll.c48 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/usr.bin/ftp/
H A Dutil.c620 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()
651 timebuf.tm_isdst = -1; in remotemodtime()
1089 timebuf.tv_sec = secs; in timed_connect()
1090 timebuf.tv_nsec = 0; in timed_connect()
[all …]
/openbsd/usr.bin/systat/
H A Dmain.c72 char timebuf[26]; variable
118 strlcpy(timebuf, ctim + 11, sizeof(timebuf)); in print_header()
131 tmpbuf, hostname, timebuf); in print_header()
H A Dsystat.h63 extern char timebuf[];
/openbsd/gnu/usr.bin/binutils/binutils/
H A Dbucomm.c369 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 Dreadelf.c4292 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/gnu/usr.bin/binutils-2.17/binutils/
H A Dbucomm.c370 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 Dreadelf.c5829 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/usr.sbin/snmpd/
H A Dmib.y498 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/gnu/usr.bin/perl/win32/
H A Dwin32.c2462 win32_times(struct tms *timebuf) in win32_times() argument
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; in win32_times()
H A Dwin32iop.h134 DllExport int win32_times(struct tms *timebuf);
H A Dperlhost.h1822 PerlProcTimes(struct IPerlProc* piPerl, struct tms *timebuf) in PerlProcTimes() argument
1825 return win32_times(timebuf); in PerlProcTimes()
/openbsd/usr.sbin/bgpctl/
H A Dbgpctl.c1396 static char timebuf[32]; in fmt_time() local
1401 snprintf(timebuf, sizeof(timebuf), "%lld.%06ld", in fmt_time()
1404 return (timebuf); in fmt_time()
/openbsd/gnu/usr.bin/perl/
H A Dpp_sys.c1363 struct timeval timebuf; variable
1364 struct timeval *tbuf = &timebuf;
1447 timebuf.tv_sec = (time_t)value;
1448 value -= (NV)timebuf.tv_sec;
1449 timebuf.tv_usec = (long)(value * 1000000.0);
1520 value = (NV)(timebuf.tv_sec) +
1521 (NV)(timebuf.tv_usec) / 1000000.0;
/openbsd/usr.sbin/unbound/daemon/
H A Dremote.c2624 char timebuf[32]; in do_dump_requestlist() local
2637 get_mesh_age(m, timebuf, sizeof(timebuf), &worker->env); in do_dump_requestlist()
2640 num, (t?t:"TYPE??"), (c?c:"CLASS??"), buf, timebuf, in do_dump_requestlist()
/openbsd/gnu/usr.bin/gcc/gcc/
H A DChangeLog.37102 * cpplib.h (struct cpp_reader): Remove timebuf.