/aoo41x/main/oox/source/xls/ |
H A D | biffoutputstream.cxx | 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() [all …]
|
H A D | biffinputstream.cxx | 296 sal_Int32 BiffInputStream::readData( StreamDataSequence& orData, sal_Int32 nBytes, size_t nAtomSize… in readData() argument 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 318 sal_uInt16 nReadSize = getMaxRawReadSize( nBytesLeft, nAtomSize ); in readMemory() 335 void BiffInputStream::skip( sal_Int32 nBytes, size_t nAtomSize ) in skip() argument 340 sal_uInt16 nSkipSize = getMaxRawReadSize( nBytesLeft, nAtomSize ); in skip() 533 sal_uInt16 BiffInputStream::getMaxRawReadSize( sal_Int32 nBytes, size_t nAtomSize ) const in getMaxRawReadSize() 536 if( (0 < nMaxSize) && (nMaxSize < nBytes) && (nAtomSize > 1) ) in getMaxRawReadSize() 539 sal_uInt16 nPadding = static_cast< sal_uInt16 >( nMaxSize % nAtomSize ); in getMaxRawReadSize()
|
/aoo41x/main/oox/inc/oox/helper/ |
H A D | binaryinputstream.hxx | 58 …virtual sal_Int32 readData( StreamDataSequence& orData, sal_Int32 nBytes, size_t nAtomSize = 1 )… 70 virtual sal_Int32 readMemory( void* opMem, sal_Int32 nBytes, size_t nAtomSize = 1 ) = 0; 79 virtual void skip( sal_Int32 nBytes, size_t nAtomSize = 1 ) = 0; 315 …virtual sal_Int32 readData( StreamDataSequence& orData, sal_Int32 nBytes, size_t nAtomSize = 1 ); 319 virtual sal_Int32 readMemory( void* opMem, sal_Int32 nBytes, size_t nAtomSize = 1 ); 323 virtual void skip( sal_Int32 nBytes, size_t nAtomSize = 1 ); 356 …virtual sal_Int32 readData( StreamDataSequence& orData, sal_Int32 nBytes, size_t nAtomSize = 1 ); 360 virtual sal_Int32 readMemory( void* opMem, sal_Int32 nBytes, size_t nAtomSize = 1 ); 364 virtual void skip( sal_Int32 nBytes, size_t nAtomSize = 1 ); 425 virtual sal_Int32 readMemory( void* opMem, sal_Int32 nBytes, size_t nAtomSize = 1 ); [all …]
|
H A D | binaryoutputstream.hxx | 51 virtual void writeData( const StreamDataSequence& rData, size_t nAtomSize = 1 ) = 0; 60 virtual void writeMemory( const void* pMem, sal_Int32 nBytes, size_t nAtomSize = 1 ) = 0; 119 virtual void writeData( const StreamDataSequence& rData, size_t nAtomSize = 1 ); 122 virtual void writeMemory( const void* pMem, sal_Int32 nBytes, size_t nAtomSize = 1 ); 160 virtual void writeData( const StreamDataSequence& rData, size_t nAtomSize = 1 ); 163 virtual void writeMemory( const void* pMem, sal_Int32 nBytes, size_t nAtomSize = 1 );
|
/aoo41x/main/oox/source/helper/ |
H A D | binaryinputstream.cxx | 127 …aryInputStream::copyToStream( BinaryOutputStream& rOutStrm, sal_Int64 nBytes, sal_Int32 nAtomSize ) in copyToStream() argument 132 …imitedValue< sal_Int32, sal_Int64 >( nBytes, 0, (INPUTSTREAM_BUFFERSIZE / nAtomSize) * nAtomSize ); in copyToStream() 137 sal_Int32 nBytesRead = readData( aBuffer, nReadSize, nAtomSize ); in copyToStream() 195 sal_Int32 BinaryXInputStream::readMemory( void* opMem, sal_Int32 nBytes, size_t nAtomSize ) in readMemory() argument 205 sal_Int32 nBytesRead = readData( maBuffer, nReadSize, nAtomSize ); in readMemory() 314 …t32 RelativeInputStream::readData( StreamDataSequence& orData, sal_Int32 nBytes, size_t nAtomSize ) in readData() argument 320 nReadBytes = mpInStrm->readData( orData, nMaxBytes, nAtomSize ); in readData() 327 sal_Int32 RelativeInputStream::readMemory( void* opMem, sal_Int32 nBytes, size_t nAtomSize ) in readMemory() argument 333 nReadBytes = mpInStrm->readMemory( opMem, nMaxBytes, nAtomSize ); in readMemory() 340 void RelativeInputStream::skip( sal_Int32 nBytes, size_t nAtomSize ) in skip() argument [all …]
|
H A D | binaryoutputstream.cxx | 91 void BinaryXOutputStream::writeMemory( const void* pMem, sal_Int32 nBytes, size_t nAtomSize ) in writeMemory() argument 95 …mitedValue< sal_Int32, sal_Int32 >( nBytes, 0, (OUTPUTSTREAM_BUFFERSIZE / nAtomSize) * nAtomSize ); in writeMemory() 102 writeData( maBuffer, nAtomSize ); in writeMemory() 117 void SequenceOutputStream::writeData( const StreamDataSequence& rData, size_t nAtomSize ) in writeData() argument 120 writeMemory( rData.getConstArray(), rData.getLength(), nAtomSize ); in writeData()
|
/aoo41x/main/oox/source/ole/ |
H A D | axbinaryreader.cxx | 78 …32 AxAlignedInputStream::readData( StreamDataSequence& orData, sal_Int32 nBytes, size_t nAtomSize ) in readData() argument 83 nReadSize = mpInStrm->readData( orData, nBytes, nAtomSize ); in readData() 90 sal_Int32 AxAlignedInputStream::readMemory( void* opMem, sal_Int32 nBytes, size_t nAtomSize ) in readMemory() argument 95 nReadSize = mpInStrm->readMemory( opMem, nBytes, nAtomSize ); in readMemory() 102 void AxAlignedInputStream::skip( sal_Int32 nBytes, size_t nAtomSize ) in skip() argument 106 mpInStrm->skip( nBytes, nAtomSize ); in skip()
|
H A D | vbainputstream.cxx | 77 sal_Int32 VbaInputStream::readData( StreamDataSequence& orData, sal_Int32 nBytes, size_t nAtomSize ) in readData() argument 85 nRet = readMemory( orData.getArray(), nBytes, nAtomSize ); in readData()
|
/aoo41x/main/oox/inc/oox/xls/ |
H A D | biffoutputstream.hxx | 122 virtual void writeData( const StreamDataSequence& rData, size_t nAtomSize = 1 ); 124 virtual void writeMemory( const void* pMem, sal_Int32 nBytes, size_t nAtomSize = 1 ); 127 void fill( sal_uInt8 nValue, sal_Int32 nBytes, size_t nAtomSize = 1 ); 141 sal_uInt16 prepareWriteBlock( sal_Int32 nTotalSize, size_t nAtomSize );
|
H A D | biffinputstream.hxx | 259 …virtual sal_Int32 readData( StreamDataSequence& orData, sal_Int32 nBytes, size_t nAtomSize = 1 ); 262 virtual sal_Int32 readMemory( void* opMem, sal_Int32 nBytes, size_t nAtomSize = 1 ); 264 virtual void skip( sal_Int32 nBytes, size_t nAtomSize = 1 ); 380 sal_uInt16 getMaxRawReadSize( sal_Int32 nBytes, size_t nAtomSize ) const;
|
/aoo41x/main/oox/inc/oox/ole/ |
H A D | vbainputstream.hxx | 52 …virtual sal_Int32 readData( StreamDataSequence& orData, sal_Int32 nBytes, size_t nAtomSize = 1 ); 55 virtual sal_Int32 readMemory( void* opMem, sal_Int32 nBytes, size_t nAtomSize = 1 ); 57 virtual void skip( sal_Int32 nBytes, size_t nAtomSize = 1 );
|
H A D | axbinaryreader.hxx | 63 …virtual sal_Int32 readData( StreamDataSequence& orData, sal_Int32 nBytes, size_t nAtomSize = 1 ); 66 virtual sal_Int32 readMemory( void* opMem, sal_Int32 nBytes, size_t nAtomSize = 1 ); 68 virtual void skip( sal_Int32 nBytes, size_t nAtomSize = 1 );
|
/aoo41x/main/filter/source/msfilter/ |
H A D | escherex.cxx | 4467 sal_uInt32 nExtra, nAtomSize = 0; in GetBlibID() local 4474 nAtomSize = rPicOutStrm.Tell(); in GetBlibID() 4570 if ( nAtomSize ) in GetBlibID() 4573 rPicOutStrm.Seek( nAtomSize - 4 ); in GetBlibID() 4574 rPicOutStrm << (sal_uInt32)( nPos - nAtomSize ); in GetBlibID() 5381 void EscherEx::AddAtom( sal_uInt32 nAtomSize, sal_uInt16 nRecType, int nRecVersion, int nRecInstanc… in AddAtom() argument 5383 …pOutStrm << (sal_uInt16)( ( nRecInstance << 4 ) | ( nRecVersion & 0xf ) ) << nRecType << nAtomSize; in AddAtom()
|