| /netbsd-src/usr.bin/finger/ |
| H A D | lprint.c | 177 char timebuf[128], ttybuf[64], hostbuf[512]; in lprint() local 206 (void)snprintf(timebuf, sizeof(timebuf), "%s: %s, %s", in lprint() 208 oddfield = demi_print(timebuf, oddfield); in lprint() 211 (void)snprintf(timebuf, sizeof(timebuf), "%s: %s", in lprint() 213 oddfield = demi_print(timebuf, oddfield); in lprint() 216 (void)snprintf(timebuf, sizeof(timebuf), "%s: %s", in lprint() 218 oddfield = demi_print(timebuf, oddfield); in lprint() 222 (void)snprintf(timebuf, sizeof(timebuf), "%s: %s", "Home Phone", in lprint() 224 oddfield = demi_print(timebuf, oddfield); in lprint() 252 fmt_time(timebuf, sizeof(timebuf), w->loginat, -1); in lprint() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgomp/config/mingw32/ |
| H A D | time.c | 35 struct _timeb timebuf; in omp_get_wtime() local 36 _ftime (&timebuf); in omp_get_wtime() 37 return (timebuf.time + (long)(timebuf.millitm) / 1e3); in omp_get_wtime()
|
| /netbsd-src/external/gpl3/gcc/dist/libgomp/config/mingw32/ |
| H A D | time.c | 35 struct _timeb timebuf; in omp_get_wtime() local 36 _ftime (&timebuf); in omp_get_wtime() 37 return (timebuf.time + (long)(timebuf.millitm) / 1e3); in omp_get_wtime()
|
| /netbsd-src/external/cddl/osnet/dist/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()
|
| /netbsd-src/games/warp/ |
| H A D | util.h | 20 extern struct timespec timebuf; 21 #define roundsleep(x) (clock_gettime(CLOCK_REALTIME, &timebuf),sleep(timebuf.tv_nsec > (500 * 1000 …
|
| H A D | util.c | 24 struct timespec timebuf; variable
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/ |
| H A D | schema.c | 125 char timebuf[ LDAP_LUTIL_GENTIME_BUFSIZE ]; in schema_info() local 138 vals[0].bv_val = timebuf; in schema_info() 139 vals[0].bv_len = sizeof( timebuf ); in schema_info()
|
| H A D | add.c | 603 char timebuf[ LDAP_LUTIL_GENTIME_BUFSIZE ]; in slap_add_opattrs() local 611 timestamp.bv_val = timebuf; in slap_add_opattrs() 632 AC_MEMCPY( timebuf, csn.bv_val, timestamp.bv_len ); in slap_add_opattrs() 633 timebuf[timestamp.bv_len-1] = 'Z'; in slap_add_opattrs() 634 timebuf[timestamp.bv_len] = '\0'; in slap_add_opattrs() 638 timestamp.bv_len = sizeof(timebuf); in slap_add_opattrs()
|
| H A D | slapadd.c | 219 char timebuf[ LDAP_LUTIL_GENTIME_BUFSIZE ]; in getrec0() local 237 timestamp.bv_val = timebuf; in getrec0() 238 timestamp.bv_len = sizeof(timebuf); in getrec0()
|
| H A D | modify.c | 877 char timebuf[ LDAP_LUTIL_GENTIME_BUFSIZE ]; in slap_mods_opattrs() local 884 timestamp.bv_val = timebuf; in slap_mods_opattrs() 928 AC_MEMCPY( timebuf, csn.bv_val, timestamp.bv_len ); in slap_mods_opattrs() 929 timebuf[timestamp.bv_len-1] = 'Z'; in slap_mods_opattrs() 930 timebuf[timestamp.bv_len] = '\0'; in slap_mods_opattrs() 935 timestamp.bv_len = sizeof(timebuf); in slap_mods_opattrs()
|
| H A D | slapmodify.c | 477 char timebuf[ LDAP_LUTIL_GENTIME_BUFSIZE ]; in slapmodify() local 490 timestamp.bv_val = timebuf; in slapmodify() 491 timestamp.bv_len = sizeof(timebuf); in slapmodify()
|
| /netbsd-src/lib/libwrap/ |
| H A D | rfc931.c | 45 static jmp_buf timebuf; variable 75 longjmp(timebuf, sig); in timeout() 147 if (setjmp(timebuf) == 0) { in rfc931()
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/overlays/ |
| H A D | accesslog.c | 690 char timebuf[LDAP_LUTIL_GENTIME_BUFSIZE]; in accesslog_purge() local 702 ava.aa_value.bv_val = timebuf; in accesslog_purge() 703 ava.aa_value.bv_len = sizeof(timebuf); in accesslog_purge() 1511 char timebuf[LDAP_LUTIL_GENTIME_BUFSIZE+8]; in accesslog_response() local 1593 bv.bv_len = snprintf( timebuf, sizeof( timebuf ), "%d", rs->sr_err ); in accesslog_response() 1594 if ( bv.bv_len < sizeof( timebuf ) ) { in accesslog_response() 1595 bv.bv_val = timebuf; in accesslog_response() 1838 bv.bv_val = timebuf; in accesslog_response() 1839 bv.bv_len = snprintf( bv.bv_val, sizeof( timebuf ), "%d", rs->sr_nentries ); in accesslog_response() 1840 if ( bv.bv_len < sizeof( timebuf ) ) { in accesslog_response() [all …]
|
| H A D | ppolicy.c | 1363 make_pwd_history_value( char *timebuf, struct berval *bv, Attribute *pa ) in make_pwd_history_value() argument 1369 "%s#%s#%lu#", timebuf, in make_pwd_history_value() 2308 char timebuf[ LDAP_LUTIL_GENTIME_BUFSIZE ]; in ppolicy_add() local 2311 timestamp.bv_val = timebuf; in ppolicy_add() 2312 timestamp.bv_len = sizeof(timebuf); in ppolicy_add() 2837 char timebuf[ LDAP_LUTIL_GENTIME_BUFSIZE ]; in ppolicy_modify() local 2862 timestamp.bv_val = timebuf; in ppolicy_modify() 2863 timestamp.bv_len = sizeof(timebuf); in ppolicy_modify() 3032 make_pwd_history_value( timebuf, &mods->sml_values[0], pa ); in ppolicy_modify()
|
| /netbsd-src/external/gpl3/binutils.old/dist/binutils/ |
| H A D | bucomm.c | 455 char timebuf[40]; in print_arelt_descr() local 462 sprintf (timebuf, _("<time data corrupt>")); in print_arelt_descr() 465 sprintf (timebuf, "%.12s %.4s", ctime_result + 4, ctime_result + 20); in print_arelt_descr() 473 size, timebuf); in print_arelt_descr()
|
| H A D | readelf.c | 10615 char timebuf[128]; in dynamic_section_mips_val() local 10622 snprintf (timebuf, sizeof (timebuf), _("<corrupt>")); in dynamic_section_mips_val() 10624 snprintf (timebuf, sizeof (timebuf), "%04u-%02u-%02uT%02u:%02u:%02u", in dynamic_section_mips_val() 10627 printf (_("Time Stamp: %s"), timebuf); in dynamic_section_mips_val() 18526 char timebuf[128]; in process_mips_specific() local 18536 snprintf (timebuf, sizeof (timebuf), in process_mips_specific() 18546 printf (" %s %#10lx %-7ld", timebuf, liblist.l_checksum, in process_mips_specific() 19255 char timebuf[128]; in process_gnu_liblist() local 19265 snprintf (timebuf, sizeof (timebuf), in process_gnu_liblist() 19277 printf (" %s %#010lx %-7ld %-7ld\n", timebuf, liblist.l_checksum, in process_gnu_liblist()
|
| /netbsd-src/external/gpl3/binutils/dist/binutils/ |
| H A D | bucomm.c | 455 char timebuf[40]; in print_arelt_descr() local 461 sprintf (timebuf, _("<time data corrupt>")); in print_arelt_descr() 464 sprintf (timebuf, "%.12s %.4s", ctime_result + 4, ctime_result + 20); in print_arelt_descr() 471 (uint64_t) buf.st_size, timebuf); in print_arelt_descr()
|
| H A D | readelf.c | 11164 char timebuf[128]; in dynamic_section_mips_val() local 11171 snprintf (timebuf, sizeof (timebuf), _("<corrupt>")); in dynamic_section_mips_val() 11173 snprintf (timebuf, sizeof (timebuf), "%04u-%02u-%02uT%02u:%02u:%02u", in dynamic_section_mips_val() 11176 printf (_("Time Stamp: %s"), timebuf); in dynamic_section_mips_val() 19258 char timebuf[128]; in process_mips_specific() local 19268 snprintf (timebuf, sizeof (timebuf), in process_mips_specific() 19278 printf (" %s %#10lx %-7ld", timebuf, liblist.l_checksum, in process_mips_specific() 19995 char timebuf[128]; in process_gnu_liblist() local 20005 snprintf (timebuf, sizeof (timebuf), in process_gnu_liblist() 20017 printf (" %s %#010lx %-7ld %-7ld\n", timebuf, liblist.l_checksum, in process_gnu_liblist()
|
| /netbsd-src/usr.bin/ftp/ |
| H A D | util.c | 712 struct tm timebuf; in remotemodtime() local 745 memset(&timebuf, 0, sizeof(timebuf)); in remotemodtime() 747 (strptime(timestr, "%Y%m%d%H%M%S", &timebuf) == NULL)) { in remotemodtime() 752 timebuf.tm_isdst = -1; in remotemodtime() 753 rtime = timegm(&timebuf); in remotemodtime()
|
| /netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/rbac/ |
| H A D | util.c | 462 timestamp.bv_val = timebuf; in rbac_check_time_constraint() 463 timestamp.bv_len = sizeof(timebuf); in rbac_check_time_constraint()
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/commands/ |
| H A D | toolcontext.c | 129 char timebuf[26]; in _init_logging() local 189 ctime_r(&t, &timebuf[0]); in _init_logging() 190 timebuf[24] = '\0'; in _init_logging() 191 log_verbose("Logging initialised at %s", timebuf); in _init_logging()
|
| /netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/nssov/ |
| H A D | pam.c | 579 char timebuf[LDAP_LUTIL_GENTIME_BUFSIZE]; in pam_sess() local 603 timestamp.bv_len = sizeof(timebuf); in pam_sess() 604 timestamp.bv_val = timebuf; in pam_sess()
|
| /netbsd-src/external/cddl/osnet/dist/cmd/ztest/ |
| H A D | ztest.c | 5914 print_time(hrtime_t t, char *timebuf) in print_time() argument 5925 timebuf[0] = '\0'; in print_time() 5928 (void) sprintf(timebuf, in print_time() 5931 (void) sprintf(timebuf, "%lluh%02llum%02llus", h, m, s); in print_time() 5933 (void) sprintf(timebuf, "%llum%02llus", m, s); in print_time() 5935 (void) sprintf(timebuf, "%llus", s); in print_time() 6192 char timebuf[100]; in main() local 6329 print_time(zs->zs_proc_stop - now, timebuf); in main() 6340 (ztest_opts.zo_time * NANOSEC), timebuf); in main() 6354 print_time(zc->zc_time, timebuf); in main() [all …]
|
| /netbsd-src/external/bsd/openldap/dist/libraries/libldap/ |
| H A D | request.c | 854 char timebuf[32]; in ldap_dump_connection() local 886 ldap_pvt_ctime( &lc->lconn_lastused, timebuf ), in ldap_dump_connection()
|
| /netbsd-src/external/bsd/unbound/dist/daemon/ |
| H A D | remote.c | 2414 char timebuf[32]; in do_dump_requestlist() local 2427 get_mesh_age(m, timebuf, sizeof(timebuf), &worker->env); in do_dump_requestlist() 2430 num, (t?t:"TYPE??"), (c?c:"CLASS??"), buf, timebuf, in do_dump_requestlist()
|