Home
last modified time | relevance | path

Searched refs:timeval (Results 1 – 25 of 1210) sorted by relevance

12345678910>>...49

/src/contrib/ntp/include/
H A Dtimevalops.h135 static inline struct timeval
137 struct timeval x in normalize_tval()
179 static inline struct timeval
181 struct timeval a, in add_tval()
182 struct timeval b in add_tval()
185 struct timeval x; in add_tval()
195 static inline struct timeval
197 struct timeval a, in add_tval_us()
201 struct timeval x; in add_tval_us()
210 static inline struct timeval
[all …]
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 *);
/src/sys/nlm/
H A Dnlm_prot.h282 … nlm_sm_notify_0(struct nlm_sm_status *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
287 …nlm_test_1(struct nlm_testargs *, nlm_testres *, CLIENT *, struct rpc_callextra *, struct timeval);
290 …tat nlm_lock_1(struct nlm_lockargs *, nlm_res *, CLIENT *, struct rpc_callextra *, struct timeval);
293 …t nlm_cancel_1(struct nlm_cancargs *, nlm_res *, CLIENT *, struct rpc_callextra *, struct timeval);
296 …nlm_unlock_1(struct nlm_unlockargs *, nlm_res *, CLIENT *, struct rpc_callextra *, struct timeval);
299 … nlm_granted_1(struct nlm_testargs *, nlm_res *, CLIENT *, struct rpc_callextra *, struct timeval);
302 …at nlm_test_msg_1(struct nlm_testargs *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
305 …at nlm_lock_msg_1(struct nlm_lockargs *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
308 … nlm_cancel_msg_1(struct nlm_cancargs *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
311 …lm_unlock_msg_1(struct nlm_unlockargs *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
[all …]
H A Dnlm_prot_clnt.c17 … nlm_sm_status *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_sm_notify_0()
26 …estargs *argp, nlm_testres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_test_1()
35 …lm_lockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_lock_1()
44 …lm_cancargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_cancel_1()
53 …_unlockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_unlock_1()
62 …lm_testargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_granted_1()
71 …t nlm_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_test_msg_1()
80 …t nlm_lockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_lock_msg_1()
89 …t nlm_cancargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_cancel_msg_1()
98 …nlm_unlockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_unlock_msg_1()
[all …]
/src/contrib/unbound/util/
H A Dtimeval_func.h50 void timeval_subtract(struct timeval* d, const struct timeval* end, const struct timeval* start);
51 void timeval_add(struct timeval* d, const struct timeval* add);
52 void timeval_divide(struct timeval* avg, const struct timeval* sum, long long d);
53 int timeval_smaller(const struct timeval* x, const struct timeval* y);
H A Dtimeval_func.c47 timeval_subtract(struct timeval* d, const struct timeval* end, const struct timeval* start) in timeval_subtract()
62 timeval_add(struct timeval* d, const struct timeval* add) in timeval_add()
76 timeval_divide(struct timeval* avg, const struct timeval* sum, long long d) in timeval_divide()
101 timeval_smaller(const struct timeval* x, const struct timeval* y) in timeval_smaller()
H A Dmini_event.h129 struct timeval* time_tv;
148 struct timeval ev_timeout;
158 void *event_init(time_t* time_secs, struct timeval* time_tv);
166 int event_base_loopexit(struct event_base *, struct timeval *);
174 int event_add(struct event *, struct timeval *);
186 int signal_add(struct event *, struct timeval *);
H A Dwinsock_event.h149 struct timeval* time_tv;
183 struct timeval ev_timeout;
212 void *event_init(time_t* time_secs, struct timeval* time_tv);
220 int event_base_loopexit(struct event_base *, struct timeval *);
229 int event_add(struct event *, struct timeval *);
239 int signal_add(struct event *, struct timeval *);
/src/usr.bin/ktrace/
H A Dsubr.c43 void timevaladd(struct timeval *, struct timeval *);
44 void timevalsub(struct timeval *, struct timeval *);
45 void timevalfix(struct timeval *);
105 timevaladd(struct timeval *t1, struct timeval *t2) in timevaladd()
113 timevalsub(struct timeval *t1, struct timeval *t2) in timevalsub()
121 timevalfix(struct timeval *t1) in timevalfix()
/src/contrib/ldns/ldns/
H A Dnet.h42 …buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout, size_t *…
53 …nd2(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
66 …end(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
77 …nd2(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
90 …end(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
103 …buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout, size_t *…
135 int ldns_tcp_connect2(const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
146 int ldns_tcp_connect(const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
154 int ldns_udp_connect2(const struct sockaddr_storage *to, struct timeval timeout);
164 int ldns_udp_connect(const struct sockaddr_storage *to, struct timeval timeout);
[all …]
/src/sys/sys/
H A Dtime.h321 bintime2timeval(const struct bintime *_bt, struct timeval *_tv) in bintime2timeval()
330 timeval2bintime(const struct timeval *_tv, struct bintime *_bt) in timeval2bintime()
355 static __inline struct timeval
358 struct timeval _tv; in sbttotv()
366 tvtosbt(struct timeval _tv) in tvtosbt()
473 struct timeval it_interval; /* timer interval */
474 struct timeval it_value; /* current value */
540 void microuptime(struct timeval *tvp);
553 void microtime(struct timeval *tvp);
557 void getmicrouptime(struct timeval *tvp);
[all …]
H A Dtimeffc.h210 void ffclock_microtime(struct timeval *tvp);
214 void ffclock_getmicrotime(struct timeval *tvp);
218 void ffclock_microuptime(struct timeval *tvp);
222 void ffclock_getmicrouptime(struct timeval *tvp);
230 void ffclock_microdifftime(ffcounter ffdelta, struct timeval *tvp);
240 void fbclock_microtime(struct timeval *tvp);
244 void fbclock_getmicrotime(struct timeval *tvp);
248 void fbclock_microuptime(struct timeval *tvp);
252 void fbclock_getmicrouptime(struct timeval *tvp);
281 microtime_fromclock(struct timeval *tvp, int whichclock) in microtime_fromclock()
[all …]
/src/usr.sbin/bluetooth/btpand/
H A Devent.c58 static void tv_add(struct timeval *, struct timeval const *);
59 static void tv_sub(struct timeval *, struct timeval const *);
60 static int tv_cmp(struct timeval const *, struct timeval const *);
90 struct timeval now, timeout, t; in __event_dispatch()
222 __event_add(struct event *ev, const struct timeval *timeout) in __event_add()
271 tv_add(struct timeval *a, struct timeval const *b) in tv_add()
283 tv_sub(struct timeval *a, struct timeval const *b) in tv_sub()
295 tv_cmp(struct timeval const *a, struct timeval const *b) in tv_cmp()
/src/contrib/ntp/libntp/
H A Dadjtime.c24 int adjtime(struct timeval *delta, struct timeval *olddelta);
26 int adjtime(struct timeval *delta, struct timeval *olddelta) in adjtime()
163 register struct timeval *delta, in adjtime()
164 register struct timeval *olddelta in adjtime()
167 struct timeval newdelta; in adjtime()
211 register struct timeval *delta, in _adjtime()
212 register struct timeval *olddelta in _adjtime()
279 adjtime (struct timeval *delta, struct timeval *olddelta) in adjtime()
/src/sys/netinet/
H A Dtcp_hpts.h40 tcp_tv_to_usec(const struct timeval *sv) in tcp_tv_to_usec()
46 tcp_tv_to_msec(const struct timeval *sv) in tcp_tv_to_msec()
52 tcp_tv_to_lusec(const struct timeval *sv) in tcp_tv_to_lusec()
58 tcp_tv_to_lusectick(const struct timeval *sv) in tcp_tv_to_lusectick()
161 tcp_get_u64_usecs(struct timeval *tv) in tcp_get_u64_usecs()
163 struct timeval tvd; in tcp_get_u64_usecs()
172 tcp_get_usecs(struct timeval *tv) in tcp_get_usecs()
174 struct timeval tvd; in tcp_get_usecs()
/src/tools/tools/netmap/
H A Dctrs.h12 struct timeval t;
56 timeval2spec(const struct timeval *a) in timeval2spec()
65 static __inline struct timeval
68 struct timeval tv = { in timespec2val()
99 wait_for_next_report(struct timeval *prev, struct timeval *cur, in wait_for_next_report()
102 struct timeval delta; in wait_for_next_report()
/src/crypto/heimdal/lib/roken/
H A Dtimeval.c47 timevalfix(struct timeval *t1) in timevalfix()
64 timevaladd(struct timeval *t1, const struct timeval *t2) in timevaladd()
76 timevalsub(struct timeval *t1, const struct timeval *t2) in timevalsub()
/src/contrib/ntp/sntp/libevent/test/
H A Dregress_thread.c113 struct timeval tv; in basic_thread()
149 struct timeval tv; in sigchld_cb()
171 struct timeval tv; in thread_basic()
262 struct timeval delay;
263 struct timeval alerted_at;
292 struct timeval tv_signal, tv_timeout, tv_broadcast; in thread_conditions_simple()
297 struct timeval launched_at; in thread_conditions_simple()
350 const struct timeval *target_delay; in thread_conditions_simple()
351 struct timeval target_time, actual_delay; in thread_conditions_simple()
395 struct timeval tv; in SLEEP_MS()
[all …]
/src/contrib/libevent/test/
H A Dregress_thread.c113 struct timeval tv; in basic_thread()
149 struct timeval tv; in sigchld_cb()
171 struct timeval tv; in thread_basic()
262 struct timeval delay;
263 struct timeval alerted_at;
292 struct timeval tv_signal, tv_timeout, tv_broadcast; in thread_conditions_simple()
297 struct timeval launched_at; in thread_conditions_simple()
350 const struct timeval *target_delay; in thread_conditions_simple()
351 struct timeval target_time, actual_delay; in thread_conditions_simple()
395 struct timeval tv; in SLEEP_MS()
[all …]
/src/contrib/libevent/
H A Dtime-internal.h56 long evutil_tv_to_msec_(const struct timeval *tv);
58 void evutil_usleep_(const struct timeval *tv);
86 struct timeval adjust_monotonic_clock;
87 struct timeval last_time;
94 int evutil_gettime_monotonic_(struct evutil_monotonic_timer *mt, struct timeval *tv);
/src/contrib/ntp/sntp/libevent/
H A Dtime-internal.h56 long evutil_tv_to_msec_(const struct timeval *tv);
58 void evutil_usleep_(const struct timeval *tv);
86 struct timeval adjust_monotonic_clock;
87 struct timeval last_time;
94 int evutil_gettime_monotonic_(struct evutil_monotonic_timer *mt, struct timeval *tv);
/src/usr.sbin/nscd/
H A Dcachelib.h71 void (*get_time_func)(struct timeval *);
94 struct timeval max_lifetime; /* if 0 then no check is made */
106 struct timeval max_lifetime; /* maximum elements lifetime */
148 void (*get_time_func)(struct timeval *);
203 struct timeval creation_time;
204 struct timeval last_request_time;
206 void (*get_time_func)(struct timeval *);
/src/contrib/unbound/cachedb/
H A Dredis.c75 struct timeval command_timeout;
76 struct timeval replica_command_timeout;
78 struct timeval connect_timeout;
79 struct timeval replica_connect_timeout;
81 struct timeval reconnect_interval;
82 struct timeval replica_reconnect_interval;
90 struct timeval reconnect_wait;
91 struct timeval replica_reconnect_wait;
135 const struct timeval connect_timeout, in redis_connect()
136 const struct timeval command_timeout, in redis_connect()
[all …]
/src/contrib/unbound/libunbound/
H A Dunbound-event.h82 struct timeval;
95 int (*loopexit)(struct ub_event_base*, struct timeval*);
138 int (*add)(struct ub_event*, struct timeval*);
143 void (*cb)(int, short, void*), void* arg, struct timeval*);
147 int (*add_signal)(struct ub_event*, struct timeval*);
/src/sys/dev/speaker/
H A Dspkr.c230 int sustain, timeval, tempo; in playstring() local
281 GETNUM(cp, timeval); in playstring()
282 if (timeval <= 0 || timeval > MIN_VALUE) in playstring()
283 timeval = value; in playstring()
300 playtone(pitch, timeval, sustain); in playstring()
353 GETNUM(cp, timeval); in playstring()
354 if (timeval <= 0 || timeval > MIN_VALUE) in playstring()
355 timeval = value; in playstring()
360 playtone(-1, timeval, sustain); in playstring()

12345678910>>...49