Lines Matching refs:AllocationPolicy
27 template <typename Key, typename Value, class MatchFun, class AllocationPolicy>
41 AllocationPolicy allocator = AllocationPolicy());
53 AllocationPolicy allocator = AllocationPolicy());
60 AllocationPolicy allocator = AllocationPolicy());
63 AllocationPolicy allocator = AllocationPolicy());
104 AllocationPolicy allocator = AllocationPolicy());
105 void Initialize(uint32_t capacity, AllocationPolicy allocator);
106 void Resize(AllocationPolicy allocator);
109 class AllocationPolicy>
110 TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::
112 AllocationPolicy allocator) in TemplateHashMapImpl()
118 class AllocationPolicy>
120 AllocationPolicy>::~TemplateHashMapImpl() { in ~TemplateHashMapImpl()
121 AllocationPolicy::Delete(map_); in ~TemplateHashMapImpl()
125 class AllocationPolicy>
126 typename TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::Entry*
127 TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::Lookup( in Lookup()
134 class AllocationPolicy>
135 typename TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::Entry*
136 TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::LookupOrInsert( in LookupOrInsert()
137 const Key& key, uint32_t hash, AllocationPolicy allocator) { in LookupOrInsert()
142 class AllocationPolicy>
144 typename TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::Entry*
145 TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::LookupOrInsert( in LookupOrInsert()
147 AllocationPolicy allocator) { in LookupOrInsert()
158 class AllocationPolicy>
159 typename TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::Entry*
160 TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::InsertNew( in InsertNew()
161 const Key& key, uint32_t hash, AllocationPolicy allocator) { in InsertNew()
167 class AllocationPolicy>
168 Value TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::Remove( in Remove()
229 class AllocationPolicy>
230 void TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::Clear() { in Clear()
239 class AllocationPolicy>
240 typename TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::Entry*
241 TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::Start() const { in Start()
246 class AllocationPolicy>
247 typename TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::Entry*
248 TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::Next( in Next()
261 class AllocationPolicy>
262 typename TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::Entry*
263 TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::Probe( in Probe()
278 class AllocationPolicy>
279 typename TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::Entry*
280 TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::FillEmptyEntry( in FillEmptyEntry()
282 AllocationPolicy allocator) { in FillEmptyEntry()
298 class AllocationPolicy>
299 void TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::Initialize( in Initialize()
300 uint32_t capacity, AllocationPolicy allocator) { in Initialize()
312 class AllocationPolicy>
313 void TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::Resize( in Resize()
314 AllocationPolicy allocator) { in Resize()
332 AllocationPolicy::Delete(map); in Resize()
351 template <typename AllocationPolicy>
356 AllocationPolicy> {
359 AllocationPolicy>
367 AllocationPolicy allocator = AllocationPolicy())
385 template <typename AllocationPolicy>
388 AllocationPolicy> {
390 AllocationPolicy>
395 AllocationPolicy allocator = AllocationPolicy())
402 template <class Key, class Value, class MatchFun, class AllocationPolicy>
406 AllocationPolicy> {
409 AllocationPolicy>
441 AllocationPolicy allocator = AllocationPolicy())
448 AllocationPolicy allocator = AllocationPolicy()) {