Lines Matching refs:ScopedArenaAllocatorAdapter

43 class ScopedArenaAllocatorAdapter;  variable
46 using ScopedArenaDeque = std::deque<T, ScopedArenaAllocatorAdapter<T>>;
52 using ScopedArenaVector = dchecked_vector<T, ScopedArenaAllocatorAdapter<T>>;
61 using ScopedArenaSet = std::set<T, Comparator, ScopedArenaAllocatorAdapter<T>>;
65 SafeMap<K, V, Comparator, ScopedArenaAllocatorAdapter<std::pair<const K, V>>>;
71 using ScopedArenaHashSet = HashSet<T, EmptyFn, HashFn, Pred, ScopedArenaAllocatorAdapter<T>>;
83 ScopedArenaAllocatorAdapter<std::pair<Key, Value>>>;
87 std::unordered_map<K, V, Hash, KeyEqual, ScopedArenaAllocatorAdapter<std::pair<const K, V>>>;
95 ScopedArenaAllocatorAdapter<std::pair<const K, V>>>;
100 class ScopedArenaAllocatorAdapter<void>
110 typedef ScopedArenaAllocatorAdapter<U> other;
113 explicit ScopedArenaAllocatorAdapter(ScopedArenaAllocator* allocator,
121 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter<U>& other) in ScopedArenaAllocatorAdapter() function
127 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter&) = default;
128 ScopedArenaAllocatorAdapter& operator=(const ScopedArenaAllocatorAdapter&) = default;
129 ~ScopedArenaAllocatorAdapter() = default;
135 friend class ScopedArenaAllocatorAdapter; variable
139 class ScopedArenaAllocatorAdapter
153 typedef ScopedArenaAllocatorAdapter<U> other;
156 explicit ScopedArenaAllocatorAdapter(ScopedArenaAllocator* allocator,
164 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter<U>& other) in ScopedArenaAllocatorAdapter() function
170 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter&) = default;
171 ScopedArenaAllocatorAdapter& operator=(const ScopedArenaAllocatorAdapter&) = default;
172 ~ScopedArenaAllocatorAdapter() = default;
182 ScopedArenaAllocatorAdapter<void>::pointer hint ATTRIBUTE_UNUSED = nullptr) {
208 friend class ScopedArenaAllocatorAdapter; variable
211 friend bool operator==(const ScopedArenaAllocatorAdapter<U>& lhs,
212 const ScopedArenaAllocatorAdapter<U>& rhs);
216 inline bool operator==(const ScopedArenaAllocatorAdapter<T>& lhs,
217 const ScopedArenaAllocatorAdapter<T>& rhs) {
222 inline bool operator!=(const ScopedArenaAllocatorAdapter<T>& lhs,
223 const ScopedArenaAllocatorAdapter<T>& rhs) {
227 inline ScopedArenaAllocatorAdapter<void> ScopedArenaAllocator::Adapter(ArenaAllocKind kind) { in Adapter()
228 return ScopedArenaAllocatorAdapter<void>(this, kind); in Adapter()