Home
last modified time | relevance | path

Searched refs:m_nHead (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/media/plugins/ape_reader/MAClib/
H A DCircleBuffer.cpp8 m_nHead = 0; in CCircleBuffer()
26 m_nHead = 0; in CreateBuffer()
33 …int nMaxAdd = (m_nTail >= m_nHead) ? (m_nTotal - 1 - m_nMaxDirectWriteBytes) - (m_nTail - m_nHead)… in MaxAdd()
39 return (m_nTail >= m_nHead) ? m_nTail - m_nHead : (m_nEndCap - m_nHead) + m_nTail; in MaxGet()
48 int nHeadBytes = min(m_nEndCap - m_nHead, nBytes); in Get()
51 memcpy(&pBuffer[0], &m_pBuffer[m_nHead], nHeadBytes); in Get()
68 m_nHead = 0; in Empty()
76 m_nHead += nBytes; in RemoveHead()
77 if (m_nHead >= m_nEndCap) in RemoveHead()
78 m_nHead -= m_nEndCap; in RemoveHead()
H A DCircleBuffer.h53 int m_nHead; variable