• Home
  • Raw
  • Download

Lines Matching refs:ScopedArenaAllocatorAdapter

45 class ScopedArenaAllocatorAdapter;  variable
48 using ScopedArenaDeque = std::deque<T, ScopedArenaAllocatorAdapter<T>>;
54 using ScopedArenaVector = dchecked_vector<T, ScopedArenaAllocatorAdapter<T>>;
63 using ScopedArenaSet = std::set<T, Comparator, ScopedArenaAllocatorAdapter<T>>;
67 SafeMap<K, V, Comparator, ScopedArenaAllocatorAdapter<std::pair<const K, V>>>;
73 using ScopedArenaHashSet = HashSet<T, EmptyFn, HashFn, Pred, ScopedArenaAllocatorAdapter<T>>;
85 ScopedArenaAllocatorAdapter<std::pair<Key, Value>>>;
89 std::unordered_map<K, V, Hash, KeyEqual, ScopedArenaAllocatorAdapter<std::pair<const K, V>>>;
97 ScopedArenaAllocatorAdapter<std::pair<const K, V>>>;
102 class ScopedArenaAllocatorAdapter<void>
112 typedef ScopedArenaAllocatorAdapter<U> other;
115 explicit ScopedArenaAllocatorAdapter(ScopedArenaAllocator* allocator,
123 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter<U>& other) in ScopedArenaAllocatorAdapter() function
129 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter&) = default;
130 ScopedArenaAllocatorAdapter& operator=(const ScopedArenaAllocatorAdapter&) = default;
131 ~ScopedArenaAllocatorAdapter() = default;
137 friend class ScopedArenaAllocatorAdapter; variable
141 class ScopedArenaAllocatorAdapter
155 typedef ScopedArenaAllocatorAdapter<U> other;
158 explicit ScopedArenaAllocatorAdapter(ScopedArenaAllocator* allocator,
166 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter<U>& other) in ScopedArenaAllocatorAdapter() function
172 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter&) = default;
173 ScopedArenaAllocatorAdapter& operator=(const ScopedArenaAllocatorAdapter&) = default;
174 ~ScopedArenaAllocatorAdapter() = default;
184 ScopedArenaAllocatorAdapter<void>::pointer hint ATTRIBUTE_UNUSED = nullptr) {
210 friend class ScopedArenaAllocatorAdapter; variable
213 friend bool operator==(const ScopedArenaAllocatorAdapter<U>& lhs,
214 const ScopedArenaAllocatorAdapter<U>& rhs);
218 inline bool operator==(const ScopedArenaAllocatorAdapter<T>& lhs,
219 const ScopedArenaAllocatorAdapter<T>& rhs) {
224 inline bool operator!=(const ScopedArenaAllocatorAdapter<T>& lhs,
225 const ScopedArenaAllocatorAdapter<T>& rhs) {
229 inline ScopedArenaAllocatorAdapter<void> ScopedArenaAllocator::Adapter(ArenaAllocKind kind) { in Adapter()
230 return ScopedArenaAllocatorAdapter<void>(this, kind); in Adapter()