Lines Matching refs:nAtomSize
126 void BiffOutputStream::writeData( const StreamDataSequence& rData, size_t nAtomSize ) in writeData() argument
129 writeMemory( rData.getConstArray(), rData.getLength(), nAtomSize ); in writeData()
132 void BiffOutputStream::writeMemory( const void* pMem, sal_Int32 nBytes, size_t nAtomSize ) in writeMemory() argument
140 sal_uInt16 nBlockSize = prepareWriteBlock( nBytesLeft, nAtomSize ); in writeMemory()
148 void BiffOutputStream::fill( sal_uInt8 nValue, sal_Int32 nBytes, size_t nAtomSize ) in fill() argument
153 sal_uInt16 nBlockSize = prepareWriteBlock( nBytesLeft, nAtomSize ); in fill()
161 sal_uInt16 BiffOutputStream::prepareWriteBlock( sal_Int32 nTotalSize, size_t nAtomSize ) in prepareWriteBlock() argument
167 nRecLeft = static_cast< sal_uInt16 >( (nRecLeft / nAtomSize) * nAtomSize ); in prepareWriteBlock()
184 …OSL_ENSURE( mnPortionSize % nAtomSize == 0, "BiffOutputStream::prepareWriteBlock - atom size does … in prepareWriteBlock()
185 … sal_uInt8 nPortionSize = static_cast< sal_uInt8 >( (mnPortionSize / nAtomSize) * nAtomSize ); in prepareWriteBlock()
199 return prepareWriteBlock( nTotalSize, nAtomSize ); in prepareWriteBlock()