Searched refs:timeval (Results 26 - 50 of 981) sorted by relevance

1234567891011>>

/freebsd-10.1-release/contrib/ntp/tests/libntp/
H A Dtvtots.c17 struct timeval input = {500, 0}; /* 500.0 s */
35 struct timeval input = {0, 500}; /* 0.0005 exact */
48 /* 0.5 can be represented exact in both l_fp and timeval. */
49 const struct timeval input = {10, 500000}; /* 0.5 exact */
H A Dbuftvtots.c24 const struct timeval input = {0, 0};
43 const struct timeval input = {5, 500000}; /* 5.5 */
69 const struct timeval input = {0, 1100000}; /* > 999 999 microseconds. */
/freebsd-10.1-release/contrib/ntp/tests/bug-2803/
H A Dbug-2803.c28 static int do_test( struct timeval timetv, struct timeval tvlast )
30 struct timeval tvdiff_old;
31 struct timeval tvdiff_new;
76 struct timeval timetv;
77 struct timeval tvlast;
/freebsd-10.1-release/tools/regression/pipe/
H A Dpipe-reverse2.c50 n = select(pip[1] + 1, NULL, &set, NULL, &(struct timeval){ 0, 0 });
60 n = select(pip[1] + 1, NULL, &set, NULL, &(struct timeval){ 0, 0 });
/freebsd-10.1-release/contrib/ntp/sntp/libevent/include/event2/
H A Dbufferevent_struct.h104 struct timeval timeout_read;
105 struct timeval timeout_write;
/freebsd-10.1-release/contrib/ntp/include/
H A Dl_stdlib.h31 struct timeval;
32 extern int adjtime (struct timeval *, struct timeval *);
111 extern int select (int, fd_set *, fd_set *, fd_set *, struct timeval *);
196 extern int gettimeofday (struct timeval *);
197 extern int settimeofday (struct timeval *);
200 extern int gettimeofday (struct timeval *, struct timezone *);
201 extern int settimeofday (struct timeval *, void *);
/freebsd-10.1-release/contrib/ntp/libntp/
H A Dadjtime.c24 int adjtime(struct timeval *delta, struct timeval *olddelta);
26 int adjtime(struct timeval *delta, struct timeval *olddelta)
163 register struct timeval *delta,
164 register struct timeval *olddelta
167 struct timeval newdelta;
211 register struct timeval *delta,
212 register struct timeval *olddelta
279 adjtime (struct timeval *delt
[all...]
/freebsd-10.1-release/sys/sys/
H A Dtime.h191 bintime2timeval(const struct bintime *_bt, struct timeval *_tv)
199 timeval2bintime(const struct timeval *_tv, struct bintime *_bt)
225 static __inline struct timeval
228 struct timeval _tv;
236 tvtosbt(struct timeval _tv)
322 struct timeval it_interval; /* timer interval */
323 struct timeval it_value; /* current value */
376 extern struct timeval boottime;
396 * "micro" == struct timeval == seconds + microseconds.
411 void microuptime(struct timeval *tv
[all...]
H A Dtimeffc.h208 void ffclock_microtime(struct timeval *tvp);
212 void ffclock_getmicrotime(struct timeval *tvp);
216 void ffclock_microuptime(struct timeval *tvp);
220 void ffclock_getmicrouptime(struct timeval *tvp);
228 void ffclock_microdifftime(ffcounter ffdelta, struct timeval *tvp);
238 void fbclock_microtime(struct timeval *tvp);
242 void fbclock_getmicrotime(struct timeval *tvp);
246 void fbclock_microuptime(struct timeval *tvp);
250 void fbclock_getmicrouptime(struct timeval *tvp);
279 microtime_fromclock(struct timeval *tv
[all...]
/freebsd-10.1-release/contrib/ipfilter/
H A Dpcap-ipf.h31 struct timeval ph_ts;
/freebsd-10.1-release/contrib/openbsm/compat/
H A Dclock_gettime.h43 struct timeval tv;
/freebsd-10.1-release/contrib/pf/libevent/
H A Devent-internal.h47 struct timeval event_tv;
/freebsd-10.1-release/sys/netgraph/
H A Dng_source.h60 struct timeval startTime;
61 struct timeval endTime;
62 struct timeval elapsedTime;
63 struct timeval lastTime;
/freebsd-10.1-release/sys/nfs/
H A Dnfs_mountcommon.h39 struct timeval *);
/freebsd-10.1-release/sys/rpc/
H A Dkrpc.h42 struct mbuf *, struct mbuf **, struct timeval, SVCXPRT *);
67 struct timeval rc_timeout;
68 struct timeval rc_retry;
88 struct timeval ct_wait; /* wait interval in milliseconds */
/freebsd-10.1-release/tools/tools/kttcp/sys/
H A Dkttcpio.h49 struct timeval kio_elapsed; /* elapsed time (OUT) */
/freebsd-10.1-release/usr.sbin/nscd/
H A Dnscdcli.h34 struct timeval timeout;
H A Dcachelib.h73 void (*get_time_func)(struct timeval *);
96 struct timeval max_lifetime; /* if 0 then no check is made */
108 struct timeval max_lifetime; /* maximum elements lifetime */
150 void (*get_time_func)(struct timeval *);
205 struct timeval creation_time;
206 struct timeval last_request_time;
208 void (*get_time_func)(struct timeval *);
/freebsd-10.1-release/contrib/ntp/kernel/sys/
H A Dppsclock.h42 struct timeval tv;
/freebsd-10.1-release/crypto/heimdal/appl/ftp/ftp/
H A Dextern.h105 void ptransfer (char *, long, struct timeval *, struct timeval *);
151 void tvsub (struct timeval *, struct timeval *, struct timeval *);
/freebsd-10.1-release/sys/nlm/
H A Dnlm_prot.h283 extern enum clnt_stat nlm_sm_notify_0(struct nlm_sm_status *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
288 extern enum clnt_stat nlm_test_1(struct nlm_testargs *, nlm_testres *, CLIENT *, struct rpc_callextra *, struct timeval);
291 extern enum clnt_stat nlm_lock_1(struct nlm_lockargs *, nlm_res *, CLIENT *, struct rpc_callextra *, struct timeval);
294 extern enum clnt_stat nlm_cancel_1(struct nlm_cancargs *, nlm_res *, CLIENT *, struct rpc_callextra *, struct timeval);
297 extern enum clnt_stat nlm_unlock_1(struct nlm_unlockargs *, nlm_res *, CLIENT *, struct rpc_callextra *, struct timeval);
300 extern enum clnt_stat nlm_granted_1(struct nlm_testargs *, nlm_res *, CLIENT *, struct rpc_callextra *, struct timeval);
303 extern enum clnt_stat nlm_test_msg_1(struct nlm_testargs *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
306 extern enum clnt_stat nlm_lock_msg_1(struct nlm_lockargs *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
309 extern enum clnt_stat nlm_cancel_msg_1(struct nlm_cancargs *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
312 extern enum clnt_stat nlm_unlock_msg_1(struct nlm_unlockargs *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
[all...]
H A Dnlm_prot_clnt.c21 nlm_sm_notify_0(struct nlm_sm_status *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
30 nlm_test_1(struct nlm_testargs *argp, nlm_testres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
39 nlm_lock_1(struct nlm_lockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
48 nlm_cancel_1(struct nlm_cancargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
57 nlm_unlock_1(struct nlm_unlockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
66 nlm_granted_1(struct nlm_testargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
75 nlm_test_msg_1(struct nlm_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
84 nlm_lock_msg_1(struct nlm_lockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
93 nlm_cancel_msg_1(struct nlm_cancargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
102 nlm_unlock_msg_1(struct nlm_unlockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval tim
[all...]
/freebsd-10.1-release/contrib/ldns/ldns/
H A Dnet.h.in42 ldns_status ldns_udp_send(uint8_t **result, ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout, size_t *answersize);
53 int ldns_udp_bgsend(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
64 int ldns_tcp_bgsend(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
77 ldns_status ldns_tcp_send(uint8_t **result, ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout, size_t *answersize);
109 int ldns_tcp_connect(const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
117 int ldns_udp_connect(const struct sockaddr_storage *to, struct timeval timeout);
150 uint8_t *ldns_tcp_read_wire_timeout(int sockfd, size_t *size, struct timeval timeout);
/freebsd-10.1-release/usr.sbin/bluetooth/btpand/
H A Devent.c56 static void tv_add(struct timeval *, struct timeval const *);
57 static void tv_sub(struct timeval *, struct timeval const *);
58 static int tv_cmp(struct timeval const *, struct timeval const *);
88 struct timeval now, timeout, t;
220 __event_add(struct event *ev, const struct timeval *timeout)
269 tv_add(struct timeval *a, struct timeval cons
[all...]
/freebsd-10.1-release/contrib/unbound/daemon/
H A Ddaemon.h107 struct timeval time_last_stat;
109 struct timeval time_boot;

Completed in 196 milliseconds

1234567891011>>