Lines Matching refs:pHead
322 static int amatchAvlIntegrity(amatch_avl *pHead){
324 if( pHead==0 ) return 1;
325 if( (p = pHead->pBefore)!=0 ){
326 assert( p->pUp==pHead );
328 assert( strcmp(p->zKey, pHead->zKey)<0 );
330 assert( strcmp(p->zKey, pHead->zKey)<0 );
332 if( (p = pHead->pAfter)!=0 ){
333 assert( p->pUp==pHead );
335 assert( strcmp(p->zKey, pHead->zKey)>0 );
337 assert( strcmp(p->zKey, pHead->zKey)>0 );
341 static int amatchAvlIntegrity2(amatch_avl *pHead){
343 for(p=amatchAvlFirst(pHead); p; p=pNext){
663 amatch_rule *pHead = 0; in amatchLoadRules() local
684 pRule->pNext = pHead; in amatchLoadRules()
685 pHead = pRule; in amatchLoadRules()
703 while( (pX = pHead)!=0 ){ in amatchLoadRules()
704 pHead = pX->pNext; in amatchLoadRules()
721 p->pRule = pHead; in amatchLoadRules()