Lines Matching refs:timeval
119 static int timeout_next(struct event_base *, struct timeval **);
121 static void timeout_correct(struct event_base *, struct timeval *);
124 gettime(struct event_base *base, struct timeval *tp) in gettime()
412 event_loopexit(const struct timeval *tv) in event_loopexit()
419 event_base_loopexit(struct event_base *event_base, const struct timeval *tv) in event_base_loopexit()
457 struct timeval tv; in event_base_loop()
458 struct timeval *tv_p; in event_base_loop()
550 void (*callback)(int, short, void *), void *arg, const struct timeval *tv) in event_once()
558 void (*callback)(int, short, void *), void *arg, const struct timeval *tv) in event_base_once()
561 struct timeval etv; in event_base_once()
661 event_pending(struct event *ev, short event, struct timeval *tv) in event_pending()
663 struct timeval now, res; in event_pending()
688 event_add(struct event *ev, const struct timeval *tv) in event_add()
727 struct timeval now; in event_add()
817 timeout_next(struct event_base *base, struct timeval **tv_p) in timeout_next()
819 struct timeval now; in timeout_next()
821 struct timeval *tv = *tv_p; in timeout_next()
853 timeout_correct(struct event_base *base, struct timeval *tv) in timeout_correct()
857 struct timeval off; in timeout_correct()
880 struct timeval *ev_tv = &(**pev).ev_timeout; in timeout_correct()
890 struct timeval now; in timeout_process()