Lines Matching refs:b_bal
1253 gint b_bal; in q_tree_node_rotate_left() local
1266 b_bal = right->balance; in q_tree_node_rotate_left()
1268 if (b_bal <= 0) { in q_tree_node_rotate_left()
1270 right->balance = b_bal - 1; in q_tree_node_rotate_left()
1272 right->balance = a_bal + b_bal - 2; in q_tree_node_rotate_left()
1276 if (a_bal <= b_bal) { in q_tree_node_rotate_left()
1279 right->balance = b_bal - 1; in q_tree_node_rotate_left()
1281 node->balance = a_bal - b_bal - 1; in q_tree_node_rotate_left()
1292 gint b_bal; in q_tree_node_rotate_right() local
1305 b_bal = left->balance; in q_tree_node_rotate_right()
1307 if (b_bal <= 0) { in q_tree_node_rotate_right()
1308 if (b_bal > a_bal) { in q_tree_node_rotate_right()
1309 left->balance = b_bal + 1; in q_tree_node_rotate_right()
1313 node->balance = a_bal - b_bal + 1; in q_tree_node_rotate_right()
1316 left->balance = b_bal + 1; in q_tree_node_rotate_right()
1318 left->balance = a_bal + b_bal + 2; in q_tree_node_rotate_right()