Lines Matching refs:pEntry
104 : nStreamMode( nMode ), pIo( p ), pEntry( pe ) in OLEStorageBase()
114 if( pEntry ) in ~OLEStorageBase()
116 DBG_ASSERT( pEntry->nRefCnt, "RefCount unter 0" ); in ~OLEStorageBase()
117 if( !--pEntry->nRefCnt ) in ~OLEStorageBase()
119 if( pEntry->bZombie ) in ~OLEStorageBase()
120 delete pEntry; in ~OLEStorageBase()
122 pEntry->Close(); in ~OLEStorageBase()
125 pEntry = NULL; in ~OLEStorageBase()
142 && pEntry in Validate_Impl()
143 && !pEntry->bInvalid in Validate_Impl()
144 && ( !bWrite || !pEntry->bDirect || ( nStreamMode & STREAM_WRITE ) ) ) in Validate_Impl()
202 if( pEntry && pEntry->nRefCnt && pEntry->bDirect && (m_nMode & STREAM_WRITE) ) in ~StorageStream()
203 pEntry->Commit(); in ~StorageStream()
209 return pOther && ( pOther->pEntry == pEntry ); in Equals()
216 pEntry->Seek( nPos ); in Read()
217 nSize = pEntry->Read( pData, (sal_Int32) nSize ); in Read()
230 pEntry->Seek( nPos ); in Write()
231 nSize = pEntry->Write( pData, (sal_Int32) nSize ); in Write()
243 return nPos = pEntry->Seek( n ); in Seek()
258 sal_Bool b = pEntry->SetSize( (sal_Int32) nNewSize ); in SetSize()
277 pEntry->Commit(); in Commit()
289 pEntry->Revert(); in Revert()
301 pEntry->Copy( *pDest ); in CopyTo()
396 if( pEntry ) in Storage()
398 pEntry->bDirect = bDirect; in Storage()
399 pEntry->nMode = m; in Storage()
400 pEntry->bTemp = bTemp; in Storage()
406 pEntry = NULL; in Storage()
425 if( pEntry ) in Storage()
427 pEntry->bDirect = bDirect; in Storage()
428 pEntry->nMode = m_nMode; in Storage()
435 pEntry = NULL; in Storage()
448 pEntry = NULL; in Storage()
457 pEntry = NULL; in Storage()
470 if( pEntry ) in Storage()
472 pEntry->bDirect = bDirect; in Storage()
473 pEntry->nMode = m_nMode; in Storage()
484 pEntry = NULL; in Init()
512 pEntry = pIo->pTOC->GetRoot(); in Init()
513 pEntry->nRefCnt++; in Init()
536 if( pEntry ) in ~Storage()
539 if( pEntry->nRefCnt && pEntry->bDirect && (m_nMode & STREAM_WRITE) ) in ~Storage()
541 if( pEntry->nRefCnt == 1 ) in ~Storage()
542 pEntry->Invalidate(); in ~Storage()
548 if( bIsRoot && pEntry && pEntry->bTemp ) in ~Storage()
557 pEntry->aEntry.GetName( ((Storage*) this)->aName ); in GetName()
567 StgIterator aIter( *pEntry ); in FillInfoList()
604 if( bDirect && !pEntry->bDirect ) in OpenStorage()
610 StgDirEntry* p = pIo->pTOC->Find( *pEntry, rName ); in OpenStorage()
624 p = pIo->pTOC->Create( *pEntry, aNewName, STG_STORAGE ); in OpenStorage()
641 if( p && pEntry->nRefCnt == 1 ) in OpenStorage()
669 StgDirEntry* p = pIo->pTOC->Find( *pEntry, rName ); in OpenStream()
684 p = pIo->pTOC->Create( *pEntry, aNewName, STG_STREAM ); in OpenStream()
700 p->bDirect = pEntry->bDirect; in OpenStream()
715 StgDirEntry* p = pIo->pTOC->Find( *pEntry, rName ); in Remove()
734 sal_Bool b = pIo->pTOC->Rename( *pEntry, rOld, rNew ); in Rename()
748 StgDirEntry* pElem = pIo->pTOC->Find( *pEntry, rElem ); in CopyTo()
763 …eStorage* p2 = pDest->OpenOLEStorage( rNew, STREAM_WRITE | STREAM_SHARE_DENYALL, pEntry->bDirect ); in CopyTo()
792 …torageStream* p2 = pDest->OpenStream( rNew, STREAM_WRITE | STREAM_SHARE_DENYALL, pEntry->bDirect ); in CopyTo()
861 StgDirEntry* pElem = pIo->pTOC->Find( *pEntry, rElem ); in MoveTo()
872 if( !pElem->IsContained( pDest->pEntry ) ) in MoveTo()
878 bRes = pIo->pTOC->Move( *pEntry, *pDest->pEntry, rNew ); in MoveTo()
908 StgDirEntry* p = pIo->pTOC->Find( *pEntry, rName ); in IsStorage()
919 StgDirEntry* p = pIo->pTOC->Find( *pEntry, rName ); in IsStream()
929 return sal_Bool( pIo->pTOC->Find( *pEntry, rName ) != NULL ); in IsContained()
950 StgIterator aIter( *pEntry ); in Commit()
955 bRes = pEntry->Commit(); in Commit()
980 pEntry->aEntry.SetClassId( (const ClsId&) rClass.GetCLSID() ); in SetClass()
981 pEntry->SetDirty(); in SetClass()
1022 if ( pEntry ) in GetClassName()
1023 return SvGlobalName( (const CLSID&) pEntry->aEntry.GetClassId() ); in GetClassName()
1068 if ( pEntry ) in SetDirty()
1069 pEntry->SetDirty(); in SetDirty()
1074 if ( pEntry ) in SetClassId()
1075 pEntry->aEntry.SetClassId( rId ); in SetClassId()
1080 if ( pEntry ) in GetClassId()
1081 return pEntry->aEntry.GetClassId(); in GetClassId()
1119 return pOther && ( pOther->pEntry == pEntry ); in Equals()