Searched refs:timebuf (Results 1 - 25 of 34) sorted by relevance

12

/netbsd-current/external/gpl3/gcc.old/dist/libgomp/config/mingw32/
H A Dtime.c35 struct _timeb timebuf; local
36 _ftime (&timebuf);
37 return (timebuf.time + (long)(timebuf.millitm) / 1e3);
/netbsd-current/external/gpl3/gcc/dist/libgomp/config/mingw32/
H A Dtime.c35 struct _timeb timebuf; local
36 _ftime (&timebuf);
37 return (timebuf.time + (long)(timebuf.millitm) / 1e3);
/netbsd-current/games/warp/
H A Dutil.h18 /* we get fractions of seconds from calling ftime on timebuf */
20 extern struct timespec timebuf;
21 #define roundsleep(x) (clock_gettime(CLOCK_REALTIME, &timebuf),sleep(timebuf.tv_nsec > (500 * 1000 * 1000) ?x+1:x))
H A Dutil.c24 struct timespec timebuf; variable in typeref:struct:timespec
/netbsd-current/usr.bin/finger/
H A Dlprint.c177 char timebuf[128], ttybuf[64], hostbuf[512]; local
206 (void)snprintf(timebuf, sizeof(timebuf), "%s: %s, %s",
208 oddfield = demi_print(timebuf, oddfield);
211 (void)snprintf(timebuf, sizeof(timebuf), "%s: %s",
213 oddfield = demi_print(timebuf, oddfield);
216 (void)snprintf(timebuf, sizeof(timebuf), "%s: %s",
218 oddfield = demi_print(timebuf, oddfiel
[all...]
/netbsd-current/external/cddl/osnet/dist/cmd/zlook/
H A Dzlook.c143 char timebuf[512]; local
154 timebuf[0] = 0;
155 if (ctime_r(&sb->st_atime, timebuf, 512)) {
157 (void) printf("%s", timebuf);
159 timebuf[0] = 0;
160 if (ctime_r(&sb->st_mtime, timebuf, 512)) {
162 (void) printf("%s", timebuf);
164 timebuf[0] = 0;
165 if (ctime_r(&sb->st_ctime, timebuf, 512)) {
167 (void) printf("%s", timebuf);
[all...]
/netbsd-current/external/bsd/ppp/dist/pppd/plugins/pppoe/
H A Ddebug.c95 char timebuf[256]; local
103 strftime(timebuf, 256, "%H:%M:%S", lt);
104 fprintf(fp, "%s.%03d %s PPPoE ", timebuf, millisec, dir);
/netbsd-current/external/bsd/openldap/dist/servers/slapd/
H A Dschema.c125 char timebuf[ LDAP_LUTIL_GENTIME_BUFSIZE ]; local
138 vals[0].bv_val = timebuf;
139 vals[0].bv_len = sizeof( timebuf );
H A Dadd.c603 char timebuf[ LDAP_LUTIL_GENTIME_BUFSIZE ]; local
611 timestamp.bv_val = timebuf;
632 AC_MEMCPY( timebuf, csn.bv_val, timestamp.bv_len );
633 timebuf[timestamp.bv_len-1] = 'Z';
634 timebuf[timestamp.bv_len] = '\0';
638 timestamp.bv_len = sizeof(timebuf);
H A Dslapadd.c219 char timebuf[ LDAP_LUTIL_GENTIME_BUFSIZE ]; local
237 timestamp.bv_val = timebuf;
238 timestamp.bv_len = sizeof(timebuf);
H A Dmodify.c877 char timebuf[ LDAP_LUTIL_GENTIME_BUFSIZE ]; local
884 timestamp.bv_val = timebuf;
928 AC_MEMCPY( timebuf, csn.bv_val, timestamp.bv_len );
929 timebuf[timestamp.bv_len-1] = 'Z';
930 timebuf[timestamp.bv_len] = '\0';
935 timestamp.bv_len = sizeof(timebuf);
H A Dslapmodify.c477 char timebuf[ LDAP_LUTIL_GENTIME_BUFSIZE ]; local
490 timestamp.bv_val = timebuf;
491 timestamp.bv_len = sizeof(timebuf);
/netbsd-current/lib/libwrap/
H A Drfc931.c45 static jmp_buf timebuf; variable
75 longjmp(timebuf, sig);
147 if (setjmp(timebuf) == 0) {
/netbsd-current/external/gpl3/binutils.old/dist/binutils/
H A Dbucomm.c451 char timebuf[40];
458 sprintf (timebuf, _("<time data corrupt>"));
461 sprintf (timebuf, "%.12s %.4s", ctime_result + 4, ctime_result + 20);
469 size, timebuf);
447 char timebuf[40]; local
/netbsd-current/external/gpl3/binutils/dist/binutils/
H A Dbucomm.c459 char timebuf[40];
466 sprintf (timebuf, _("<time data corrupt>"));
469 sprintf (timebuf, "%.12s %.4s", ctime_result + 4, ctime_result + 20);
477 size, timebuf);
455 char timebuf[40]; local
/netbsd-current/external/gpl3/gdb.old/dist/binutils/
H A Dbucomm.c451 char timebuf[40];
458 sprintf (timebuf, _("<time data corrupt>"));
461 sprintf (timebuf, "%.12s %.4s", ctime_result + 4, ctime_result + 20);
469 size, timebuf);
447 char timebuf[40]; local
/netbsd-current/external/bsd/tcpdump/dist/
H A Dutil-print.c238 char timebuf[32]; local
252 timestr = nd_format_time(timebuf, sizeof(timebuf),
255 timestr = nd_format_time(timebuf, sizeof(timebuf),
/netbsd-current/external/mpl/bind/dist/bin/dnssec/
H A Ddnssec-settime.c128 char timebuf[80]; local
135 flen = strftime(timebuf, sizeof(timebuf),
137 INSIST(flen > 0U && flen < sizeof(timebuf));
138 fprintf(stream, "%s\n", timebuf);
H A Ddnssec-cds.c156 isc_buffer_t timebuf; local
163 isc_buffer_init(&timebuf, timestr, sizeof(timestr));
164 result = dns_time64_totext(time, &timebuf);
166 isc_buffer_putuint8(&timebuf, 0);
/netbsd-current/external/bsd/openldap/dist/servers/slapd/overlays/
H A Daccesslog.c690 char timebuf[LDAP_LUTIL_GENTIME_BUFSIZE]; local
702 ava.aa_value.bv_val = timebuf;
703 ava.aa_value.bv_len = sizeof(timebuf);
1511 char timebuf[LDAP_LUTIL_GENTIME_BUFSIZE+8]; local
1593 bv.bv_len = snprintf( timebuf, sizeof( timebuf ), "%d", rs->sr_err );
1594 if ( bv.bv_len < sizeof( timebuf ) ) {
1595 bv.bv_val = timebuf;
1838 bv.bv_val = timebuf;
1839 bv.bv_len = snprintf( bv.bv_val, sizeof( timebuf ), "
[all...]
H A Dppolicy.c1363 make_pwd_history_value( char *timebuf, struct berval *bv, Attribute *pa ) argument
1369 "%s#%s#%lu#", timebuf,
2308 char timebuf[ LDAP_LUTIL_GENTIME_BUFSIZE ]; local
2311 timestamp.bv_val = timebuf;
2312 timestamp.bv_len = sizeof(timebuf);
2837 char timebuf[ LDAP_LUTIL_GENTIME_BUFSIZE ]; local
2862 timestamp.bv_val = timebuf;
2863 timestamp.bv_len = sizeof(timebuf);
3032 make_pwd_history_value( timebuf, &mods->sml_values[0], pa );
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/rbac/
H A Dutil.c462 timestamp.bv_val = timebuf;
463 timestamp.bv_len = sizeof(timebuf);
/netbsd-current/usr.bin/ftp/
H A Dutil.c712 struct tm timebuf; local
745 memset(&timebuf, 0, sizeof(timebuf));
747 (strptime(timestr, "%Y%m%d%H%M%S", &timebuf) == NULL)) {
752 timebuf.tm_isdst = -1;
753 rtime = timegm(&timebuf);
/netbsd-current/external/gpl2/lvm2/dist/lib/commands/
H A Dtoolcontext.c129 char timebuf[26]; local
189 ctime_r(&t, &timebuf[0]);
190 timebuf[24] = '\0';
191 log_verbose("Logging initialised at %s", timebuf);
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/nssov/
H A Dpam.c579 char timebuf[LDAP_LUTIL_GENTIME_BUFSIZE]; local
603 timestamp.bv_len = sizeof(timebuf);
604 timestamp.bv_val = timebuf;

Completed in 242 milliseconds

12