Lines Matching refs:seq
41 void MemFIFO::write( const Sequence< sal_Int8 > &seq ) in write() argument
47 writeAt(getSize(), seq ); in write()
59 void MemFIFO::read( Sequence<sal_Int8> &seq , sal_Int32 nBufferLen ) throw (IFIFO_OutOfBoundsExcept… in read() argument
63 readAt(0, seq , nBufferLen); in read()
129 void MemRingBuffer::readAt( sal_Int32 nPos, Sequence<sal_Int8> &seq , sal_Int32 nBytesToRead ) const in readAt() argument
141 seq.realloc( nBytesToRead ); in readAt()
145 memcpy( seq.getArray() , &(m_p[nStartReadingPos]) , nDeltaLen ); in readAt()
146 memcpy( &(seq.getArray()[nDeltaLen]), m_p , nBytesToRead - nDeltaLen ); in readAt()
149 memcpy( seq.getArray() , &(m_p[nStartReadingPos]) , nBytesToRead ); in readAt()
154 void MemRingBuffer::writeAt( sal_Int32 nPos, const Sequence<sal_Int8> &seq ) in writeAt() argument
159 sal_Int32 nLen = seq.getLength(); in writeAt()
167 resizeBuffer( nPos + seq.getLength() ); in writeAt()
177 memcpy( &(m_p[nStartWritingIndex]) , seq.getConstArray(), m_nBufferLen-nStartWritingIndex ); in writeAt()
178 memcpy( m_p , &( seq.getConstArray()[m_nBufferLen-nStartWritingIndex] ), in writeAt()
184 memcpy( &( m_p[nStartWritingIndex]), seq.getConstArray() , nLen ); in writeAt()
186 m_nOccupiedBuffer = Max( nPos + seq.getLength() , m_nOccupiedBuffer ); in writeAt()