Searched refs:node (Results 1 – 1 of 1) sorted by relevance
/hal_rpi_pico-latest/src/common/pico_util/ |
D | pheap.c | 90 pheap_node_t *node = ph_get_node(heap, id); in ph_remove_and_free_node() local 91 if (!node->parent) return false; // not in tree in ph_remove_and_free_node() 92 pheap_node_t *parent = ph_get_node(heap, node->parent); in ph_remove_and_free_node() 94 parent->child = node->sibling; in ph_remove_and_free_node() 101 prev_sibling->sibling = node->sibling; in ph_remove_and_free_node() 109 node->sibling = node->parent = 0; in ph_remove_and_free_node() 125 pheap_node_t *node = ph_get_node(heap, id); in ph_dump_node() local 126 printf("%d (c=%d s=%d p=%d) ", id, node->child, node->sibling, node->parent); in ph_dump_node() 129 count += ph_dump_node(heap, node->child, dump_key, user_data, indent + 1); in ph_dump_node() 130 count += ph_dump_node(heap, node->sibling, dump_key, user_data, indent); in ph_dump_node()
|