Lines Matching refs:m_nBufferLen
88 m_nBufferLen = 0; in MemRingBuffer()
110 if( nNewLen < m_nBufferLen ) { in resizeBuffer()
111 nNewLen = m_nBufferLen; in resizeBuffer()
114 if( nNewLen != m_nBufferLen ) { in resizeBuffer()
120 if( m_nStart + m_nOccupiedBuffer > m_nBufferLen ) { in resizeBuffer()
121 memmove( &( m_p[m_nStart+(nNewLen-m_nBufferLen)]) , &(m_p[m_nStart]) , m_nBufferLen - m_nStart ); in resizeBuffer()
122 m_nStart += nNewLen - m_nBufferLen; in resizeBuffer()
124 m_nBufferLen = nNewLen; in resizeBuffer()
137 if( nStartReadingPos >= m_nBufferLen ) { in readAt()
138 nStartReadingPos -= m_nBufferLen; in readAt()
143 if( nStartReadingPos + nBytesToRead > m_nBufferLen ) { in readAt()
144 sal_Int32 nDeltaLen = m_nBufferLen - nStartReadingPos; in readAt()
171 if( nStartWritingIndex >= m_nBufferLen ) { in writeAt()
172 nStartWritingIndex -= m_nBufferLen; in writeAt()
175 if( nLen + nStartWritingIndex > m_nBufferLen ) { 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()
179 nLen - (m_nBufferLen-nStartWritingIndex) ); in writeAt()
203 if( m_nStart >= m_nBufferLen ) { in forgetFromStart()
204 m_nStart = m_nStart - m_nBufferLen; in forgetFromStart()
233 m_nBufferLen = 0; in shrink()