Lines Matching refs:CircularBuffer
30 class CircularBuffer {
32 explicit CircularBuffer(size_t size);
69 class TimestampedCircularBuffer : public CircularBuffer<TimestampedEntry<T>> {
86 bluetooth::common::CircularBuffer<T>::CircularBuffer(size_t size) : size_(size) {} in CircularBuffer() function
89 void bluetooth::common::CircularBuffer<T>::Push(const T item) { in Push()
98 std::vector<T> bluetooth::common::CircularBuffer<T>::Pull() const { in Pull()
104 std::vector<T> bluetooth::common::CircularBuffer<T>::Drain() { in Drain()
114 : CircularBuffer<TimestampedEntry<T>>(size), timestamper_(std::move(timestamper)) {} in TimestampedCircularBuffer()
119 bluetooth::common::CircularBuffer<TimestampedEntry<T>>::Push(timestamped_entry); in Push()
125 return bluetooth::common::CircularBuffer<TimestampedEntry<T>>::Pull(); in Pull()
130 return bluetooth::common::CircularBuffer<TimestampedEntry<T>>::Drain(); in Drain()