Searched refs:heap (Results 1 – 8 of 8) sorted by relevance
/libuv/src/ |
H A D | heap-inl.h | 40 struct heap { struct 50 HEAP_EXPORT(void heap_init(struct heap* heap)); argument 51 HEAP_EXPORT(struct heap_node* heap_min(const struct heap* heap)); 52 HEAP_EXPORT(void heap_insert(struct heap* heap, 55 HEAP_EXPORT(void heap_remove(struct heap* heap, 62 HEAP_EXPORT(void heap_init(struct heap* heap)) { in HEAP_EXPORT() argument 64 heap->nelts = 0; in HEAP_EXPORT() 72 static void heap_node_swap(struct heap* heap, in heap_node_swap() argument 106 HEAP_EXPORT(void heap_insert(struct heap* heap, in HEAP_EXPORT() argument 150 HEAP_EXPORT(void heap_remove(struct heap* heap, in HEAP_EXPORT() argument [all …]
|
H A D | timer.c | 29 static struct heap *timer_heap(const uv_loop_t* loop) { in timer_heap() 31 return (struct heap*) loop->timer_heap; in timer_heap() 33 return (struct heap*) &loop->timer_heap; in timer_heap() 43 a = container_of(ha, uv_timer_t, node.heap); in timer_less_than() 44 b = container_of(hb, uv_timer_t, node.heap); in timer_less_than() 90 (struct heap_node*) &handle->node.heap, in uv_timer_start() 101 (struct heap_node*) &handle->node.heap, in uv_timer_stop() 153 handle = container_of(heap_node, uv_timer_t, node.heap); in uv__next_timeout() 178 handle = container_of(heap_node, uv_timer_t, node.heap); in uv__run_timers()
|
/libuv/src/unix/ |
H A D | loop.c | 52 heap_init((struct heap*) &loop->timer_heap); in uv_loop_init()
|
/libuv/include/uv/ |
H A D | unix.h | 332 void* heap[3]; \
|
H A D | win.h | 554 void* heap[3]; \
|
/libuv/src/win/ |
H A D | core.c | 229 struct heap* timer_heap; in uv_loop_init()
|
/libuv/ |
H A D | Makefile.am | 33 src/heap-inl.h \
|
H A D | ChangeLog | 1353 * timer: remove redundant check in heap compare (Yash Ladha) 4822 * heap: fix `heap_remove()` (Fedor Indutny) 5004 * unix: use a heap for timers (Ben Noordhuis) 5016 * heap: fix node removal (Keno Fischer)
|
Completed in 85 milliseconds