Lines Matching defs:count
49 void pushFront (const T* elemBuf, int count);
51 void peekBack (T* elemBuf, int count) const;
55 void popBack (T* elemBuf, int count) { peekBack(elemBuf, count); popBack(count); }
56 void popBack (int count);
131 void RingBuffer<T>::pushFront (const T* elemBuf, int count)
133 DE_ASSERT(de::inRange(count, 0, getNumFree()));
134 for (int i = 0; i < count; i++)
136 m_front = (m_front + count) % m_size;
137 m_numElements += count;
158 void RingBuffer<T>::peekBack (T* elemBuf, int count) const
160 DE_ASSERT(de::inRange(count, 0, getNumElements()));
161 for (int i = 0; i < count; i++)
166 void RingBuffer<T>::popBack (int count)
168 DE_ASSERT(de::inRange(count, 0, getNumElements()));
169 m_back = (m_back + count) % m_size;
170 m_numElements -= count;