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