/netbsd-6-1-5-RELEASE/sys/arch/mips/alchemy/dev/ |
H A D | aurtc.c | 141 aurtc_gettime(todr_chip_handle_t tch, struct timeval *tv) argument 146 tv->tv_sec = GETREG(PC_COUNTER_READ_0); 155 struct timeval tv; local 158 tv = *tvp; 166 PUTREG(PC_COUNTER_WRITE0, tv.tv_sec);
|
/netbsd-6-1-5-RELEASE/sys/arch/dreamcast/dev/g2/ |
H A D | g2rtc.c | 122 g2rtc_todr_gettime(todr_chip_handle_t handle, struct timeval *tv) argument 140 tv->tv_sec = new - G2RTC_OFFSET; 141 tv->tv_usec = 0; 152 g2rtc_todr_settime(todr_chip_handle_t handle, struct timeval *tv) argument 158 secs = (uint32_t)tv->tv_sec + G2RTC_OFFSET;
|
/netbsd-6-1-5-RELEASE/usr.sbin/ypset/ |
H A D | ypset.c | 113 struct timeval tv; local 130 tv.tv_sec = 15; 131 tv.tv_usec = 0; 134 client = clntudp_create(sin, YPBINDPROG, YPBINDVERS, tv, &sock); 142 xdr_ypbind_setdom, &ypsd, xdr_void, NULL, tv);
|
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/lib/libdtrace/common/ |
H A D | dt_work.c | 54 struct timespec tv; local 86 tv.tv_sec = (earliest - now) / NANOSEC; 87 tv.tv_nsec = (earliest - now) % NANOSEC; 90 * Wait for either 'tv' nanoseconds to pass or to receive notification 94 (void) pthread_cond_reltimedwait_np(&dph->dph_cv, &dph->dph_lock, &tv); 97 clock_gettime(CLOCK_REALTIME,&tv); 98 tv.tv_sec += earliest / NANOSEC; 99 tv.tv_nsec += earliest % NANOSEC; 100 while (tv.tv_nsec > NANOSEC) { 101 tv [all...] |
/netbsd-6-1-5-RELEASE/usr.sbin/yppoll/ |
H A D | yppoll.c | 151 static struct timeval tv = { 10, 0 }; local 157 return clntudp_create(sin, prog, vers, tv, &fd); 167 struct timeval tv; local 195 tv.tv_sec = 10; 196 tv.tv_usec = 0; 199 &yprnk, xdr_ypresp_order, &ypro, tv); 211 xdr_ypreq_nokey, &yprnk, xdr_ypresp_master, &yprm, tv);
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
H A D | rand-fortuna.c | 221 struct timeval tv; local 224 gettimeofday(&tv, NULL); 228 if (tv.tv_sec > last->tv_sec + 1) 230 else if (tv.tv_sec == last->tv_sec + 1) 232 if (1000000 + tv.tv_usec - last->tv_usec >= RESEED_INTERVAL) 235 else if (tv.tv_usec - last->tv_usec >= RESEED_INTERVAL) 240 memcpy(last, &tv, sizeof(tv)); 242 memset(&tv, 0, sizeof(tv)); 540 struct timeval tv; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/libevent/dist/ |
H A D | event.h | 400 @param tv the amount of time after which the loop should terminate. 417 @param tv the amount of time after which the loop should terminate. 457 @param tv timeval struct 459 #define evtimer_add(ev, tv) event_add(ev, tv) 478 #define evtimer_pending(ev, tv) event_pending(ev, EV_TIMEOUT, tv) 485 * @param tv the timeout value, in seconds 487 #define timeout_add(ev, tv) event_add(ev, tv) [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/libevent/dist/test/ |
H A D | regress.c | 211 struct timeval tv; local 216 evutil_timersub(&tcalled, &tset, &tv); 218 evutil_timersub(&tset, &tcalled, &tv); 220 diff = tv.tv_sec*1000 + tv.tv_usec/1000 - interval; 520 struct timeval tv; local 525 tv.tv_usec = 0; 526 tv.tv_sec = SECONDS; 528 evtimer_add(&ev, &tv); 542 struct timeval tv; local 864 struct timeval tv = {5, 0}; local 880 struct timeval tv = {0, 0}; local 939 struct timeval tv, tv_start, tv_end; local 969 struct timeval tv; local 1010 struct timeval tv; local 1235 struct timeval tv; local 1253 struct timeval tv; local 1361 struct timeval tv; local 1428 struct timeval tv; local [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/touch/ |
H A D | touch.c | 69 struct timeval tv[2]; local 78 if (gettimeofday(&tv[0], NULL)) 99 stime_file(optarg, tv); 103 stime_arg1(optarg, tv); 134 stime_arg2(*argv++, len == 10, tv); 140 tv[1] = tv[0]; 165 TIMESPEC_TO_TIMEVAL(&tv[0], &sb.st_atimespec); 167 TIMESPEC_TO_TIMEVAL(&tv[1], &sb.st_mtimespec); 170 if (!(*change_file_times)(*argv, tv)) [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gold/ |
H A D | plugin.cc | 135 ld_plugin_tv* tv = new ld_plugin_tv[tv_size]; local 140 tv[i].tv_tag = LDPT_MESSAGE; 141 tv[i].tv_u.tv_message = message; 144 tv[i].tv_tag = LDPT_API_VERSION; 145 tv[i].tv_u.tv_val = LD_PLUGIN_API_VERSION; 148 tv[i].tv_tag = LDPT_GOLD_VERSION; 149 tv[i].tv_u.tv_val = major * 100 + minor; 152 tv[i].tv_tag = LDPT_LINKER_OUTPUT; 154 tv[i].tv_u.tv_val = LDPO_REL; 156 tv[ [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/binutils/ |
H A D | rename.c | 112 struct timeval tv[2]; local 114 tv[0].tv_sec = statbuf->st_atime; 115 tv[0].tv_usec = 0; 116 tv[1].tv_sec = statbuf->st_mtime; 117 tv[1].tv_usec = 0; 118 result = utimes (destination, tv);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/rx/ |
H A D | syscalls.c | 263 struct timeval tv; local 265 rv = gettimeofday (&tv, 0); 267 printf ("gettimeofday: %ld sec %ld usec to 0x%x\n", tv.tv_sec, 268 tv.tv_usec, tvaddr); 269 mem_put_si (tvaddr, tv.tv_sec); 270 mem_put_si (tvaddr + 4, tv.tv_usec);
|
/netbsd-6-1-5-RELEASE/external/bsd/dhcpcd/dist/ |
H A D | ipv6ns.c | 183 struct timeval tv, rtv; local 226 ms_to_tv(&tv, rap->retrans ? rap->retrans : RETRANS_TIMER); 228 timeradd(&tv, &rtv, &tv); 231 timeradd(&tv, &rtv, &tv); 232 add_timeout_tv(&tv, ipv6ns_sendprobe, rap); 253 struct timeval tv; local 352 ms_to_tv(&tv, rap->reachable); 354 tv [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/usermode/dev/ |
H A D | clock.c | 134 clock_todr_gettime(struct todr_chip_handle *tch, struct timeval *tv) argument 143 tv->tv_sec = ttv.tv_sec; 144 tv->tv_usec = ttv.tv_usec;
|
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/fixmount/ |
H A D | fixmount.c | 161 struct timeval tv; local 173 tv.tv_sec = CALL_TIMEOUT; 174 tv.tv_usec = 0; 182 tv)) != RPC_SUCCESS) { 229 struct timeval tv; local 234 tv.tv_sec = CALL_TIMEOUT; 235 tv.tv_usec = 0; 243 tv)) != RPC_SUCCESS) { 280 struct timeval tv; local 380 tv [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/sntp/ |
H A D | utilities.h | 25 char *tv_to_str (const struct timeval *tv);
|
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/util/ |
H A D | jitter.c | 115 struct timeval tv; /* seconds and microseconds */ local 120 gettimeofday(&tv, NULL); 121 now->l_i = tv.tv_sec + JAN_1970; 122 dtemp = tv.tv_usec / 1e6;
|
/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/ |
H A D | names.c | 34 struct timeval tv; local 36 tv.tv_sec = 0; 37 tv.tv_usec = NAME_INTERVAL * 1000L; 41 evtimer_add(&w->name_timer, &tv);
|
/netbsd-6-1-5-RELEASE/sys/arch/zaurus/stand/zboot/ |
H A D | unixcons.c | 127 struct linux_timeval tv; local 133 tv.tv_sec = 1; 134 tv.tv_usec = 0; 140 n = uselect(nfds, &fdset, NULL, NULL, &tv);
|
/netbsd-6-1-5-RELEASE/sys/compat/sys/ |
H A D | clockctl.h | 42 const struct timeval50 *tv; member in struct:clockctl50_settimeofday
|
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/lib/ |
H A D | mkdtemp.c | 149 struct timeval tv; local 150 __gettimeofday (&tv, NULL); 151 random_time_bits = ((uint64_t) tv.tv_usec << 16) ^ tv.tv_sec;
|
/netbsd-6-1-5-RELEASE/usr.bin/who/ |
H A D | utmpentry.h | 51 struct timeval tv; member in struct:utmpentry
|
/netbsd-6-1-5-RELEASE/tests/lib/libc/gen/ |
H A D | t_raise.c | 130 struct timespec tv, tr; local 140 tv.tv_sec = 0; 141 tv.tv_nsec = 2; 150 ATF_REQUIRE(nanosleep(&tv, &tr) == 0);
|
/netbsd-6-1-5-RELEASE/sys/sys/ |
H A D | clockctl.h | 42 const struct timeval *tv; member in struct:clockctl_settimeofday
|
/netbsd-6-1-5-RELEASE/sys/external/bsd/drm/dist/libdrm/nouveau/ |
H A D | nouveau_notifier.c | 120 struct timeval tv; local 122 gettimeofday(&tv, NULL); 123 return (double)tv.tv_sec + tv.tv_usec / 1000000.0;
|