/openbsd/usr.sbin/unbound/util/ |
H A D | timeval_func.h | 50 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 D | timeval_func.c | 47 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 D | mini_event.h | 129 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 D | winsock_event.h | 149 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 D | ub_event.h | 73 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 D | timeval_func.h | 50 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 D | timeval_func.c | 47 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 D | mini_event.h | 129 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 D | winsock_event.h | 149 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 D | ub_event.h | 73 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 D | time.h | 46 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 D | disk.h | 70 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 D | report_smtp.c | 26 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 D | prtc.c | 55 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 D | time.h | 26 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 D | delayer.c | 106 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 D | perf.c | 89 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 D | mini_event.h | 114 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 D | spkr.c | 224 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 D | unbound-event.h | 82 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 D | unbound-event.h | 82 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 D | rfc868time.c | 56 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 D | rdate.c | 55 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 D | ntp.c | 123 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 D | event.c | 372 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 …]
|