Lines Matching refs:pRscTop
188 void DestroyNode( RscTop * pRscTop, ObjNode * pObjNode ){ in DestroyNode() argument
190 DestroyNode( pRscTop, (ObjNode*)pObjNode->Left() ); in DestroyNode()
191 DestroyNode( pRscTop, (ObjNode*)pObjNode->Right() ); in DestroyNode()
194 pRscTop->Destroy( RSCINST( pRscTop, pObjNode->GetRscObj() ) ); in DestroyNode()
201 void DestroySubTrees( RscTop * pRscTop ){ in DestroySubTrees() argument
202 if( pRscTop ){ in DestroySubTrees()
203 DestroySubTrees( (RscTop*)pRscTop->Left() ); in DestroySubTrees()
205 DestroyNode( pRscTop, pRscTop->GetObjNode() ); in DestroySubTrees()
207 DestroySubTrees( (RscTop*)pRscTop->Right() ); in DestroySubTrees()
211 void DestroyTree( RscTop * pRscTop ){ in DestroyTree() argument
212 if( pRscTop ){ in DestroyTree()
213 DestroyTree( (RscTop*)pRscTop->Left() ); in DestroyTree()
214 DestroyTree( (RscTop*)pRscTop->Right() ); in DestroyTree()
216 delete pRscTop; in DestroyTree()
220 void Pre_dtorTree( RscTop * pRscTop ){ in Pre_dtorTree() argument
221 if( pRscTop ){ in Pre_dtorTree()
222 Pre_dtorTree( (RscTop*)pRscTop->Left() ); in Pre_dtorTree()
223 Pre_dtorTree( (RscTop*)pRscTop->Right() ); in Pre_dtorTree()
225 pRscTop->Pre_dtor(); in Pre_dtorTree()
340 RscTop *pRscTop; in Search() local
342 if( NULL != (pRscTop = Search( nRT )) ){ in Search()
343 if( NULL != (pObjNode = pRscTop->GetObjNode( rId )) ){ in Search()
361 RscTop * pRscTop; in Delete() local
363 if( NULL != (pRscTop = Search( nRT )) ){ in Delete()
364 if( NULL != (pObjNode = pRscTop->GetObjNode()) ){ in Delete()
369 pRscTop->pObjBiTree = in Delete()
370 (ObjNode *)pRscTop->pObjBiTree->Remove( pObjNode ); in Delete()
373 pRscTop->Destroy( RSCINST( pRscTop, in Delete()
1055 sal_Bool IsInstConsistent( ObjNode * pObjNode, RscTop * pRscTop, in IsInstConsistent() argument
1063 if( ! IsInstConsistent( (ObjNode*)pObjNode->Left(), pRscTop, pList ) ) in IsInstConsistent()
1066 aTmpI.pClass = pRscTop; in IsInstConsistent()
1071 if( ! IsInstConsistent( (ObjNode*)pObjNode->Right(), pRscTop, pList ) ) in IsInstConsistent()
1078 sal_Bool MakeConsistent( RscTop * pRscTop, RscInconsList * pList ) in MakeConsistent() argument
1082 if( pRscTop ){ in MakeConsistent()
1083 if( ! ::MakeConsistent( (RscTop*)pRscTop->Left(), pList ) ) in MakeConsistent()
1086 if( pRscTop->GetObjNode() ){ in MakeConsistent()
1087 if( ! pRscTop->GetObjNode()->IsConsistent() ){ in MakeConsistent()
1088 pRscTop->GetObjNode()->OrderTree(); in MakeConsistent()
1089 if( ! pRscTop->GetObjNode()->IsConsistent( pList ) ) in MakeConsistent()
1092 if( ! IsInstConsistent( pRscTop->GetObjNode(), pRscTop, pList ) ) in MakeConsistent()
1096 if( ! ::MakeConsistent( (RscTop*)pRscTop->Right(), pList ) ) in MakeConsistent()