Lines Matching refs:nBytes
62 void BiffOutputRecordBuffer::write( const void* pData, sal_uInt16 nBytes ) in write() argument
65 OSL_ENSURE( nBytes > 0, "BiffOutputRecordBuffer::write - nothing to write" ); in write()
66 OSL_ENSURE( nBytes <= getRecLeft(), "BiffOutputRecordBuffer::write - buffer overflow" ); in write()
67 maData.resize( maData.size() + nBytes ); in write()
68 memcpy( &*(maData.end() - nBytes), pData, nBytes ); in write()
71 void BiffOutputRecordBuffer::fill( sal_uInt8 nValue, sal_uInt16 nBytes ) in fill() argument
74 OSL_ENSURE( nBytes > 0, "BiffOutputRecordBuffer::write - nothing to write" ); in fill()
75 OSL_ENSURE( nBytes <= getRecLeft(), "BiffOutputRecordBuffer::write - buffer overflow" ); in fill()
76 maData.resize( maData.size() + nBytes, nValue ); in fill()
132 void BiffOutputStream::writeMemory( const void* pMem, sal_Int32 nBytes, size_t nAtomSize ) in writeMemory() argument
134 if( pMem && (nBytes > 0) ) in writeMemory()
137 sal_Int32 nBytesLeft = nBytes; in writeMemory()
148 void BiffOutputStream::fill( sal_uInt8 nValue, sal_Int32 nBytes, size_t nAtomSize ) in fill() argument
150 sal_Int32 nBytesLeft = nBytes; in fill()