Lines Matching refs:pBefore
189 amatch_avl *pBefore; /* Other elements less than zKey */ member
200 short int hBefore = p->pBefore ? p->pBefore->height : 0; in amatchAvlRecomputeHeight()
215 amatch_avl *pB = pP->pBefore; in amatchAvlRotateBefore()
220 pP->pBefore = pY; in amatchAvlRotateBefore()
237 amatch_avl *pY = pA->pBefore; in amatchAvlRotateAfter()
239 pA->pBefore = pP; in amatchAvlRotateAfter()
256 return &pUp->pBefore; in amatchAvlFromPtr()
269 amatch_avl *pB = p->pBefore; in amatchAvlBalance()
270 if( pB->imbalance<0 ) p->pBefore = amatchAvlRotateAfter(pB); in amatchAvlBalance()
291 p = (c<0) ? p->pBefore : p->pAfter; in amatchAvlSearch()
299 if( p ) while( p->pBefore ) p = p->pBefore; in amatchAvlFirst()
325 if( (p = pHead->pBefore)!=0 ){
366 if( p->pBefore ){ in amatchAvlInsert()
367 p = p->pBefore; in amatchAvlInsert()
369 p->pBefore = pNew; in amatchAvlInsert()
386 pNew->pBefore = 0; in amatchAvlInsert()
404 if( pOld->pBefore==0 && pOld->pAfter==0 ){ in amatchAvlRemove()
407 }else if( pOld->pBefore && pOld->pAfter ){ in amatchAvlRemove()
420 pX->pBefore = pY = pOld->pBefore; in amatchAvlRemove()
424 }else if( pOld->pBefore==0 ){ in amatchAvlRemove()
428 *ppParent = pBalance = pOld->pBefore; in amatchAvlRemove()
433 pOld->pBefore = 0; in amatchAvlRemove()