Lines Matching refs:ScopedArenaAllocatorAdapter
43 class ScopedArenaAllocatorAdapter; variable
46 using ScopedArenaDeque = std::deque<T, ScopedArenaAllocatorAdapter<T>>;
52 using ScopedArenaVector = dchecked_vector<T, ScopedArenaAllocatorAdapter<T>>;
55 using ScopedArenaSet = std::set<T, Comparator, ScopedArenaAllocatorAdapter<T>>;
59 SafeMap<K, V, Comparator, ScopedArenaAllocatorAdapter<std::pair<const K, V>>>;
63 std::unordered_map<K, V, Hash, KeyEqual, ScopedArenaAllocatorAdapter<std::pair<const K, V>>>;
69 class ScopedArenaAllocatorAdapter<void>
79 typedef ScopedArenaAllocatorAdapter<U> other;
82 explicit ScopedArenaAllocatorAdapter(ScopedArenaAllocator* arena_allocator,
90 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter<U>& other) in ScopedArenaAllocatorAdapter() function
96 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter&) = default;
97 ScopedArenaAllocatorAdapter& operator=(const ScopedArenaAllocatorAdapter&) = default;
98 ~ScopedArenaAllocatorAdapter() = default;
104 friend class ScopedArenaAllocatorAdapter; variable
108 class ScopedArenaAllocatorAdapter
122 typedef ScopedArenaAllocatorAdapter<U> other;
125 explicit ScopedArenaAllocatorAdapter(ScopedArenaAllocator* arena_allocator,
133 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter<U>& other) in ScopedArenaAllocatorAdapter() function
139 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter&) = default;
140 ScopedArenaAllocatorAdapter& operator=(const ScopedArenaAllocatorAdapter&) = default;
141 ~ScopedArenaAllocatorAdapter() = default;
151 ScopedArenaAllocatorAdapter<void>::pointer hint ATTRIBUTE_UNUSED = nullptr) {
177 friend class ScopedArenaAllocatorAdapter; variable
180 friend bool operator==(const ScopedArenaAllocatorAdapter<U>& lhs,
181 const ScopedArenaAllocatorAdapter<U>& rhs);
185 inline bool operator==(const ScopedArenaAllocatorAdapter<T>& lhs,
186 const ScopedArenaAllocatorAdapter<T>& rhs) {
191 inline bool operator!=(const ScopedArenaAllocatorAdapter<T>& lhs,
192 const ScopedArenaAllocatorAdapter<T>& rhs) {
196 inline ScopedArenaAllocatorAdapter<void> ScopedArenaAllocator::Adapter(ArenaAllocKind kind) { in Adapter()
197 return ScopedArenaAllocatorAdapter<void>(this, kind); in Adapter()