Lines Matching refs:ZoneAllocationPolicy
140 class ZoneAllocationPolicy final {
142 explicit ZoneAllocationPolicy(Zone* zone) : zone_(zone) {} in ZoneAllocationPolicy() function
178 V8_INLINE void operator delete(void* p, ZoneAllocationPolicy allocator) { in delete()
212 data_ = (capacity > 0) ? NewData(capacity, ZoneAllocationPolicy(zone)) in Initialize()
274 V8_INLINE T* NewData(int n, ZoneAllocationPolicy allocator) { in NewData()
277 V8_INLINE void DeleteData(T* data) { ZoneAllocationPolicy::Delete(data); } in DeleteData()
281 void ResizeAdd(const T& element, ZoneAllocationPolicy allocator);
285 void ResizeAddInternal(const T& element, ZoneAllocationPolicy allocator);
288 void Resize(int new_capacity, ZoneAllocationPolicy allocator);
302 class ZoneSplayTree final : public SplayTree<Config, ZoneAllocationPolicy> {
305 : SplayTree<Config, ZoneAllocationPolicy>(ZoneAllocationPolicy(zone)) {} in ZoneSplayTree()
310 SplayTree<Config, ZoneAllocationPolicy>::ResetRoot(); in ~ZoneSplayTree()
319 typedef base::PointerTemplateHashMapImpl<ZoneAllocationPolicy> ZoneHashMap;
321 typedef base::CustomMatcherTemplateHashMapImpl<ZoneAllocationPolicy>