Lines Matching refs:heap_node
38 static int timer_less_than(const struct heap_node* ha, in timer_less_than()
39 const struct heap_node* hb) { in timer_less_than()
43 a = container_of(ha, uv_timer_t, heap_node); in timer_less_than()
44 b = container_of(hb, uv_timer_t, heap_node); in timer_less_than()
90 (struct heap_node*) &handle->heap_node, in uv_timer_start()
103 (struct heap_node*) &handle->heap_node, in uv_timer_stop()
143 const struct heap_node* heap_node; in uv__next_timeout() local
147 heap_node = heap_min(timer_heap(loop)); in uv__next_timeout()
148 if (heap_node == NULL) in uv__next_timeout()
151 handle = container_of(heap_node, uv_timer_t, heap_node); in uv__next_timeout()
164 struct heap_node* heap_node; in uv__run_timers() local
168 heap_node = heap_min(timer_heap(loop)); in uv__run_timers()
169 if (heap_node == NULL) in uv__run_timers()
172 handle = container_of(heap_node, uv_timer_t, heap_node); in uv__run_timers()