Home | History | Annotate | Download | only in base

Lines Matching refs:ScopedArenaAllocatorAdapter

43 class ScopedArenaAllocatorAdapter;
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>>>;
92 class ScopedArenaAllocatorAdapter<void>
102 typedef ScopedArenaAllocatorAdapter<U> other;
105 explicit ScopedArenaAllocatorAdapter(ScopedArenaAllocator* allocator,
113 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter<U>& other)
119 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter&) = default;
120 ScopedArenaAllocatorAdapter& operator=(const ScopedArenaAllocatorAdapter&) = default;
121 ~ScopedArenaAllocatorAdapter() = default;
127 friend class ScopedArenaAllocatorAdapter;
131 class ScopedArenaAllocatorAdapter
145 typedef ScopedArenaAllocatorAdapter<U> other;
148 explicit ScopedArenaAllocatorAdapter(ScopedArenaAllocator* allocator,
156 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter<U>& other)
162 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter&) = default;
163 ScopedArenaAllocatorAdapter& operator=(const ScopedArenaAllocatorAdapter&) = default;
164 ~ScopedArenaAllocatorAdapter() = default;
174 ScopedArenaAllocatorAdapter<void>::pointer hint ATTRIBUTE_UNUSED = nullptr) {
200 friend class ScopedArenaAllocatorAdapter;
203 friend bool operator==(const ScopedArenaAllocatorAdapter<U>& lhs,
204 const ScopedArenaAllocatorAdapter<U>& rhs);
208 inline bool operator==(const ScopedArenaAllocatorAdapter<T>& lhs,
209 const ScopedArenaAllocatorAdapter<T>& rhs) {
214 inline bool operator!=(const ScopedArenaAllocatorAdapter<T>& lhs,
215 const ScopedArenaAllocatorAdapter<T>& rhs) {
219 inline ScopedArenaAllocatorAdapter<void> ScopedArenaAllocator::Adapter(ArenaAllocKind kind) {
220 return ScopedArenaAllocatorAdapter<void>(this, kind);