Lines Matching refs:mBuffer

169     std::vector<T> mBuffer;  variable
266 if (mBuffer.size() < mMaxBufferSize) { in add()
267 mBuffer.push_back(item); in add()
272 mBuffer[mFrontIdx] = item; in add()
278 if (mBuffer.size() != mMaxBufferSize) { in add()
279 mBuffer.push_back(std::forward<T>(item)); in add()
285 mBuffer[mFrontIdx] = std::forward<T>(item); in add()
292 if (mBuffer.size() != mMaxBufferSize) { in emplace()
293 mBuffer.emplace_back(std::forward<Args>(args)...); in emplace()
299 mBuffer[mFrontIdx] = T(std::forward<Args>(args)...); in emplace()
305 size_t tmp = (mBuffer.size() == 0) ? 0 : mBuffer.size() - 1; in begin()
306 return iterator(mBuffer.data(), mBuffer.size(), (mFrontIdx == 0) ? tmp : mFrontIdx - 1, 0); in begin()
311 size_t s = mBuffer.size(); in end()
312 return iterator(mBuffer.data(), s, s, s); in end()
317 size_t tmp = (mBuffer.size() == 0) ? 0 : mBuffer.size() - 1; in begin()
318 return const_iterator(mBuffer.data(), mBuffer.size(), in begin()
324 size_t s = mBuffer.size(); in end()
325 return const_iterator(mBuffer.data(), s, s, s); in end()
330 LOG_ALWAYS_FATAL_IF(index >= mBuffer.size(), "Index %zu out of bounds, size is %zu.",
331 index, mBuffer.size());
333 mBuffer.size() - 1 - (index - mFrontIdx) : mFrontIdx - 1 - index;
334 return mBuffer[pos];
339 LOG_ALWAYS_FATAL_IF(index >= mBuffer.size(), "Index %zu out of bounds, size is %zu.",
340 index, mBuffer.size());
342 mBuffer.size() - 1 - (index - mFrontIdx) : mFrontIdx - 1 - index;
343 return mBuffer[pos];
348 return mBuffer.size(); in size()
353 mBuffer.clear(); in clear()