Lines Matching refs:nBytes
77 sal_Int32 VbaInputStream::readData( StreamDataSequence& orData, sal_Int32 nBytes, size_t nAtomSize ) in readData() argument
82 orData.realloc( ::std::max< sal_Int32 >( nBytes, 0 ) ); in readData()
83 if( nBytes > 0 ) in readData()
85 nRet = readMemory( orData.getArray(), nBytes, nAtomSize ); in readData()
86 if( nRet < nBytes ) in readData()
93 sal_Int32 VbaInputStream::readMemory( void* opMem, sal_Int32 nBytes, size_t /*nAtomSize*/ ) in readMemory() argument
97 while( (nBytes > 0) && updateChunk() ) in readMemory()
100 sal_Int32 nReadBytes = ::std::min( nBytes, nChunkLeft ); in readMemory()
104 nBytes -= nReadBytes; in readMemory()
110 void VbaInputStream::skip( sal_Int32 nBytes, size_t /*nAtomSize*/ ) in skip() argument
112 while( (nBytes > 0) && updateChunk() ) in skip()
115 sal_Int32 nSkipBytes = ::std::min( nBytes, nChunkLeft ); in skip()
117 nBytes -= nSkipBytes; in skip()