Searched refs:nr_elements_in_buffer_ (Results 1 – 2 of 2) sorted by relevance
27 nr_elements_in_buffer_ = std::min(nr_elements_in_buffer_ + 1, buffer_.size()); in Push()28 RTC_DCHECK_LE(nr_elements_in_buffer_, buffer_.size()); in Push()32 if (nr_elements_in_buffer_ == 0) { in Pop()36 (buffer_.size() + next_insertion_index_ - nr_elements_in_buffer_) % in Pop()39 --nr_elements_in_buffer_; in Pop()46 nr_elements_in_buffer_ = 0; in Clear()
30 size_t Size() const { return nr_elements_in_buffer_; } in Size()39 size_t nr_elements_in_buffer_ = 0; member