Searched refs:tv (Results 151 - 175 of 392) sorted by relevance

1234567891011>>

/freebsd-9.3-release/contrib/ntp/libntp/
H A Dadjtime.c227 msgp->msgb.tv = *delta;
242 *olddelta = msgp->msgb.tv;
H A Dsystime.c141 struct timeval tv; local
143 rc = GETTIMEOFDAY(&tv, NULL);
144 tsp->tv_sec = tv.tv_sec;
145 tsp->tv_nsec = tv.tv_usec * 1000;
/freebsd-9.3-release/contrib/pf/libevent/
H A Devbuffer.c56 struct timeval tv, *ptv = NULL; local
59 timerclear(&tv);
60 tv.tv_sec = timeout;
61 ptv = &tv;
/freebsd-9.3-release/contrib/wpa/src/utils/
H A Deloop_none.c314 struct os_time tv, now; local
321 os_time_sub(&eloop.timeout->time, &now, &tv);
323 tv.sec = tv.usec = 0;
327 * TODO: wait for any event (read socket ready, timeout (tv),
H A Dos_unix.c53 struct timeval tv; local
54 res = gettimeofday(&tv, NULL);
55 t->sec = tv.tv_sec;
56 t->usec = tv.tv_usec;
/freebsd-9.3-release/crypto/openssl/fips/
H A DMakefile20 FIPS_TVOK= $$HOME/fips/tv.ok
/freebsd-9.3-release/lib/libncp/
H A Dsap.c229 struct timeval tv; local
237 tv.tv_sec = timeout;
238 tv.tv_usec = 0;
240 if ((result = select(sock + 1, &rd, &wr, &ex, &tv)) == -1) {
/freebsd-9.3-release/lib/libtacplus/
H A Dtaclib.c258 struct timeval tv; local
267 tv.tv_sec = srvp->timeout;
268 tv.tv_usec = 0;
269 nfds = select(h->fd + 1, NULL, &wfds, NULL, &tv);
500 struct timeval tv; local
510 gettimeofday(&tv, NULL);
511 timersub(deadline, &tv, &tv);
512 if (tv.tv_sec >= 0) {
518 select(h->fd + 1, &rfds, NULL, NULL, &tv);
652 struct timeval tv; local
[all...]
/freebsd-9.3-release/libexec/bootpd/tools/bootptest/
H A Dbootptest.c389 struct timeval tv; local
392 tv.tv_sec = WAITSECS;
393 tv.tv_usec = 0L;
395 n = select(s + 1, (fd_set *) & readfds, NULL, NULL, &tv);
/freebsd-9.3-release/tools/regression/rpcsec_gss/
H A Drpctest.c94 struct timeval tv; local
150 tv.tv_sec = 5;
151 tv.tv_usec = 0;
155 (xdrproc_t) xdr_int, (char *) &num, tv);
/freebsd-9.3-release/tools/tools/net80211/wesside/dics/
H A Ddics.c318 struct timeval tv; local
407 tv.tv_sec = 0;
408 tv.tv_usec = 10*1000;
409 rd = select(us+1, &rfds, NULL, NULL, &tv);
/freebsd-9.3-release/usr.bin/compress/
H A Dcompress.c363 static struct timeval tv[2]; local
367 TIMESPEC_TO_TIMEVAL(&tv[0], &fs->st_atim);
368 TIMESPEC_TO_TIMEVAL(&tv[1], &fs->st_mtim);
369 if (utimes(name, tv))
/freebsd-9.3-release/usr.sbin/bluetooth/bthidd/
H A Dserver.c173 struct timeval tv; local
179 tv.tv_sec = 1;
180 tv.tv_usec = 0;
186 n = select(srv->maxfd + 1, &rfdset, &wfdset, NULL, &tv);
/freebsd-9.3-release/usr.sbin/bsnmpd/modules/snmp_netgraph/
H A Dsnmp_netgraph.c360 struct timeval end, tv; local
369 tv.tv_sec = timeout / 1000;
370 tv.tv_usec = (timeout % 1000) * 1000;
371 timeradd(&end, &tv, &end);
374 gettimeofday(&tv, NULL);
375 if (timercmp(&tv, &end, >=)) {
382 timersub(&end, &tv, &tv);
383 if (tv.tv_sec == 0 && tv
[all...]
/freebsd-9.3-release/usr.sbin/ppp/
H A Dradius.c657 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-9.3-release/contrib/ntp/sntp/libevent/
H A Devthread.c276 debug_cond_wait(void *cond_, void *lock_, const struct timeval *tv) argument
284 r = original_cond_fns_.wait_condition(cond_, lock->lock, tv);
455 evthreadimpl_cond_wait_(void *cond, void *lock, const struct timeval *tv) argument
458 return evthread_cond_fns_.wait_condition(cond, lock, tv);
H A Dwin32select.c280 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 Dpoll.c125 poll_dispatch(struct event_base *base, struct timeval *tv) argument
163 if (tv != NULL) {
164 msec = evutil_tv_to_msec_(tv);
/freebsd-9.3-release/contrib/ntp/sntp/libevent/include/event2/
H A Dtag.h109 struct timeval *tv);
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/
H A Dregress_iocp.c93 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-9.3-release/contrib/ntp/util/
H A Dtg.c257 struct timeval tv; /* system clock at startup */ local
352 gettimeofday(&tv, NULL);
353 tm = gmtime(&tv.tv_sec);
365 delay(SECOND - tv.tv_usec * 8 / 1000);
H A Dntptime.c92 struct timeval tv; local
306 tv.tv_sec = ntv.time.tv_sec;
307 tv.tv_usec = ntv.time.tv_frac_sec;
308 TVTOTS(&tv, &ts);
/freebsd-9.3-release/contrib/ofed/management/opensm/libvendor/
H A Dosm_pkt_randomizer.c136 struct timeval tv; local
147 gettimeofday(&tv, &tz);
148 seed = tv.tv_usec;
/freebsd-9.3-release/contrib/tcpdump/
H A DsctpConstants.h536 #define TIMEVAL_TO_TIMESPEC(tv, ts) \
538 (ts)->tv_sec = (tv)->tv_sec; \
539 (ts)->tv_nsec = (tv)->tv_usec * 1000; \
/freebsd-9.3-release/crypto/heimdal/kdc/
H A Dprocess.c44 krb5_kdc_update_time(struct timeval *tv) argument
46 if (tv == NULL)
49 _kdc_now = *tv;

Completed in 334 milliseconds

1234567891011>>