Lines Matching refs:allocator
32 explicit List(AllocationPolicy allocator = AllocationPolicy()) {
33 Initialize(0, allocator);
36 AllocationPolicy allocator = AllocationPolicy())) {
37 Initialize(capacity, allocator);
49 AllocationPolicy allocator = AllocationPolicy())) {
50 return allocator.New(static_cast<int>(size));
57 INLINE(void operator delete(void* p, AllocationPolicy allocator)) { in INLINE() argument
87 void Add(const T& element, AllocationPolicy allocator = AllocationPolicy());
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() argument
162 return static_cast<T*>(allocator.New(n * sizeof(T))); 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);