Lines Matching refs:delete
664 avl_node_t *delete; in avl_remove() local
677 delete = AVL_DATA2NODE(data, off); in avl_remove()
689 if (delete->avl_child[0] != NULL && delete->avl_child[1] != NULL) { in avl_remove()
694 old_balance = AVL_XBALANCE(delete); in avl_remove()
702 for (node = delete->avl_child[left]; in avl_remove()
713 *node = *delete; in avl_remove()
729 delete = &tmp; in avl_remove()
730 parent = AVL_XPARENT(delete); in avl_remove()
731 parent->avl_child[AVL_XCHILD(delete)] = delete; in avl_remove()
732 which_child = (delete->avl_child[1] != 0); in avl_remove()
733 if (delete->avl_child[which_child] != NULL) in avl_remove()
734 AVL_SETPARENT(delete->avl_child[which_child], delete); in avl_remove()
744 parent = AVL_XPARENT(delete); in avl_remove()
745 which_child = AVL_XCHILD(delete); in avl_remove()
746 if (delete->avl_child[0] != NULL) in avl_remove()
747 node = delete->avl_child[0]; in avl_remove()
749 node = delete->avl_child[1]; in avl_remove()