Lines Matching refs:timers
3163 verify_heap (EV_A_ timers, timercnt); in ev_verify()
3325 if (timercnt && ANHE_at (timers [HEAP0]) < mn_now) in timers_reify()
3329 ev_timer *w = (ev_timer *)ANHE_w (timers [HEAP0]); in timers_reify()
3342 ANHE_at_cache (timers [HEAP0]); in timers_reify()
3343 downheap (timers, timercnt, HEAP0); in timers_reify()
3351 while (timercnt && ANHE_at (timers [HEAP0]) < mn_now); in timers_reify()
3457 ANHE *he = timers + i + HEAP0; in timers_reschedule()
3613 ev_tstamp to = ANHE_at (timers [HEAP0]) - mn_now; in ev_run()
3887 array_needsize (ANHE, timers, timermax, ev_active (w) + 1, EMPTY2); in ev_timer_start()
3888 ANHE_w (timers [ev_active (w)]) = (WT)w; in ev_timer_start()
3889 ANHE_at_cache (timers [ev_active (w)]); in ev_timer_start()
3890 upheap (timers, ev_active (w)); in ev_timer_start()
3909 assert (("libev: internal timer heap corruption", ANHE_w (timers [active]) == (WT)w)); in ev_timer_stop()
3915 timers [active] = timers [timercnt + HEAP0]; in ev_timer_stop()
3916 adjustheap (timers, timercnt, active); in ev_timer_stop()
3939 ANHE_at_cache (timers [ev_active (w)]); in ev_timer_again()
3940 adjustheap (timers, timercnt, ev_active (w)); in ev_timer_again()
5017 if (ev_cb ((ev_timer *)ANHE_w (timers [i])) == stat_timer_cb) in ev_walk()
5020 cb (EV_A_ EV_STAT, ((char *)ANHE_w (timers [i])) - offsetof (struct ev_stat, timer)); in ev_walk()
5025 cb (EV_A_ EV_TIMER, ANHE_w (timers [i])); in ev_walk()