/src/common/lib/libc/gen/ |
rb.c | 335 struct rb_node * const new_child = old_father; local in function:rb_tree_reparent_nodes 351 new_child->rb_nodes[which] = old_child->rb_nodes[other]; 352 new_father->rb_nodes[other] = new_child; 358 RB_SET_FATHER(new_child, new_father); 361 * Exchange properties between new_father and new_child. The only 362 * change is that new_child's position is now on the other side. 370 RB_COPY_PROPERTIES(new_child, &tmp); 373 RB_SWAP_PROPERTIES(new_father, new_child); 375 RB_SET_POSITION(new_child, other); 380 if (!RB_SENTINEL_P(new_child->rb_nodes[which])) [all...] |
rb.c | 335 struct rb_node * const new_child = old_father; local in function:rb_tree_reparent_nodes 351 new_child->rb_nodes[which] = old_child->rb_nodes[other]; 352 new_father->rb_nodes[other] = new_child; 358 RB_SET_FATHER(new_child, new_father); 361 * Exchange properties between new_father and new_child. The only 362 * change is that new_child's position is now on the other side. 370 RB_COPY_PROPERTIES(new_child, &tmp); 373 RB_SWAP_PROPERTIES(new_father, new_child); 375 RB_SET_POSITION(new_child, other); 380 if (!RB_SENTINEL_P(new_child->rb_nodes[which])) [all...] |
rb.c | 335 struct rb_node * const new_child = old_father; local in function:rb_tree_reparent_nodes 351 new_child->rb_nodes[which] = old_child->rb_nodes[other]; 352 new_father->rb_nodes[other] = new_child; 358 RB_SET_FATHER(new_child, new_father); 361 * Exchange properties between new_father and new_child. The only 362 * change is that new_child's position is now on the other side. 370 RB_COPY_PROPERTIES(new_child, &tmp); 373 RB_SWAP_PROPERTIES(new_father, new_child); 375 RB_SET_POSITION(new_child, other); 380 if (!RB_SENTINEL_P(new_child->rb_nodes[which])) [all...] |