Lines Matching refs:nRead
147 sal_Int32 nRead = 0; in InsertInputStreamToStorage_Impl() local
150 nRead = xInputStream->readBytes( aData, nBytesCount ); in InsertInputStreamToStorage_Impl()
151 if ( nRead < nBytesCount ) in InsertInputStreamToStorage_Impl()
152 aData.realloc( nRead ); in InsertInputStreamToStorage_Impl()
154 sal_Int32 nWritten = pNewStream->Write( aData.getArray(), nRead ); in InsertInputStreamToStorage_Impl()
155 if ( nWritten < nRead ) in InsertInputStreamToStorage_Impl()
157 } while( nRead == nBytesCount ); in InsertInputStreamToStorage_Impl()
506 sal_Int32 nRead = 0; in getByName() local
507 while( 0 != ( nRead = pStream->Read( aData.getArray(), nSize ) ) ) in getByName()
509 if ( nRead < nSize ) in getByName()
511 nSize = nRead; in getByName()