Home
last modified time | relevance | path

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

12345678910>>...30

/openbsd/usr.sbin/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 *);
H A Dub_event.h73 struct ub_event_base* ub_default_event_base(int, time_t*, struct timeval*);
106 int ub_event_add(struct ub_event*, struct timeval*);
111 void (*cb)(int, short, void*), void* arg, struct timeval*);
115 int ub_signal_add(struct ub_event*, struct timeval*);
/openbsd/sbin/unwind/libunbound/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 *);
H A Dub_event.h73 struct ub_event_base* ub_default_event_base(int, time_t*, struct timeval*);
106 int ub_event_add(struct ub_event*, struct timeval*);
111 void (*cb)(int, short, void*), void* arg, struct timeval*);
115 int ub_signal_add(struct ub_event*, struct timeval*);
/openbsd/sys/sys/
H A Dtime.h46 struct timeval { struct
150 struct timeval it_value; /* current value */
301 void microtime(struct timeval *);
304 void getmicrotime(struct timeval *);
308 void microuptime(struct timeval *);
312 void getmicrouptime(struct timeval *);
315 void microboottime(struct timeval *);
338 int ratecheck(struct timeval *, const struct timeval *);
386 TIMEVAL_TO_NSEC(const struct timeval *tv) in TIMEVAL_TO_NSEC()
449 int adjtime(const struct timeval *, struct timeval *);
[all …]
H A Ddisk.h70 struct timeval ds_attachtime; /* time disk was attached */
71 struct timeval ds_timestamp; /* time of first busy or any unbusy */
72 struct timeval ds_time; /* total time spent busy */
97 struct timeval dk_attachtime; /* time disk was attached */
98 struct timeval dk_timestamp; /* time of first busy or any unbusy */
99 struct timeval dk_time; /* total time spent busy */
/openbsd/usr.sbin/smtpd/
H A Dreport_smtp.c26 struct timeval tv; in report_smtp_link_connect()
45 struct timeval tv; in report_smtp_link_greeting()
60 struct timeval tv; in report_smtp_link_identify()
76 struct timeval tv; in report_smtp_link_tls()
91 struct timeval tv; in report_smtp_link_disconnect()
105 struct timeval tv; in report_smtp_link_auth()
121 struct timeval tv; in report_smtp_tx_reset()
136 struct timeval tv; in report_smtp_tx_begin()
151 struct timeval tv; in report_smtp_tx_mail()
168 struct timeval tv; in report_smtp_tx_rcpt()
[all …]
/openbsd/sys/arch/sparc64/dev/
H A Dprtc.c55 int prtc_gettime(todr_chip_handle_t, struct timeval *);
56 int prtc_settime(todr_chip_handle_t, struct timeval *);
58 int prtc_opl_gettime(todr_chip_handle_t, struct timeval *);
59 int prtc_opl_settime(todr_chip_handle_t, struct timeval *);
104 prtc_gettime(todr_chip_handle_t handle, struct timeval *tv) in prtc_gettime()
118 prtc_settime(todr_chip_handle_t handle, struct timeval *tv) in prtc_settime()
124 prtc_opl_gettime(todr_chip_handle_t handle, struct timeval *tv) in prtc_opl_gettime()
148 prtc_opl_settime(todr_chip_handle_t handle, struct timeval *tv) in prtc_opl_settime()
150 struct timeval otv; in prtc_opl_settime()
/openbsd/gnu/gcc/fixincludes/tests/base/sys/
H A Dtime.h26 extern int adjtime(struct timeval *, struct timeval *);
29 extern int gettimeofday(struct timeval *, struct timezone *);
30 extern int settimeofday(struct timeval *, struct timezone *);
33 extern int utimes(const char *, const struct timeval[2]);
34 extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
/openbsd/usr.sbin/unbound/testcode/
H A Ddelayer.c106 struct timeval wait;
158 dl_tv_smaller(struct timeval* t1, const struct timeval* t2) in dl_tv_smaller()
172 dl_tv_add(struct timeval* t1, const struct timeval* t2) in dl_tv_add()
186 dl_tv_subtract(struct timeval* t1, const struct timeval* t2) in dl_tv_subtract()
364 struct timeval tv; in service_send()
439 struct timeval* now, struct timeval* reuse_timeout) in find_create_proxy()
442 struct timeval t; in find_create_proxy()
485 struct timeval* now, struct timeval* delay, struct timeval* reuse) in service_recv()
552 struct timeval* now, struct timeval* tcp_timeout)
808 service_findwait(struct timeval* now, struct timeval* wait,
[all …]
H A Dperf.c89 struct timeval since;
101 struct timeval start;
137 struct timeval timeout;
161 perf_tv_smaller(struct timeval* t1, struct timeval* t2) in perf_tv_smaller()
175 perf_tv_add(struct timeval* t1, struct timeval* t2) in perf_tv_add()
189 perf_tv_subtract(struct timeval* t1, struct timeval* t2) in perf_tv_subtract()
270 perfsend(struct perfinfo* info, size_t n, struct timeval* now) in perfsend()
321 stat_printout(struct perfinfo* info, struct timeval* now, in stat_printout()
322 struct timeval* elapsed) in stat_printout()
346 struct timeval timeout, now; in perfselect()
[all …]
/openbsd/usr.sbin/nsd/
H A Dmini_event.h114 struct timeval* time_tv;
135 struct timeval ev_timeout;
145 void *event_init(time_t* time_secs, struct timeval* time_tv);
153 int event_base_loopexit(struct event_base *, struct timeval *);
166 int event_add(struct event *, struct timeval *);
178 int signal_add(struct event *, struct timeval *);
/openbsd/sys/dev/isa/
H A Dspkr.c224 int sustain, timeval, tempo; in playstring() local
279 GETNUM(cp, timeval); in playstring()
280 if (timeval <= 0 || timeval > MIN_VALUE) in playstring()
281 timeval = value; in playstring()
290 playtone(pitch, timeval, sustain); in playstring()
340 GETNUM(cp, timeval); in playstring()
341 if (timeval <= 0 || timeval > MIN_VALUE) in playstring()
342 timeval = value; in playstring()
347 playtone(-1, timeval, sustain); in playstring()
/openbsd/usr.sbin/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*);
/openbsd/sbin/unwind/libunbound/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*);
/openbsd/usr.sbin/rdate/
H A Drfc868time.c56 rfc868time_client(const char *hostname, int family, struct timeval *new,
57 struct timeval *adjust, int leapflag);
61 rfc868time_client(const char *hostname, int family, struct timeval *new, in rfc868time_client()
62 struct timeval *adjust, int leapflag) in rfc868time_client()
65 struct timeval old; in rfc868time_client()
H A Drdate.c55 void rfc868time_client(const char *, int, struct timeval *, struct timeval *, int);
56 void ntp_client(const char *, int, struct timeval *, struct timeval *, int);
63 struct timeval new;
64 struct timeval adjust;
H A Dntp.c123 void ntp_client(const char *, int, struct timeval *, struct timeval *, int);
129 void create_timeval(double, struct timeval *, struct timeval *);
138 ntp_client(const char *hostname, int family, struct timeval *new, in ntp_client()
139 struct timeval *adjust, int leapflag) in ntp_client()
449 struct timeval current; in current_time()
472 create_timeval(double difference, struct timeval *new, struct timeval *adjust) in create_timeval()
474 struct timeval old; in create_timeval()
/openbsd/lib/libevent/
H A Devent.c372 event_loopexit(const struct timeval *tv) in event_loopexit()
417 struct timeval tv; in event_base_loop()
418 struct timeval *tv_p; in event_base_loop()
531 struct timeval etv; in event_base_once()
633 struct timeval now, res; in event_pending()
697 struct timeval now; in event_add()
793 struct timeval now; in timeout_next()
795 struct timeval *tv = *tv_p; in timeout_next()
822 struct timeval now; in timeout_process()
941 struct timeval tv; in event_asr_dispatch()
[all …]

12345678910>>...30