Lines Matching refs:buffer_size_
12 buffer_size_(buffer_size),
21 int RingBuffer::BufferSize() const { return buffer_size_; }
65 if (this->write_idx_ >= this->buffer_size_) {
79 if (bytes_used_ == buffer_size_) {
84 *size = buffer_size_ - write_idx_;
98 *size = buffer_size_ - read_idx_;
136 if (this->read_idx_ >= this->buffer_size_) {
184 DCHECK_LE(size, buffer_size_ - write_idx_);
195 read_idx_ %= buffer_size_;
203 write_idx_ %= buffer_size_;
209 if (buffer_size == buffer_size_)
235 buffer_size_ = buffer_size;
238 write_idx_ = bytes_used_ % buffer_size_;