Lines Matching refs:pStrm
115 pStrm = NULL; in StgCache()
138 sal_uLong nPos = pStrm->Tell(); in SetPhysPageSize()
139 sal_uLong nFileSize = pStrm->Seek( STREAM_SEEK_TO_END ); in SetPhysPageSize()
141 pStrm->Seek( nPos ); in SetPhysPageSize()
321 pStrm->Flush(); in Commit()
322 SetError( pStrm->GetError() ); in Commit()
368 delete pStrm; in SetStrm()
369 pStrm = p; in SetStrm()
380 delete pStrm; in SetStrm()
382 pStrm = NULL; in SetStrm()
387 pStrm = pStorageStream->GetModifySvStream(); in SetStrm()
411 sal_uLong nFileSize = pStrm->Seek( STREAM_SEEK_TO_END ); in Open()
413 pStrm->Seek( 0L ); in Open()
418 SetError( bAccessDenied ? ERRCODE_IO_ACCESSDENIED : pStrm->GetError() ); in Open()
426 ((SvFileStream*) pStrm)->Close(); in Close()
427 SetError( pStrm->GetError() ); in Close()
454 if( pStrm->Tell() != nPos ) in Read()
456 if( pStrm->Seek( nPos ) != nPos ) { in Read()
462 pStrm->Read( pBuf, nBytes ); in Read()
466 SetError( pStrm->GetError() ); in Read()
485 if( pStrm->Tell() != nPos ) in Write()
487 if( pStrm->Seek( nPos ) != nPos ) { in Write()
493 sal_uLong nRes = pStrm->Write( pBuf, nBytes ); in Write()
497 SetError( pStrm->GetError() ); in Write()
500 pStrm->Flush(); in Write()
501 pStrm->Seek( nPos ); in Write()
502 sal_Bool bRes = ( pStrm->Read( cBuf, 512 ) == 512 ); in Write()
508 pStrm->SetError( SVSTREAM_WRITE_ERROR ); in Write()
521 pStrm->SetStreamSize( nSize ); in SetSize()
522 SetError( pStrm->GetError() ); in SetSize()
537 pStrm->ResetError(); in ResetError()