Searched refs:left_heavy (Results 1 - 2 of 2) sorted by relevance

/freebsd-9.3-release/cddl/contrib/opensolaris/common/avl/
H A Davl.c71 * int left_heavy; // -1 when left subtree is taller at some node,
75 * int right_heavy;// will be the opposite of left_heavy (-1 or 1)
295 int left_heavy = balance >> 1; local
296 int right_heavy = -left_heavy;
438 AVL_SETBALANCE(child, (balance == right_heavy ? left_heavy : 0));
443 AVL_SETBALANCE(node, (balance == left_heavy ? right_heavy : 0));
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/common/avl/
H A Davl.c71 * int left_heavy; // -1 when left subtree is taller at some node,
75 * int right_heavy;// will be the opposite of left_heavy (-1 or 1)
296 int left_heavy = balance >> 1; local
297 int right_heavy = -left_heavy;
439 AVL_SETBALANCE(child, (balance == right_heavy ? left_heavy : 0));
444 AVL_SETBALANCE(node, (balance == left_heavy ? right_heavy : 0));

Completed in 141 milliseconds