Lines Matching refs:link
8 phn(node_t) link;
39 ph_gen(static, heap_, heap_t, node_t, link, node_cmp_magic);
51 leftmost_child = phn_lchild_get(node_t, link, node);
56 for (sibling = phn_next_get(node_t, link, leftmost_child); sibling !=
57 NULL; sibling = phn_next_get(node_t, link, sibling)) {
73 for (auxelm = phn_next_get(node_t, link, heap->ph_root); auxelm != NULL;
74 auxelm = phn_next_get(node_t, link, auxelm)) {
75 assert_ptr_eq(phn_next_get(node_t, link, phn_prev_get(node_t,
76 link, auxelm)), auxelm,
77 "auxelm's prev doesn't link to auxelm");
96 leftmost_child = phn_lchild_get(node_t, link, node);
99 assert_ptr_eq((void *)phn_prev_get(node_t, link, leftmost_child),
100 (void *)node, "Leftmost child does not link to node");
103 for (sibling = phn_next_get(node_t, link, leftmost_child); sibling !=
104 NULL; sibling = phn_next_get(node_t, link, sibling)) {
105 assert_ptr_eq(phn_next_get(node_t, link, phn_prev_get(node_t,
106 link, sibling)), sibling,
107 "sibling's prev doesn't link to sibling");
124 for (auxelm = phn_next_get(node_t, link, heap->ph_root); auxelm != NULL;
125 auxelm = phn_next_get(node_t, link, auxelm)) {
126 assert_ptr_eq(phn_next_get(node_t, link, phn_prev_get(node_t,
127 link, auxelm)), auxelm,
128 "auxelm's prev doesn't link to auxelm");