Lines Matching refs:active
1550 #define ev_active(w) ((W)(w))->active
3812 ev_start (EV_P_ W w, int active) in ev_start() argument
3815 w->active = active; in ev_start()
3823 w->active = 0; in ev_stop()
3907 int active = ev_active (w); in ev_timer_stop() local
3909 assert (("libev: internal timer heap corruption", ANHE_w (timers [active]) == (WT)w)); in ev_timer_stop()
3913 if (expect_true (active < timercnt + HEAP0)) in ev_timer_stop()
3915 timers [active] = timers [timercnt + HEAP0]; in ev_timer_stop()
3916 adjustheap (timers, timercnt, active); in ev_timer_stop()
4001 int active = ev_active (w); in ev_periodic_stop() local
4003 assert (("libev: internal periodic heap corruption", ANHE_w (periodics [active]) == (WT)w)); in ev_periodic_stop()
4007 if (expect_true (active < periodiccnt + HEAP0)) in ev_periodic_stop()
4009 periodics [active] = periodics [periodiccnt + HEAP0]; in ev_periodic_stop()
4010 adjustheap (periodics, periodiccnt, active); in ev_periodic_stop()
4562 int active = ++idlecnt [ABSPRI (w)]; in ev_idle_start() local
4565 ev_start (EV_A_ (W)w, active); in ev_idle_start()
4567 array_needsize (ev_idle *, idles [ABSPRI (w)], idlemax [ABSPRI (w)], active, EMPTY2); in ev_idle_start()
4568 idles [ABSPRI (w)][active - 1] = w; in ev_idle_start()
4584 int active = ev_active (w); in ev_idle_stop() local
4586 idles [ABSPRI (w)][active - 1] = idles [ABSPRI (w)][--idlecnt [ABSPRI (w)]]; in ev_idle_stop()
4587 ev_active (idles [ABSPRI (w)][active - 1]) = active; in ev_idle_stop()
4623 int active = ev_active (w); in ev_prepare_stop() local
4625 prepares [active - 1] = prepares [--preparecnt]; in ev_prepare_stop()
4626 ev_active (prepares [active - 1]) = active; in ev_prepare_stop()
4661 int active = ev_active (w); in ev_check_stop() local
4663 checks [active - 1] = checks [--checkcnt]; in ev_check_stop()
4664 ev_active (checks [active - 1]) = active; in ev_check_stop()
4808 int active = ev_active (w); in ev_fork_stop() local
4810 forks [active - 1] = forks [--forkcnt]; in ev_fork_stop()
4811 ev_active (forks [active - 1]) = active; in ev_fork_stop()
4849 int active = ev_active (w); in ev_cleanup_stop() local
4851 cleanups [active - 1] = cleanups [--cleanupcnt]; in ev_cleanup_stop()
4852 ev_active (cleanups [active - 1]) = active; in ev_cleanup_stop()
4891 int active = ev_active (w); in ev_async_stop() local
4893 asyncs [active - 1] = asyncs [--asynccnt]; in ev_async_stop()
4894 ev_active (asyncs [active - 1]) = active; in ev_async_stop()