Lines Matching refs:pBlock

59 const char* CBlock::DbgCheckCBlock( const void* pBlock )  in DBG_NAME()
61 CBlock* p = (CBlock*)pBlock; in DBG_NAME()
736 CBlock* pBlock = pFirstBlock; in ~Container() local
737 while ( pBlock ) in ~Container()
739 CBlock* pTemp = pBlock->GetNextBlock(); in ~Container()
740 delete pBlock; in ~Container()
741 pBlock = pTemp; in ~Container()
755 void Container::ImpInsert( void* p, CBlock* pBlock, sal_uInt16 nIndex ) in ImpInsert() argument
761 if ( !pBlock ) in ImpInsert()
773 if ( pBlock->Count() == nBlockSize ) in ImpInsert()
776 CBlock* pNewBlock = pBlock->Split( p, nIndex, nReSize ); in ImpInsert()
779 if ( pBlock->pNext == pNewBlock ) in ImpInsert()
782 if ( pBlock == pLastBlock ) in ImpInsert()
786 if ( pBlock == pCurBlock ) in ImpInsert()
788 if ( pBlock->nCount <= nCurIndex ) in ImpInsert()
793 nCurIndex = nCurIndex - pBlock->nCount; // MSVC warns here if += is used in ImpInsert()
800 if ( pBlock == pFirstBlock ) in ImpInsert()
804 if ( pBlock == pCurBlock ) in ImpInsert()
818 pBlock->Insert( p, nIndex, nReSize ); in ImpInsert()
821 if ( (pBlock == pCurBlock) && (nIndex <= nCurIndex) ) in ImpInsert()
905 void* Container::ImpRemove( CBlock* pBlock, sal_uInt16 nIndex ) in ImpRemove() argument
915 pOld = pBlock->GetObject( nIndex ); in ImpRemove()
916 pBlock->Reset(); in ImpRemove()
922 if ( pBlock->Count() == 1 ) in ImpRemove()
925 if ( pBlock->GetPrevBlock() ) in ImpRemove()
926 (pBlock->GetPrevBlock())->SetNextBlock( pBlock->GetNextBlock() ); in ImpRemove()
928 pFirstBlock = pBlock->GetNextBlock(); in ImpRemove()
930 if ( pBlock->GetNextBlock() ) in ImpRemove()
931 (pBlock->GetNextBlock())->SetPrevBlock( pBlock->GetPrevBlock() ); in ImpRemove()
933 pLastBlock = pBlock->GetPrevBlock(); in ImpRemove()
936 if ( pBlock == pCurBlock ) in ImpRemove()
938 if ( pBlock->GetNextBlock() ) in ImpRemove()
940 pCurBlock = pBlock->GetNextBlock(); in ImpRemove()
945 pCurBlock = pBlock->GetPrevBlock(); in ImpRemove()
950 pOld = pBlock->GetObject( nIndex ); in ImpRemove()
951 delete pBlock; in ImpRemove()
956 pOld = pBlock->Remove( nIndex, nReSize ); in ImpRemove()
959 if ( (pBlock == pCurBlock) && in ImpRemove()
960 ((nIndex < nCurIndex) || ((nCurIndex == pBlock->Count()) && nCurIndex)) ) in ImpRemove()
1230 CBlock* pBlock = pFirstBlock; in Clear() local
1231 while ( pBlock ) in Clear()
1233 CBlock* pTemp = pBlock->GetNextBlock(); in Clear()
1234 delete pBlock; in Clear()
1235 pBlock = pTemp; in Clear()
1665 CBlock* pBlock = pFirstBlock; in operator =() local
1666 while ( pBlock ) in operator =()
1668 CBlock* pTemp = pBlock->GetNextBlock(); in operator =()
1669 delete pBlock; in operator =()
1670 pBlock = pTemp; in operator =()