Lines Matching refs:T
34 template <typename T>
58 bool AtomicPushBackIgnoreGrowthLimit(const T& value) { in AtomicPushBackIgnoreGrowthLimit()
63 bool AtomicPushBack(const T& value) { in AtomicPushBack()
69 bool AtomicBumpBack(size_t num_slots, T** start_address, T** end_address) { in AtomicBumpBack()
88 DCHECK_EQ(begin_[i], static_cast<T>(0)) in AtomicBumpBack()
98 DCHECK_EQ(begin_[i], static_cast<T>(0)) << "i=" << i; in AssertAllZero()
103 void PushBack(const T& value) { in PushBack()
113 T PopBack() { in PopBack()
121 T PopFront() { in PopFront()
143 T* Begin() const { in Begin()
144 return const_cast<T*>(begin_ + front_index_.LoadRelaxed()); in Begin()
147 T* End() const { in End()
148 return const_cast<T*>(begin_ + back_index_.LoadRelaxed()); in End()
173 bool ContainsSorted(const T& value) const { in ContainsSorted()
178 bool Contains(const T& value) const { in Contains()
194 bool AtomicPushBackInternal(const T& value, size_t limit) ALWAYS_INLINE { in AtomicPushBackInternal()
213 mem_map_.reset(MemMap::MapAnonymous(name_.c_str(), NULL, capacity_ * sizeof(T), in Init()
219 begin_ = reinterpret_cast<T*>(addr); in Init()
232 T* begin_;