Lines Matching refs:pStgStrm

73 	pStgStrm 	= NULL;  in InitMembers()
94 delete pStgStrm; in ~StgDirEntry()
200 if( !pStgStrm ) in StoreStream()
203 delete pStgStrm, pStgStrm = NULL; in StoreStream()
206 pStgStrm->SetSize( 0 ); in StoreStream()
266 delete pStgStrm; in OpenStream()
268 pStgStrm = new StgSmallStrm( rIo, *this ); in OpenStream()
270 pStgStrm = new StgDataStrm( rIo, *this ); in OpenStream()
323 pStgStrm->GetIo().SetError( pTmpStrm->GetError() ); in SetSize()
328 OSL_ENSURE( pStgStrm, "The pointer may not be NULL!" ); in SetSize()
329 if ( !pStgStrm ) in SetSize()
333 StgIo& rIo = pStgStrm->GetIo(); in SetSize()
338 if( nNewSize >= nThreshold && pStgStrm->IsSmallStrm() ) in SetSize()
340 pOld = pStgStrm; in SetSize()
342 pStgStrm = new StgDataStrm( rIo, STG_EOF, 0 ); in SetSize()
344 else if( nNewSize < nThreshold && !pStgStrm->IsSmallStrm() ) in SetSize()
346 pOld = pStgStrm; in SetSize()
348 pStgStrm = new StgSmallStrm( rIo, STG_EOF, 0 ); in SetSize()
351 if( pStgStrm->SetSize( nNewSize ) ) in SetSize()
361 pStgStrm->Pos2Page( 0L ); in SetSize()
363 && pStgStrm->Write( pBuf, nOldSize ) ) in SetSize()
373 pStgStrm->Pos2Page( nPos ); in SetSize()
374 pStgStrm->SetEntry( *this ); in SetSize()
378 pStgStrm->SetSize( 0 ); in SetSize()
379 delete pStgStrm; in SetSize()
380 pStgStrm = pOld; in SetSize()
385 pStgStrm->Pos2Page( nPos ); in SetSize()
411 OSL_ENSURE( pStgStrm, "The pointer may not be NULL!" ); in Seek()
412 if ( !pStgStrm ) in Seek()
431 pStgStrm->Pos2Page( nNew ); in Seek()
432 nNew = pStgStrm->GetPos(); in Seek()
450 OSL_ENSURE( pStgStrm, "The pointer may not be NULL!" ); in Read()
451 if ( !pStgStrm ) in Read()
454 nLen = pStgStrm->Read( p, nLen ); in Read()
475 OSL_ENSURE( pStgStrm, "The pointer may not be NULL!" ); in Write()
476 if ( !pStgStrm ) in Write()
482 pStgStrm->GetIo().SetError( pTmpStrm->GetError() ); in Write()
487 if( nNew > pStgStrm->GetSize() ) in Write()
491 pStgStrm->Pos2Page( nPos ); in Write()
493 nLen = pStgStrm->Write( p, nLen ); in Write()
563 if( pStgStrm ) in Commit()
564 pStgStrm->SetSize( 0 ); in Commit()
660 OSL_ENSURE( pStgStrm, "The pointer may not be NULL!" ); in Strm2Tmp()
661 if ( !pStgStrm ) in Strm2Tmp()
666 pStgStrm->Pos2Page( 0L ); in Strm2Tmp()
672 if( (sal_uLong) pStgStrm->Read( p, nn ) != nn ) in Strm2Tmp()
678 pStgStrm->Pos2Page( nPos ); in Strm2Tmp()
688 OSL_ENSURE( pStgStrm, "The pointer may not be NULL!" ); in Strm2Tmp()
689 if ( pStgStrm ) in Strm2Tmp()
690 pStgStrm->GetIo().SetError( pTmpStrm->GetError() ); in Strm2Tmp()
709 OSL_ENSURE( pStgStrm, "The pointer may not be NULL!" ); in Tmp2Strm()
710 if ( !pStgStrm ) in Tmp2Strm()
714 StgIo& rIo = pStgStrm->GetIo(); in Tmp2Strm()
738 pStgStrm->GetIo().SetError( pTmpStrm->GetError() ); in Tmp2Strm()
744 pStgStrm->SetSize( 0L ); in Tmp2Strm()
745 delete pStgStrm; in Tmp2Strm()
746 pStgStrm = pNewStrm; in Tmp2Strm()