/netbsd-6-1-5-RELEASE/sys/kern/ |
H A D | kern_pax.c | 389 struct timeval tv; local 412 microtime(&tv); 431 up->sue_expiry = tv.tv_sec + pax_segvguard_expiry; 460 up->sue_expiry = tv.tv_sec + pax_segvguard_expiry; 470 if (up->sue_expiry < tv.tv_sec) { 475 up->sue_expiry = tv.tv_sec + pax_segvguard_expiry; 490 up->sue_suspended = tv.tv_sec + pax_segvguard_suspension; 496 if (up->sue_suspended > tv.tv_sec) {
|
/netbsd-6-1-5-RELEASE/usr.sbin/ypserv/ypxfr/ |
H A D | ypxfr.c | 585 struct timeval tv; local 591 tv.tv_sec = 10; 592 tv.tv_usec = 0; 595 r = clnt_call(client, YPPROC_CLEAR, xdr_void, 0, xdr_void, 0, tv); 607 struct timeval tv; local 611 tv.tv_sec = 10; 612 tv.tv_usec = 0; 619 xdr_void, 0, tv);
|
/netbsd-6-1-5-RELEASE/bin/pax/ |
H A D | file_subs.c | 791 struct timeval tv[2]; local 794 tv[0].tv_sec = (long)atime; 795 tv[0].tv_usec = 0; 796 tv[1].tv_sec = (long)mtime; 797 tv[1].tv_usec = 0; 806 TIMESPEC_TO_TIMEVAL(&tv[0], &sb.st_atimespec); 808 TIMESPEC_TO_TIMEVAL(&tv[1], &sb.st_mtimespec); 811 tv[0].tv_sec = sb.st_atime; 813 tv[1].tv_sec = sb.st_mtime; 823 if (lutimes(fnm, tv) [all...] |
/netbsd-6-1-5-RELEASE/dist/nvi/ex/ |
H A D | ex_script.c | 207 struct timeval tv; local 221 tv.tv_sec = 5; 222 tv.tv_usec = 0; 225 switch (select(sc->sh_master + 1, &fdset, NULL, NULL, &tv)) { 268 tv.tv_sec = 0; 269 tv.tv_usec = 100000; 270 switch (select(sc->sh_master + 1, &fdset, NULL, NULL, &tv)) { 469 struct timeval tv; local 523 tv.tv_sec = 0; 524 tv [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/ld/ |
H A D | plugin.c | 104 /* List of tags to set in the constant leading part of the tv array. */ 124 /* How many entries in the constant leading part of the tv array. */ 633 /* Helper to size leading part of tv array and set it up. */ 635 set_tv_header (struct ld_plugin_tv *tv) argument 643 if (!tv) 648 tv[i].tv_tag = tv_header_tags[i]; 649 #define TVU(x) tv[i].tv_u.tv_ ## x 650 switch (tv[i].tv_tag) 709 /* Append the per-plugin args list and trailing LDPT_NULL to tv. */ 711 set_tv_plugin_args (plugin_t *plugin, struct ld_plugin_tv *tv) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/compat/ndis/ |
H A D | subr_ntoskrnl.c | 1040 struct timeval tv; local 1041 microtime(&tv); 1042 TIMEVAL_TO_TIMESPEC(&tv,&ts); 1118 struct timeval tv; local 1180 tv.tv_sec = - (*duetime) / 10000000; 1181 tv.tv_usec = (- (*duetime) / 10) - 1182 (tv.tv_sec * 1000000); 1186 tv.tv_sec = tv.tv_usec = 0; 1188 tv 1251 struct timeval tv; local 2151 struct timeval tv; local 2462 struct timeval tv; local 2589 struct timeval tv; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/dbus/ |
H A D | dbus_service.c | 121 struct timeval tv; member in struct:dbto_s 582 gettimeofday(&(to->tv),0L); 585 to->tv.tv_sec = 0 ; 586 to->tv.tv_usec = 0 ; 640 gettimeofday(&(to->tv),0L); 643 to->tv.tv_sec = 0 ; 644 to->tv.tv_usec = 0 ; 659 struct timeval tv; local 664 gettimeofday(&tv,0L); 673 then = ((float)to->tv [all...] |
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/ |
H A D | dump.c | 138 struct timeval tv; local 163 gettimeofday(&tv, NULL); 164 sf_hdr.ts.tv_sec = tv.tv_sec; 165 sf_hdr.ts.tv_usec = tv.tv_usec;
|
/netbsd-6-1-5-RELEASE/dist/dhcp/omapip/ |
H A D | support.c | 388 omapi_typed_data_t *tv = (omapi_typed_data_t *)0; local 396 status = omapi_typed_data_new (MDL, &tv, omapi_datatype_int, value); 402 status = omapi_set_value (h, id, n, tv); 404 omapi_typed_data_dereference (&tv, MDL); 412 omapi_typed_data_t *tv = (omapi_typed_data_t *)0; local 420 status = omapi_typed_data_new (MDL, &tv, omapi_datatype_int, value); 426 status = omapi_set_value (h, id, n, tv); 428 omapi_typed_data_dereference (&tv, MDL); 436 omapi_typed_data_t *tv = (omapi_typed_data_t *)0; local 444 status = omapi_typed_data_new (MDL, &tv, omapi_datatype_objec 460 omapi_typed_data_t *tv = (omapi_typed_data_t *)0; local [all...] |
/netbsd-6-1-5-RELEASE/dist/nvi/dist/ |
H A D | port.h.in | 39 #define gettimeofday(tv, tz) gettimeofday(tv)
|
/netbsd-6-1-5-RELEASE/external/bsd/libevent/dist/test/ |
H A D | regress_http.c | 308 struct timeval tv; local 337 timerclear(&tv); 338 tv.tv_usec = 10000; 339 event_once(-1, EV_TIMEOUT, http_complete_write, bev, &tv); 396 struct timeval tv; local 397 timerclear(&tv); 398 tv.tv_sec = 3; 400 event_once(-1, EV_TIMEOUT, http_delay_reply, req, &tv); 850 struct timeval tv; local 859 timerclear(&tv); 887 struct timeval tv; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/libpcap/dist/ |
H A D | pcap-snf.c | 87 struct timeval tv; local 91 tv.tv_sec = ts_nanosec / _NSEC_PER_SEC; 92 tv.tv_usec = (ts_nanosec % _NSEC_PER_SEC) / 1000; 93 return tv;
|
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libntp/ |
H A D | ntp_random.c | 303 struct timeval tv; local 306 GETTIMEOFDAY(&tv, NULL); 307 ntp_srandom(getpid() ^ tv.tv_sec ^ tv.tv_usec ^ junk);
|
H A D | systime.c | 97 struct timeval tv; /* seconds and microseconds */ local 103 GETTIMEOFDAY(&tv, NULL); 104 now->l_i = tv.tv_sec + JAN_1970; 110 dtemp = (tv.tv_usec + dtemp) * 1e-6;
|
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/clients/tools/ |
H A D | ldapcompare.c | 298 struct timeval tv; local 300 tv.tv_sec = 0; 301 tv.tv_usec = 100000; 307 rc = ldap_result( ld, LDAP_RES_ANY, LDAP_MSG_ALL, &tv, &res );
|
H A D | ldapexop.c | 215 struct timeval tv; local 221 tv.tv_sec = 0; 222 tv.tv_usec = 100000; 224 rc = ldap_result( ld, LDAP_RES_ANY, LDAP_MSG_ALL, &tv, &res );
|
H A D | ldapmodrdn.c | 274 struct timeval tv = { 0, 0 }; local 280 tv.tv_sec = 0; 281 tv.tv_usec = 100000; 283 rc = ldap_result( ld, LDAP_RES_ANY, LDAP_MSG_ALL, &tv, &res );
|
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/libraries/liblutil/ |
H A D | meter.c | 83 struct timeval tv; local 86 gettimeofday( &tv, NULL ); 87 *now = ((double) tv.tv_sec) + (((double) tv.tv_usec) / 1000000.0);
|
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-ldap/ |
H A D | search.c | 160 struct timeval tv; local 188 tv.tv_sec = op->ors_tlimit; 189 tv.tv_usec = 0; 193 LDAP_BACK_TV_SET( &tv ); 226 tv.tv_sec ? &tv : NULL, 268 if ( tv.tv_sec == 0 || tv.tv_sec > li->li_timeout[ SLAP_OP_SEARCH ] ) { 269 tv.tv_sec = li->li_timeout[ SLAP_OP_SEARCH ]; 270 tv [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/l2_packet/ |
H A D | l2_packet_privsep.c | 145 struct timeval tv; local 196 tv.tv_sec = 5; 197 tv.tv_usec = 0; 198 res = select(l2->fd + 1, &rfds, NULL, NULL, &tv);
|
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/utils/ |
H A D | os_internal.c | 42 struct timeval tv; local 43 res = gettimeofday(&tv, NULL); 44 t->sec = tv.tv_sec; 45 t->usec = tv.tv_usec;
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/ |
H A D | ser-base.c | 191 struct timeval tv; local 198 tv.tv_sec = timeout; 199 tv.tv_usec = 0; 207 numfds = gdb_select (scb->fd + 1, &readfds, 0, &exceptfds, &tv);
|
/netbsd-6-1-5-RELEASE/regress/sys/kern/sleeping/ |
H A D | sleeptest.c | 67 struct timeval tv; local 121 TIMESPEC_TO_TIMEVAL(&tv, &tslp); 122 if (select(0, NULL, NULL, NULL, &tv) == -1) { 134 TIMESPEC_TO_TIMEVAL(&tv, &tslp);
|
/netbsd-6-1-5-RELEASE/games/cribbage/ |
H A D | support.c | 52 static const int tv[NTV] = {8, 7, 9, 6, 11, 12, 13, 14, 10, 5}; variable 89 if ((j = anysumto(h, n, s, tv[i])) >= 0) { 90 if ((l = numofval(h, n, 15 - tv[i])) > 0) { 92 VAL(h[j].rank) != 15 - tv[i])
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/lm32/ |
H A D | dv-lm32uart.c | 208 struct timeval tv; local 236 tv.tv_sec = 0; 237 tv.tv_usec = 1; 238 if (select (fileno (stdin) + 1, &fd, NULL, NULL, &tv))
|