Home
last modified time | relevance | path

Searched refs:next_read_index_ (Results 1 – 1 of 1) sorted by relevance

/external/webrtc/rtc_base/
Dswap_queue.h115 next_read_index_ += std::atomic_exchange_explicit( in Clear()
117 if (next_read_index_ >= queue_.size()) { in Clear()
118 next_read_index_ -= queue_.size(); in Clear()
121 RTC_DCHECK_LT(next_read_index_, queue_.size()); in Clear()
184 std::swap(*output, queue_[next_read_index_]); in Remove()
193 ++next_read_index_; in Remove()
194 if (next_read_index_ == queue_.size()) { in Remove()
195 next_read_index_ = 0; in Remove()
198 RTC_DCHECK_LT(next_read_index_, queue_.size()); in Remove()
231 size_t next_read_index_ = 0; variable