/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | adjtime.c | 227 msgp->msgb.tv = *delta; 242 *olddelta = msgp->msgb.tv;
|
H A D | systime.c | 141 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 D | evbuffer.c | 56 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 D | eloop_none.c | 314 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 D | os_unix.c | 53 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 D | Makefile | 20 FIPS_TVOK= $$HOME/fips/tv.ok
|
/freebsd-9.3-release/lib/libncp/ |
H A D | sap.c | 229 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 D | taclib.c | 258 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 D | bootptest.c | 389 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 D | rpctest.c | 94 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 D | dics.c | 318 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 D | compress.c | 363 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 D | server.c | 173 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 D | snmp_netgraph.c | 360 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 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-9.3-release/contrib/ntp/sntp/libevent/ |
H A D | evthread.c | 276 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 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 | 125 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 D | tag.h | 109 struct timeval *tv);
|
/freebsd-9.3-release/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-9.3-release/contrib/ntp/util/ |
H A D | tg.c | 257 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 D | ntptime.c | 92 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 D | osm_pkt_randomizer.c | 136 struct timeval tv; local 147 gettimeofday(&tv, &tz); 148 seed = tv.tv_usec;
|
/freebsd-9.3-release/contrib/tcpdump/ |
H A D | sctpConstants.h | 536 #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 D | process.c | 44 krb5_kdc_update_time(struct timeval *tv) argument 46 if (tv == NULL) 49 _kdc_now = *tv;
|