Lines Matching refs:nBalance
33 nBalance = nId = 0; in StgAvlNode()
78 if( pCur->nBalance != 0 ) in Locate()
102 return nBalance; in Adjust()
115 nBalance = 0; in Adjust()
122 pCur->nBalance = -1; in Adjust()
128 pCur->nBalance = 1; in Adjust()
132 nBalance = nBalance + nDelta; in Adjust()
144 pHeavy->nBalance = nBalance = 0; in RotLL()
161 switch( pNewRoot->nBalance ) in RotLR()
164 nBalance = -1; in RotLR()
165 pHeavy->nBalance = 0; in RotLR()
168 pHeavy->nBalance = 1; in RotLR()
169 nBalance = 0; in RotLR()
172 nBalance = 0; in RotLR()
173 pHeavy->nBalance = 0; in RotLR()
176 pNewRoot->nBalance = 0; in RotLR()
188 nBalance = pHeavy->nBalance = 0; in RotRR()
203 switch( pNewRoot->nBalance ) in RotRL()
206 nBalance = 1; in RotRL()
207 pHeavy->nBalance = 0; in RotRL()
210 pHeavy->nBalance = -1; in RotRL()
211 nBalance = 0; in RotRL()
214 nBalance = 0; in RotRL()
215 pHeavy->nBalance = 0; in RotRL()
218 pNewRoot->nBalance = 0; in RotRL()
315 if( pPivot->nBalance >= 2 || pPivot->nBalance <= -2 ) in Insert()
320 if( pHeavy->nBalance == 1 ) in Insert()
325 else if( pHeavy->nBalance == -1 ) in Insert()