Searched refs:parent_balance (Results 1 – 2 of 2) sorted by relevance
276 const int parent_balance = BalanceOf(parent); in InsertNode() local280 if (parent_balance > 1) { in InsertNode()284 } else if (parent_balance == 0 || parent_balance == -1) { in InsertNode()290 if (parent_balance < -1) { in InsertNode()294 } else if (parent_balance == 0 || parent_balance == 1) { in InsertNode()356 const int parent_balance = BalanceOf(parent); in RemoveNode() local358 if (parent_balance == 1 || parent_balance == -1) { in RemoveNode()364 if (parent_balance < -1) { in RemoveNode()372 if (parent_balance > 1) { in RemoveNode()