Lines Matching refs:heap_node
27 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,
67 HEAP_EXPORT(struct heap_node* heap_min(const struct heap* heap)) { in HEAP_EXPORT()
73 struct heap_node* parent, in heap_node_swap()
74 struct heap_node* child) { in heap_node_swap()
75 struct heap_node* sibling; in heap_node_swap()
76 struct heap_node t; in heap_node_swap()
107 struct heap_node* newnode, in HEAP_EXPORT()
109 struct heap_node** parent; in HEAP_EXPORT()
110 struct heap_node** child; in HEAP_EXPORT()
151 struct heap_node* node, in HEAP_EXPORT()
153 struct heap_node* smallest; in HEAP_EXPORT()
154 struct heap_node** max; in HEAP_EXPORT()
155 struct heap_node* child; in HEAP_EXPORT()