Home
last modified time | relevance | path

Searched refs:nAtomSize (Results 1 – 13 of 13) sorted by relevance

/aoo4110/main/oox/source/xls/
H A Dbiffoutputstream.cxx126 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 Dbiffinputstream.cxx296 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()
/aoo4110/main/oox/inc/oox/helper/
H A Dbinaryinputstream.hxx58 …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 Dbinaryoutputstream.hxx51 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 );
/aoo4110/main/oox/source/helper/
H A Dbinaryinputstream.cxx127 …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 Dbinaryoutputstream.cxx91 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()
/aoo4110/main/oox/source/ole/
H A Daxbinaryreader.cxx78 …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 Dvbainputstream.cxx77 sal_Int32 VbaInputStream::readData( StreamDataSequence& orData, sal_Int32 nBytes, size_t nAtomSize ) in readData() argument
85 nRet = readMemory( orData.getArray(), nBytes, nAtomSize ); in readData()
/aoo4110/main/oox/inc/oox/xls/
H A Dbiffoutputstream.hxx122 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 Dbiffinputstream.hxx259 …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;
/aoo4110/main/oox/inc/oox/ole/
H A Dvbainputstream.hxx52 …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 Daxbinaryreader.hxx63 …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 );
/aoo4110/main/filter/source/msfilter/
H A Descherex.cxx4467 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()

Completed in 66 milliseconds