Lines Matching refs:which_child
315 int which_child = AVL_XCHILD(node);
377 AVL_SETCHILD(child, which_child);
380 parent->avl_child[which_child] = child;
461 AVL_SETCHILD(gchild, which_child);
463 parent->avl_child[which_child] = gchild;
488 int which_child = AVL_INDEX2CHILD(where);
506 AVL_SETCHILD(node, which_child);
510 ASSERT(parent->avl_child[which_child] == NULL);
511 parent->avl_child[which_child] = node;
531 new_balance = old_balance + avl_child2balance[which_child];
550 which_child = AVL_XCHILD(node);
688 int which_child;
748 which_child = (delete->avl_child[1] != 0);
749 if (delete->avl_child[which_child] != NULL)
750 AVL_SETPARENT(delete->avl_child[which_child], delete);
761 which_child = AVL_XCHILD(delete);
772 AVL_SETCHILD(node, which_child);
778 parent->avl_child[which_child] = node;
790 * Capture the parent and which_child values for the next
795 new_balance = old_balance - avl_child2balance[which_child];
797 which_child = AVL_XCHILD(node);