Home
last modified time | relevance | path

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

/haiku/src/add-ons/media/plugins/ape_reader/MAClib/
H A DCircleBuffer.cpp9 m_nTail = 0; in CCircleBuffer()
27 m_nTail = 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()
69 m_nTail = 0; in Empty()
85 m_nTail -= nBytes; in RemoveTail()
86 if (m_nTail < 0) in RemoveTail()
87 m_nTail += m_nEndCap; in RemoveTail()
H A DCircleBuffer.h24 return &m_pBuffer[m_nTail]; in GetDirectWritePointer()
30 m_nTail += nBytes; in UpdateAfterDirectWrite()
33 if (m_nTail >= (m_nTotal - m_nMaxDirectWriteBytes)) in UpdateAfterDirectWrite()
35 m_nEndCap = m_nTail; in UpdateAfterDirectWrite()
36 m_nTail = 0; in UpdateAfterDirectWrite()
54 int m_nTail; variable