Lines Matching refs:nBytes

123 void BiffInputRecordBuffer::read( void* opData, sal_uInt16 nBytes )  in read()  argument
126 OSL_ENSURE( nBytes > 0, "BiffInputRecordBuffer::read - nothing to read" ); in read()
127 OSL_ENSURE( nBytes <= getRecLeft(), "BiffInputRecordBuffer::read - buffer overflow" ); in read()
128 memcpy( opData, &(*mpCurrentData)[ mnRecPos ], nBytes ); in read()
129 mnRecPos = mnRecPos + nBytes; in read()
132 void BiffInputRecordBuffer::skip( sal_uInt16 nBytes ) in skip() argument
134 OSL_ENSURE( nBytes > 0, "BiffInputRecordBuffer::skip - nothing to skip" ); in skip()
135 OSL_ENSURE( nBytes <= getRecLeft(), "BiffInputRecordBuffer::skip - buffer overflow" ); in skip()
136 mnRecPos = mnRecPos + nBytes; in skip()
296 sal_Int32 BiffInputStream::readData( StreamDataSequence& orData, sal_Int32 nBytes, size_t nAtomSize… in readData() argument
301 orData.realloc( ::std::max< sal_Int32 >( nBytes, 0 ) ); in readData()
302 if( nBytes > 0 ) in readData()
303 nRet = readMemory( orData.getArray(), nBytes, nAtomSize ); in readData()
308 sal_Int32 BiffInputStream::readMemory( void* opMem, sal_Int32 nBytes, size_t nAtomSize ) in readMemory() argument
311 if( !mbEof && opMem && (nBytes > 0) ) in readMemory()
314 sal_Int32 nBytesLeft = nBytes; in readMemory()
335 void BiffInputStream::skip( sal_Int32 nBytes, size_t nAtomSize ) in skip() argument
337 sal_Int32 nBytesLeft = nBytes; in skip()
533 sal_uInt16 BiffInputStream::getMaxRawReadSize( sal_Int32 nBytes, size_t nAtomSize ) const in getMaxRawReadSize() argument
535 …sal_uInt16 nMaxSize = getLimitedValue< sal_uInt16, sal_Int32 >( nBytes, 0, maRecBuffer.getRecLeft(… in getMaxRawReadSize()
536 if( (0 < nMaxSize) && (nMaxSize < nBytes) && (nAtomSize > 1) ) in getMaxRawReadSize()