Searched refs:back_index_ (Results 1 – 2 of 2) sorted by relevance
78 back_index_.store(0, std::memory_order_relaxed); in Reset()106 index = back_index_.load(std::memory_order_relaxed); in AtomicBumpBack()112 } while (!back_index_.CompareAndSetWeakRelaxed(index, new_index)); in AtomicBumpBack()137 const int32_t index = back_index_.load(std::memory_order_relaxed); in PushBack()139 back_index_.store(index + 1, std::memory_order_relaxed); in PushBack()144 DCHECK_GT(back_index_.load(std::memory_order_relaxed), in PopBack()147 back_index_.store(back_index_.load(std::memory_order_relaxed) - 1, std::memory_order_relaxed); in PopBack()148 return begin_[back_index_.load(std::memory_order_relaxed)].AsMirrorPtr(); in PopBack()154 DCHECK_LT(index, back_index_.load(std::memory_order_relaxed)); in PopFront()162 back_index_.store(back_index_.load(std::memory_order_relaxed) - n, std::memory_order_relaxed); in PopBackCount()[all …]
38 back_index_ = 0; in clear()54 data_[back_index_++ & mask_] = value; in push_back()59 return data_[(back_index_ - size_) & mask_]; in front()69 size_t back_index_, size_; variable