Lines Matching refs:m_nOccupiedBuffer
91 m_nOccupiedBuffer = 0; in MemRingBuffer()
120 if( m_nStart + m_nOccupiedBuffer > m_nBufferLen ) { in resizeBuffer()
132 if( nPos + nBytesToRead > m_nOccupiedBuffer ) { in readAt()
166 if( nPos + nLen - m_nOccupiedBuffer > 0 ) { in writeAt()
186 m_nOccupiedBuffer = Max( nPos + seq.getLength() , m_nOccupiedBuffer ); in writeAt()
193 return m_nOccupiedBuffer; in getSize()
199 if( nBytesToForget > m_nOccupiedBuffer ) { in forgetFromStart()
206 m_nOccupiedBuffer -= nBytesToForget; in forgetFromStart()
214 if( nBytesToForget > m_nOccupiedBuffer ) { in forgetFromEnd()
217 m_nOccupiedBuffer -= nBytesToForget; in forgetFromEnd()
228 if( ! m_nOccupiedBuffer ) { in shrink()