/freebsd-current/contrib/ntp/sntp/libevent/test/ |
H A D | regress_iocp.c | 93 struct timeval tv; local 99 tv.tv_sec = 0; 100 tv.tv_usec = ms * 1000; 102 EVTHREAD_COND_WAIT_TIMED(count_cond, count_lock, &tv);
|
/freebsd-current/contrib/pf/libevent/ |
H A D | evbuffer.c | 56 struct timeval tv, *ptv = NULL; local 59 timerclear(&tv); 60 tv.tv_sec = timeout; 61 ptv = &tv;
|
/freebsd-current/contrib/ntp/sntp/libevent/ |
H A D | win32select.c | 280 win32_dispatch(struct event_base *base, struct timeval *tv) argument 308 long msec = tv ? evutil_tv_to_msec_(tv) : LONG_MAX; 322 (struct fd_set*)win32op->exset_out, tv);
|
H A D | evthread.c | 297 debug_cond_wait(void *cond_, void *lock_, const struct timeval *tv) argument 305 r = original_cond_fns_.wait_condition(cond_, lock->lock, tv); 489 evthreadimpl_cond_wait_(void *cond, void *lock, const struct timeval *tv) argument 492 return evthread_cond_fns_.wait_condition(cond, lock, tv);
|
H A D | poll.c | 136 poll_dispatch(struct event_base *base, struct timeval *tv) argument 174 if (tv != NULL) { 175 msec = evutil_tv_to_msec_(tv);
|
/freebsd-current/tests/sys/netinet/libalias/ |
H A D | perf.c | 43 #define timevalcmp(tv, uv, cmp) \ 44 (((tv).tv_sec == (uv).tv_sec) \ 45 ? ((tv).tv_usec cmp (uv).tv_usec) \ 46 : ((tv).tv_sec cmp (uv).tv_sec))
|
/freebsd-current/libexec/bootpd/tools/bootptest/ |
H A D | bootptest.c | 382 struct timeval tv; local 385 tv.tv_sec = WAITSECS; 386 tv.tv_usec = 0L; 388 n = select(s + 1, (fd_set *) & readfds, NULL, NULL, &tv);
|
/freebsd-current/sys/kern/ |
H A D | subr_msgbuf.c | 239 struct timeval tv; local 241 microuptime(&tv); 243 (intmax_t)tv.tv_sec, (int)tv.tv_usec);
|
/freebsd-current/usr.sbin/bluetooth/bthidd/ |
H A D | server.c | 179 struct timeval tv; local 185 tv.tv_sec = 1; 186 tv.tv_usec = 0; 192 n = select(srv->maxfd + 1, &rfdset, &wfdset, NULL, &tv);
|
/freebsd-current/usr.sbin/bsnmpd/modules/snmp_netgraph/ |
H A D | snmp_netgraph.c | 358 struct timeval end, tv; local 367 tv.tv_sec = timeout / 1000; 368 tv.tv_usec = (timeout % 1000) * 1000; 369 timeradd(&end, &tv, &end); 372 gettimeofday(&tv, NULL); 373 if (timercmp(&tv, &end, >=)) { 380 timersub(&end, &tv, &tv); 381 if (tv.tv_sec == 0 && tv [all...] |
/freebsd-current/tools/tools/net80211/wesside/dics/ |
H A D | dics.c | 316 struct timeval tv; local 405 tv.tv_sec = 0; 406 tv.tv_usec = 10*1000; 407 rd = select(us+1, &rfds, NULL, NULL, &tv);
|
/freebsd-current/tools/regression/rpcsec_gss/ |
H A D | rpctest.c | 92 struct timeval tv; local 148 tv.tv_sec = 5; 149 tv.tv_usec = 0; 153 (xdrproc_t) xdr_int, (char *) &num, tv);
|
/freebsd-current/sys/sys/ |
H A D | vdso.h | 79 int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz);
|
/freebsd-current/usr.sbin/ppp/ |
H A D | radius.c | 657 struct timeval tv; local 661 if ((got = rad_continue_send_request(r->cx.rad, sel, &r->cx.fd, &tv)) == 0) { 664 r->cx.timer.load = tv.tv_usec / TICKUNIT + tv.tv_sec * SECTICKS; 697 struct timeval tv; local 703 tv.tv_sec = 0; 704 tv.tv_usec = TICKUNIT; 705 select(r->cx.fd + 1, &s, NULL, NULL, &tv); 898 struct timeval tv; local 1056 if ((got = rad_init_send_request(r->cx.rad, &r->cx.fd, &tv))) 1099 struct timeval tv; local [all...] |
/freebsd-current/contrib/libevent/ |
H A D | evthread.c | 297 debug_cond_wait(void *cond_, void *lock_, const struct timeval *tv) argument 305 r = original_cond_fns_.wait_condition(cond_, lock->lock, tv); 489 evthreadimpl_cond_wait_(void *cond, void *lock, const struct timeval *tv) argument 492 return evthread_cond_fns_.wait_condition(cond, lock, tv);
|
H A D | win32select.c | 280 win32_dispatch(struct event_base *base, struct timeval *tv) argument 308 long msec = tv ? evutil_tv_to_msec_(tv) : LONG_MAX; 322 (struct fd_set*)win32op->exset_out, tv);
|
H A D | poll.c | 136 poll_dispatch(struct event_base *base, struct timeval *tv) argument 174 if (tv != NULL) { 175 msec = evutil_tv_to_msec_(tv);
|
/freebsd-current/lib/libtacplus/ |
H A D | taclib.c | 260 struct timeval tv; local 269 tv.tv_sec = srvp->timeout; 270 tv.tv_usec = 0; 271 nfds = select(h->fd + 1, NULL, &wfds, NULL, &tv); 495 struct timeval tv; local 505 gettimeofday(&tv, NULL); 506 timersub(deadline, &tv, &tv); 507 if (tv.tv_sec >= 0) { 513 select(h->fd + 1, &rfds, NULL, NULL, &tv); 647 struct timeval tv; local [all...] |
/freebsd-current/contrib/ntp/libntp/ |
H A D | systime.c | 149 struct timeval tv; local 151 rc = GETTIMEOFDAY(&tv, NULL); 152 tsp->tv_sec = tv.tv_sec; 153 tsp->tv_nsec = tv.tv_usec * 1000;
|
/freebsd-current/contrib/ntp/libparse/ |
H A D | parsesolaris.c | 357 parse->parse_ppsclockev.tv.tv_sec = 0; 358 parse->parse_ppsclockev.tv.tv_usec = 0; 653 c_time.tv.tv_sec = hres_time.tv_sec; 654 c_time.tv.tv_usec = hres_time.tv_nsec / 1000; 734 c_time.tv.tv_sec = hres_time.tv_sec; 735 c_time.tv.tv_usec = hres_time.tv_nsec / 1000; 764 parse->parse_ppsclockev.tv = c_time.tv; 1013 cdevent.tv.tv_sec = hres_time.tv_sec; 1014 cdevent.tv [all...] |
/freebsd-current/contrib/ntp/include/ |
H A D | timepps-Solaris.h | 460 struct timeval tv; member in struct:ppsclockev 505 infobuf.assert_timestamp.tv_sec = ev.tv.tv_sec; 506 infobuf.assert_timestamp.tv_nsec = ev.tv.tv_usec * 1000;
|
H A D | timepps-SunOS.h | 394 struct timeval tv; member in struct:ppsclockev 447 infobuf.assert_timestamp.tv_sec = ev.tv.tv_sec; 448 infobuf.assert_timestamp.tv_nsec = ev.tv.tv_usec * 1000;
|
/freebsd-current/crypto/heimdal/kdc/ |
H A D | process.c | 42 krb5_kdc_update_time(struct timeval *tv) argument 44 if (tv == NULL) 47 _kdc_now = *tv;
|
/freebsd-current/contrib/ofed/opensm/libvendor/ |
H A D | osm_pkt_randomizer.c | 136 struct timeval tv; local 147 gettimeofday(&tv, &tz); 148 seed = tv.tv_usec;
|
/freebsd-current/sys/dev/watchdog/ |
H A D | watchdog.c | 96 struct timeval tv; local 100 TIMESPEC_TO_TIMEVAL(&tv, &ts); 101 return (tvtohz(&tv));
|