Searched refs:tsource (Results 1 – 1 of 1) sorted by relevance
613 struct wl_event_source_timer *tsource = in wl_event_source_timer_update() local614 wl_container_of(source, tsource, base); in wl_event_source_timer_update()615 struct wl_timer_heap *timers = &tsource->base.loop->timers; in wl_event_source_timer_update()629 if (tsource->heap_idx == -1) { in wl_event_source_timer_update()630 wl_timer_heap_arm(timers, tsource, deadline); in wl_event_source_timer_update()631 } else if (time_lt(deadline, tsource->deadline)) { in wl_event_source_timer_update()632 tsource->deadline = deadline; in wl_event_source_timer_update()633 heap_sift_up(timers->data, tsource); in wl_event_source_timer_update()635 tsource->deadline = deadline; in wl_event_source_timer_update()636 heap_sift_down(timers->data, timers->active, tsource); in wl_event_source_timer_update()[all …]