Home
last modified time | relevance | path

Searched refs:heap_node (Results 1 – 8 of 8) sorted by relevance

/third_party/node/deps/uv/src/
Dtimer.c38 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()
[all …]
Dheap-inl.h27 struct heap_node { struct
28 struct heap_node* left; argument
29 struct heap_node* right; argument
30 struct heap_node* parent; argument
41 struct heap_node* min;
46 typedef int (*heap_compare_fn)(const struct heap_node* a,
47 const struct heap_node* b);
51 HEAP_EXPORT(struct heap_node* heap_min(const struct heap* heap));
53 struct heap_node* newnode,
56 struct heap_node* node,
[all …]
/third_party/libuv/src/
Dtimer.c41 static int timer_less_than(const struct heap_node* ha, in timer_less_than()
42 const struct heap_node* hb) { in timer_less_than()
46 a = container_of(ha, uv_timer_t, heap_node); in timer_less_than()
47 b = container_of(hb, uv_timer_t, heap_node); in timer_less_than()
97 (struct heap_node*) &handle->heap_node, in uv_timer_start()
110 (struct heap_node*) &handle->heap_node, in uv_timer_stop()
150 const struct heap_node* heap_node; in uv__next_timeout() local
154 heap_node = heap_min(timer_heap(loop)); in uv__next_timeout()
155 if (heap_node == NULL) in uv__next_timeout()
158 handle = container_of(heap_node, uv_timer_t, heap_node); in uv__next_timeout()
[all …]
Dheap-inl.h27 struct heap_node { struct
28 struct heap_node* left; argument
29 struct heap_node* right; argument
30 struct heap_node* parent; argument
41 struct heap_node* min;
46 typedef int (*heap_compare_fn)(const struct heap_node* a,
47 const struct heap_node* b);
51 HEAP_EXPORT(struct heap_node* heap_min(const struct heap* heap));
53 struct heap_node* newnode,
56 struct heap_node* node,
[all …]
/third_party/node/deps/uv/include/uv/
Dunix.h332 void* heap_node[3]; \
Dwin.h550 void* heap_node[3]; \
/third_party/libuv/include/uv/
Dunix.h333 void* heap_node[3]; \
Dwin.h551 void* heap_node[3]; \