Lines Matching refs:ArenaAllocatorAdapter
47 class ArenaAllocatorAdapter; variable
50 using ArenaDeque = std::deque<T, ArenaAllocatorAdapter<T>>;
56 using ArenaVector = dchecked_vector<T, ArenaAllocatorAdapter<T>>;
65 using ArenaSet = std::set<T, Comparator, ArenaAllocatorAdapter<T>>;
69 SafeMap<K, V, Comparator, ArenaAllocatorAdapter<std::pair<const K, V>>>;
75 using ArenaHashSet = HashSet<T, EmptyFn, HashFn, Pred, ArenaAllocatorAdapter<T>>;
87 ArenaAllocatorAdapter<std::pair<Key, Value>>>;
97 ArenaAllocatorAdapter<std::pair<const Key, Value>>>;
129 class ArenaAllocatorAdapter<void> : private ArenaAllocatorAdapterKind {
137 typedef ArenaAllocatorAdapter<U> other;
140 explicit ArenaAllocatorAdapter(ArenaAllocator* allocator,
146 ArenaAllocatorAdapter(const ArenaAllocatorAdapter<U>& other) in ArenaAllocatorAdapter() function
150 ArenaAllocatorAdapter(const ArenaAllocatorAdapter&) = default;
151 ArenaAllocatorAdapter& operator=(const ArenaAllocatorAdapter&) = default;
152 ~ArenaAllocatorAdapter() = default;
158 friend class ArenaAllocatorAdapter; variable
162 class ArenaAllocatorAdapter : private ArenaAllocatorAdapterKind {
174 typedef ArenaAllocatorAdapter<U> other;
177 ArenaAllocatorAdapter(ArenaAllocator* allocator, ArenaAllocKind kind) in ArenaAllocatorAdapter() function
182 ArenaAllocatorAdapter(const ArenaAllocatorAdapter<U>& other) in ArenaAllocatorAdapter() function
186 ArenaAllocatorAdapter(const ArenaAllocatorAdapter&) = default;
187 ArenaAllocatorAdapter& operator=(const ArenaAllocatorAdapter&) = default;
188 ~ArenaAllocatorAdapter() = default;
198 ArenaAllocatorAdapter<void>::pointer hint ATTRIBUTE_UNUSED = nullptr) {
219 friend class ArenaAllocatorAdapter; variable
222 friend bool operator==(const ArenaAllocatorAdapter<U>& lhs,
223 const ArenaAllocatorAdapter<U>& rhs);
227 inline bool operator==(const ArenaAllocatorAdapter<T>& lhs,
228 const ArenaAllocatorAdapter<T>& rhs) {
233 inline bool operator!=(const ArenaAllocatorAdapter<T>& lhs,
234 const ArenaAllocatorAdapter<T>& rhs) {
238 inline ArenaAllocatorAdapter<void> ArenaAllocator::Adapter(ArenaAllocKind kind) { in Adapter()
239 return ArenaAllocatorAdapter<void>(this, kind); in Adapter()