Lines Matching refs:nReadBytes
238 sal_Int32 nReadBytes = 0; in readData() local
241 nReadBytes = getMaxBytes( nBytes ); in readData()
242 orData.realloc( nReadBytes ); in readData()
243 if( nReadBytes > 0 ) in readData()
244 … memcpy( orData.getArray(), mpData->getConstArray() + mnPos, static_cast< size_t >( nReadBytes ) ); in readData()
245 mnPos += nReadBytes; in readData()
246 mbEof = nReadBytes < nBytes; in readData()
248 return nReadBytes; in readData()
253 sal_Int32 nReadBytes = 0; in readMemory() local
256 nReadBytes = getMaxBytes( nBytes ); in readMemory()
257 if( nReadBytes > 0 ) in readMemory()
258 memcpy( opMem, mpData->getConstArray() + mnPos, static_cast< size_t >( nReadBytes ) ); in readMemory()
259 mnPos += nReadBytes; in readMemory()
260 mbEof = nReadBytes < nBytes; in readMemory()
262 return nReadBytes; in readMemory()
316 sal_Int32 nReadBytes = 0; in readData() local
320 nReadBytes = mpInStrm->readData( orData, nMaxBytes, nAtomSize ); in readData()
321 mnRelPos += nReadBytes; in readData()
324 return nReadBytes; in readData()
329 sal_Int32 nReadBytes = 0; in readMemory() local
333 nReadBytes = mpInStrm->readMemory( opMem, nMaxBytes, nAtomSize ); in readMemory()
334 mnRelPos += nReadBytes; in readMemory()
337 return nReadBytes; in readMemory()