Searched refs:back_index_ (Results 1 – 2 of 2) sorted by relevance
50 back_index_.StoreRelaxed(0); in Reset()76 index = back_index_.LoadRelaxed(); in AtomicBumpBack()82 } while (!back_index_.CompareExchangeWeakRelaxed(index, new_index)); in AtomicBumpBack()107 int32_t index = back_index_.LoadRelaxed(); in PushBack()109 back_index_.StoreRelaxed(index + 1); in PushBack()114 DCHECK_GT(back_index_.LoadRelaxed(), front_index_.LoadRelaxed()); in PopBack()116 back_index_.StoreRelaxed(back_index_.LoadRelaxed() - 1); in PopBack()117 return begin_[back_index_.LoadRelaxed()]; in PopBack()123 DCHECK_LT(index, back_index_.LoadRelaxed()); in PopFront()131 back_index_.FetchAndSubSequentiallyConsistent(n); in PopBackCount()[all …]
34 back_index_ = 0; in clear()50 data_[back_index_++ & mask_] = value; in push_back()55 return data_[(back_index_ - size_) & mask_]; in front()65 size_t back_index_, size_; variable