Lines Matching full:allocationpolicy
30 // class AllocationPolicy = FreeStoreAllocationPolicy> class List;
31 template <typename T, class AllocationPolicy>
34 explicit List(AllocationPolicy allocator = AllocationPolicy()) {
38 AllocationPolicy allocator = AllocationPolicy())) {
51 AllocationPolicy allocator = AllocationPolicy())) {
55 AllocationPolicy::Delete(p);
59 INLINE(void operator delete(void* p, AllocationPolicy allocator)) {
91 void Add(const T& element, AllocationPolicy allocator = AllocationPolicy());
94 void AddAll(const List<T, AllocationPolicy>& other,
95 AllocationPolicy allocator = AllocationPolicy());
99 AllocationPolicy allocator = AllocationPolicy());
103 AllocationPolicy allocator = AllocationPolicy());
112 AllocationPolicy allocator = AllocationPolicy());
130 AllocationPolicy allocator = AllocationPolicy()));
144 INLINE(void Swap(List<T, AllocationPolicy>* list));
147 INLINE(void Trim(AllocationPolicy allocator = AllocationPolicy()));
170 AllocationPolicy allocator = AllocationPolicy())) {
182 INLINE(T* NewData(int n, AllocationPolicy allocator)) {
186 AllocationPolicy::Delete(data);
191 void ResizeAdd(const T& element, AllocationPolicy allocator);
195 void ResizeAddInternal(const T& element, AllocationPolicy allocator);
198 void Resize(int new_capacity, AllocationPolicy allocator);