Lines Matching refs:AllocationPolicy
29 template <typename T, class AllocationPolicy>
32 explicit List(AllocationPolicy allocator = AllocationPolicy()) {
36 AllocationPolicy allocator = AllocationPolicy())) {
49 AllocationPolicy allocator = AllocationPolicy())) {
53 AllocationPolicy::Delete(p); in INLINE()
57 INLINE(void operator delete(void* p, AllocationPolicy allocator)) { in INLINE()
87 void Add(const T& element, AllocationPolicy allocator = AllocationPolicy());
90 void AddAll(const List<T, AllocationPolicy>& other,
91 AllocationPolicy allocator = AllocationPolicy());
95 AllocationPolicy allocator = AllocationPolicy());
99 AllocationPolicy allocator = AllocationPolicy());
108 AllocationPolicy allocator = AllocationPolicy());
126 AllocationPolicy allocator = AllocationPolicy()));
139 INLINE(void Trim(AllocationPolicy allocator = AllocationPolicy()));
154 AllocationPolicy allocator = AllocationPolicy()));
161 INLINE(T* NewData(int n, AllocationPolicy allocator)) { in INLINE()
165 AllocationPolicy::Delete(data); in INLINE()
170 void ResizeAdd(const T& element, AllocationPolicy allocator);
174 void ResizeAddInternal(const T& element, AllocationPolicy allocator);
177 void Resize(int new_capacity, AllocationPolicy allocator);