Home
last modified time | relevance | path

Searched refs:AllocationPolicy (Results 1 – 4 of 4) sorted by relevance

/external/v8/src/base/
Dhashmap.h27 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>::
[all …]
/external/v8/src/
Dlist.h31 template <typename T, class AllocationPolicy>
34 explicit List(AllocationPolicy allocator = AllocationPolicy()) {
38 AllocationPolicy allocator = AllocationPolicy())) {
51 AllocationPolicy allocator = AllocationPolicy())) {
55 AllocationPolicy::Delete(p); in INLINE()
59 INLINE(void operator delete(void* p, AllocationPolicy allocator)) { in INLINE()
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());
[all …]
Dsplay-tree.h30 template <typename Config, class AllocationPolicy>
38 explicit SplayTree(AllocationPolicy allocator = AllocationPolicy())
43 AllocationPolicy allocator = AllocationPolicy())) {
47 AllocationPolicy::Delete(p); in INLINE()
50 INLINE(void operator delete(void* p, AllocationPolicy policy)) { in INLINE()
54 AllocationPolicy allocator() { return allocator_; } in allocator()
108 INLINE(void* operator new(size_t size, AllocationPolicy allocator)) { in INLINE()
112 return AllocationPolicy::Delete(p); in INLINE()
116 INLINE(void operator delete(void* p, AllocationPolicy allocator)) { in INLINE()
185 void Call(Node* node) { AllocationPolicy::Delete(node); } in Call()
[all …]
/external/ImageMagick/MagickCore/
Dmemory.c307 static inline size_t AllocationPolicy(size_t size) in AllocationPolicy() function
390 i=AllocationPolicy(size); in AcquireBlock()
405 RemoveFreeBlock(block,AllocationPolicy(SizeOfBlock(block))); in AcquireBlock()
421 InsertFreeBlock(next,AllocationPolicy(blocksize)); in AcquireBlock()
818 InsertFreeBlock(block,AllocationPolicy(size)); in ExpandHeap()
1016 RemoveFreeBlock(previous,AllocationPolicy(SizeOfBlock(previous))); in RelinquishMagickMemory()
1030 RemoveFreeBlock(next,AllocationPolicy(SizeOfBlock(next))); in RelinquishMagickMemory()
1036 InsertFreeBlock(memory,AllocationPolicy(SizeOfBlock(memory))); in RelinquishMagickMemory()