/netbsd-6-1-5-RELEASE/lib/libc/compat/sys/ |
H A D | compat_settimeofday.c | 62 struct timeval tv; local 63 timeval50_to_timeval(tv50, &tv); 64 return __settimeofday50(&tv, tvp);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/opt/ |
H A D | nrv7.C | 13 A tv = foo(); variable
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.dg/opt/ |
H A D | nrv7.C | 13 A tv = foo(); variable
|
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/ |
H A D | doze.c | 48 struct timeval tv; local 52 tv.tv_sec = delay / MILLION; 53 tv.tv_usec = delay % MILLION; 54 while (select(0, (fd_set *) 0, (fd_set *) 0, (fd_set *) 0, &tv) < 0)
|
/netbsd-6-1-5-RELEASE/sys/dev/sun/ |
H A D | vuid_event.h | 67 struct timeval tv; local 68 getmicrotime(&tv); 69 fev->time.tv_sec = (long)tv.tv_sec; 70 fev->time.tv_usec = (long)tv.tv_usec;
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/krb5/ |
H A D | time.c | 57 struct timeval tv; local 59 gettimeofday(&tv, NULL); 61 context->kdc_sec_offset = sec - tv.tv_sec; 68 context->kdc_usec_offset = usec - tv.tv_usec; 75 context->kdc_usec_offset = tv.tv_usec; 101 struct timeval tv; local 103 gettimeofday (&tv, NULL); 105 *sec = tv.tv_sec + context->kdc_sec_offset; 106 *usec = tv.tv_usec; /* XXX */
|
/netbsd-6-1-5-RELEASE/games/tetris/ |
H A D | input.c | 52 #define TV_POS(tv) \ 53 ((tv)->tv_sec > 0 || ((tv)->tv_sec == 0 && (tv)->tv_usec > 0)) 124 struct timeval tv; local 127 tv.tv_sec = 0; 128 tv.tv_usec = fallrate; 129 while (TV_POS(&tv)) 130 if (rwait(&tv) && read(0, &c, 1) != 1)
|
/netbsd-6-1-5-RELEASE/sys/kern/ |
H A D | subr_time.c | 52 struct timeval now, tv; local 54 tv = *tvp; /* Don't modify original tvp. */ 56 timersub(&tv, &now, &tv); 57 return tvtohz(&tv); 64 tvtohz(const struct timeval *tv) argument 89 sec = tv->tv_sec; 90 usec = tv->tv_usec; 95 if (tv->tv_sec > INT_MAX) 97 if (tv 150 struct timeval tv; local 167 itimerfix(struct timeval *tv) argument [all...] |
H A D | kern_todr.c | 83 struct timeval tv; local 112 (todr_gettime(todr_handle, &tv) != 0) || 113 (tv.tv_sec < (25 * SECYR))) { 121 time_t deltat = tv.tv_sec - base; 128 if (tv.tv_sec < base) { 155 tv.tv_sec = base; 156 tv.tv_usec = 0; 161 ts.tv_sec = tv.tv_sec; 162 ts.tv_nsec = tv.tv_usec * 1000; 183 struct timeval tv; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/include/ |
H A D | ntp_unixtime.h | 73 #define TVTOTS(tv, ts) \ 75 (ts)->l_ui = (u_long)(tv)->tv_sec; \ 76 TVUTOTSF((tv)->tv_usec, (ts)->l_uf); \ 79 #define sTVTOTS(tv, ts) \ 83 (ts)->l_ui = (tv)->tv_sec; \ 84 usec = (tv)->tv_usec; \ 85 if (((tv)->tv_sec < 0) || ((tv)->tv_usec < 0)) { \ 121 #define TSTOTV(ts, tv) \ 123 (tv) [all...] |
H A D | adjtime.h | 51 struct timeval tv; member in struct:__anon1729::__anon1730
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/ |
H A D | timevar.c | 265 struct timevar_def *tv = &timevars[timevar]; local 270 tv->used = 1; 273 gcc_assert (!tv->standalone); 298 context->timevar = tv; 343 struct timevar_def *tv = &timevars[timevar]; local 349 tv->used = 1; 353 gcc_assert (!tv->standalone); 354 tv->standalone = 1; 356 get_time (&tv->start_time); 365 struct timevar_def *tv local 414 struct timevar_def *tv = &timevars[(timevar_id_t) id]; local [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/ |
H A D | timevar.c | 266 struct timevar_def *tv = &timevars[timevar]; local 271 tv->used = 1; 274 gcc_assert (!tv->standalone); 299 context->timevar = tv; 344 struct timevar_def *tv = &timevars[timevar]; local 350 tv->used = 1; 354 gcc_assert (!tv->standalone); 355 tv->standalone = 1; 357 get_time (&tv->start_time); 366 struct timevar_def *tv local 415 struct timevar_def *tv = &timevars[(timevar_id_t) id]; local [all...] |
/netbsd-6-1-5-RELEASE/tests/lib/librumphijack/ |
H A D | h_client.c | 52 struct timeval tv; local 56 tv.tv_sec = 0; 57 tv.tv_usec = 1; 64 rv = select(pipefd[0]+1, &rfds, NULL, NULL, &tv); 75 struct timeval tv; local 78 tv.tv_sec = 0; 79 tv.tv_usec = 1; 83 rv = select(100, &fds, &fds, &fds, &tv); 89 rv = select(0, NULL, NULL, NULL, &tv);
|
/netbsd-6-1-5-RELEASE/external/cddl/osnet/sys/sys/ |
H A D | time.h | 75 struct timeval tv; 76 gettimeofday(&tv, NULL); 77 return (((u_int64_t) tv.tv_sec) * MICROSEC + tv.tv_usec) * 1000;
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libgomp/config/posix/ |
H A D | time.c | 56 struct timeval tv; 57 gettimeofday (&tv, NULL); 58 return tv.tv_sec + tv.tv_usec / 1e6;
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/src/ |
H A D | chrono.cc | 52 timeval tv; 54 gettimeofday(&tv, NULL); 55 return time_point(duration(chrono::seconds(tv.tv_sec) 56 + chrono::microseconds(tv.tv_usec)));
|
/netbsd-6-1-5-RELEASE/lib/libc/sys/ |
H A D | settimeofday.c | 59 settimeofday(const struct timeval *tv, const void *tzp) argument 69 rv = ____settimeofday50(tv, tzp); 92 args.tv = tv;
|
/netbsd-6-1-5-RELEASE/external/bsd/dhcpcd/dist/ |
H A D | common.h | 39 #define timeval_to_double(tv) ((tv)->tv_sec * 1.0 + (tv)->tv_usec * 1.0e-6) 40 #define ms_to_tv(tv, ms) \ 42 (tv)->tv_sec = (ms / 1000); \ 43 (tv)->tv_usec = ((ms % 1000) * 1000); \
|
/netbsd-6-1-5-RELEASE/sys/netinet/ |
H A D | tcp_timer.h | 171 #define TCPT_RANGESET(tv, value, tvmin, tvmax) { \ 172 (tv) = (value); \ 173 if ((tv) < (tvmin)) \ 174 (tv) = (tvmin); \ 175 if ((tv) > (tvmax)) \ 176 (tv) = (tvmax); \
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/unix/ |
H A D | time.c | 64 fix_tv_usec(struct timeval *tv) { argument 67 if (tv->tv_usec < 0) { 70 tv->tv_sec -= 1; 71 tv->tv_usec += US_PER_S; 72 } while (tv->tv_usec < 0); 73 } else if (tv->tv_usec >= US_PER_S) { 76 tv->tv_sec += 1; 77 tv->tv_usec -= US_PER_S; 78 } while (tv->tv_usec >=US_PER_S); 149 struct timeval tv; local 191 struct timeval tv; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/unix/ |
H A D | time.c | 64 fix_tv_usec(struct timeval *tv) { argument 67 if (tv->tv_usec < 0) { 70 tv->tv_sec -= 1; 71 tv->tv_usec += US_PER_S; 72 } while (tv->tv_usec < 0); 73 } else if (tv->tv_usec >= US_PER_S) { 76 tv->tv_sec += 1; 77 tv->tv_usec -= US_PER_S; 78 } while (tv->tv_usec >=US_PER_S); 149 struct timeval tv; local 191 struct timeval tv; local [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
H A D | rand-timer.c | 68 pacemaker(struct timeval *tv) argument 76 select(1, &fds, NULL, NULL, tv); 114 struct itimerval tv, otv; 129 tv.it_value.tv_sec = 0; 130 tv.it_value.tv_usec = 10 * 1000; /* 10 ms */ 131 tv.it_interval = tv.it_value; 133 setitimer(ITIMER_REAL, &tv, &otv); 143 pacemaker(&tv.it_interval);
|
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/bsd/ |
H A D | writev.c | 45 struct iovec *tv; local 48 for (i = 0, tv = iov; i <= iovlen; tv++) { 49 rcode = write(fd, tv->iov_base, tv->iov_len);
|
/netbsd-6-1-5-RELEASE/lib/libcurses/ |
H A D | ctrace.c | 89 struct timeval tv; local 98 gettimeofday(&tv, NULL); 100 gettimeofday(&tv, NULL); 102 (long long)tv.tv_sec, (long)tv.tv_usec);
|