Lines Matching refs:timeval
119 static int timeout_next(struct event_base *, struct timeval **);
121 static void timeout_correct(struct event_base *, struct timeval *);
135 gettime(struct event_base *base, struct timeval *tp) in gettime()
424 event_loopexit(const struct timeval *tv) in event_loopexit()
431 event_base_loopexit(struct event_base *event_base, const struct timeval *tv) in event_base_loopexit()
469 struct timeval tv; in event_base_loop()
470 struct timeval *tv_p; in event_base_loop()
562 void (*callback)(int, short, void *), void *arg, const struct timeval *tv) in event_once()
570 void (*callback)(int, short, void *), void *arg, const struct timeval *tv) in event_base_once()
573 struct timeval etv; in event_base_once()
673 event_pending(struct event *ev, short event, struct timeval *tv) in event_pending()
675 struct timeval now, res; in event_pending()
700 event_add(struct event *ev, const struct timeval *tv) in event_add()
739 struct timeval now; in event_add()
833 timeout_next(struct event_base *base, struct timeval **tv_p) in timeout_next()
835 struct timeval now; in timeout_next()
837 struct timeval *tv = *tv_p; in timeout_next()
869 timeout_correct(struct event_base *base, struct timeval *tv) in timeout_correct()
873 struct timeval off; in timeout_correct()
896 struct timeval *ev_tv = &(**pev).ev_timeout; in timeout_correct()
906 struct timeval now; in timeout_process()