Lines Matching refs:pRemove
164 NameNode * NameNode::Remove( NameNode * pRemove ){ in Remove() argument
166 NameNode * pParent = SearchParent( pRemove ); in Remove()
170 && (EQUAL == pRemove->Compare( pParent->Left() ) ) ){ in Remove()
171 pParent->pLeft = pRemove->Left(); in Remove()
172 if( pRemove->Right() ) in Remove()
173 pParent->Insert( pRemove->Right() ); in Remove()
176 && (EQUAL == pRemove->Compare( pParent->Right() ) ) ){ in Remove()
177 pParent->pRight = pRemove->Right(); in Remove()
178 if( pRemove->Left() ) in Remove()
179 pParent->Insert( pRemove->Left() ); in Remove()
182 else if( EQUAL == this->Compare( pRemove ) ){ in Remove()
192 pRemove->pLeft = pRemove->pRight = NULL; in Remove()