Lines Matching refs:mpStream
44 , mpStream( NULL ) in OTempFileService()
182 sal_uInt32 nRead = mpStream->Read(static_cast < void* > ( aData.getArray() ), nBytesToRead); in readBytes()
192 mnCachedPos = mpStream->Tell(); in readBytes()
195 mpStream = NULL; in readBytes()
215 if (mpStream->IsEof()) in readSomeBytes()
232 mpStream->SeekRel(nBytesToSkip); in skipBytes()
244 sal_uInt32 nPos = mpStream->Tell(); in available()
247 mpStream->Seek(STREAM_SEEK_TO_END); in available()
250 sal_Int32 nAvailable = (sal_Int32)mpStream->Tell() - nPos; in available()
251 mpStream->Seek(nPos); in available()
268 mpStream = NULL; in closeInput()
288 sal_uInt32 nWritten = mpStream->Write(aData.getConstArray(),aData.getLength()); in writeBytes()
301 mpStream->Flush(); in flush()
314 if ( mpStream ) in closeOutput()
316 mnCachedPos = mpStream->Tell(); in closeOutput()
319 mpStream = NULL; in closeOutput()
327 mpStream = NULL; in closeOutput()
340 if (!mpStream || mpStream->SvStream::GetError () != ERRCODE_NONE ) in checkError()
345 if (!mpStream && mpTempFile) in checkConnected()
347 mpStream = mpTempFile->GetStream( STREAM_STD_READWRITE ); in checkConnected()
348 if ( mpStream && mbHasCachedPos ) in checkConnected()
350 mpStream->Seek( sal::static_int_cast<sal_Size>(mnCachedPos) ); in checkConnected()
351 if ( mpStream->SvStream::GetError () == ERRCODE_NONE ) in checkConnected()
358 mpStream = NULL; in checkConnected()
364 if (!mpStream) in checkConnected()
378 mpStream->Seek((sal_uInt32) nLocation ); in seek()
387 sal_uInt32 nPos = mpStream->Tell(); in getPosition()
397 sal_uInt32 nCurrentPos = mpStream->Tell(); in getLength()
400 mpStream->Seek(STREAM_SEEK_TO_END); in getLength()
401 sal_uInt32 nEndPos = mpStream->Tell(); in getLength()
402 mpStream->Seek(nCurrentPos); in getLength()
432 mpStream->Seek( 0 ); in truncate()
433 mpStream->SetStreamSize( 0 ); in truncate()