Lines Matching refs:pNewRoot
154 StgAvlNode* pNewRoot = pHeavy->pRight; in RotLR() local
156 pHeavy->pRight = pNewRoot->pLeft; in RotLR()
157 pLeft = pNewRoot->pRight; in RotLR()
158 pNewRoot->pLeft = pHeavy; in RotLR()
159 pNewRoot->pRight = this; in RotLR()
161 switch( pNewRoot->nBalance ) in RotLR()
176 pNewRoot->nBalance = 0; in RotLR()
177 return pNewRoot; in RotLR()
198 StgAvlNode* pNewRoot = pHeavy->pLeft; in RotRL() local
199 pHeavy->pLeft = pNewRoot->pRight; in RotRL()
200 pRight = pNewRoot->pLeft; in RotRL()
201 pNewRoot->pRight = pHeavy; in RotRL()
202 pNewRoot->pLeft = this; in RotRL()
203 switch( pNewRoot->nBalance ) in RotRL()
218 pNewRoot->nBalance = 0; in RotRL()
219 return pNewRoot; in RotRL()
292 StgAvlNode* pPivot, *pHeavy, *pNewRoot, *pParent, *pPrev; in Insert() local
321 pNewRoot = pPivot->RotLL(); in Insert()
323 pNewRoot = pPivot->RotLR(); in Insert()
326 pNewRoot = pPivot->RotRR(); in Insert()
328 pNewRoot = pPivot->RotRL(); in Insert()
331 *pRoot = pNewRoot; in Insert()
333 pParent->pLeft = pNewRoot; in Insert()
335 pParent->pRight = pNewRoot; in Insert()