Home
last modified time | relevance | path

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

/external/v8/src/base/
Dhashmap.h27 template <typename Key, typename Value, class MatchFun, class AllocationPolicy>
41 AllocationPolicy allocator = AllocationPolicy());
45 AllocationPolicy>* original,
46 AllocationPolicy allocator = AllocationPolicy());
58 AllocationPolicy allocator = AllocationPolicy());
65 AllocationPolicy allocator = AllocationPolicy());
68 AllocationPolicy allocator = AllocationPolicy());
80 AllocationPolicy::Delete(map_); in Invalidate()
105 void Reset(AllocationPolicy allocator) { in Reset()
111 void Initialize(uint32_t capacity, AllocationPolicy allocator);
[all …]
/external/v8/src/
Dsplay-tree.h30 template <typename Config, class AllocationPolicy>
38 explicit SplayTree(AllocationPolicy allocator = AllocationPolicy())
43 size_t size, AllocationPolicy allocator = AllocationPolicy()) {
46 V8_INLINE void operator delete(void* p) { AllocationPolicy::Delete(p); } in delete()
48 V8_INLINE void operator delete(void* p, AllocationPolicy policy) { in delete()
52 AllocationPolicy allocator() { return allocator_; } in allocator()
103 V8_INLINE void* operator new(size_t size, AllocationPolicy allocator) { in new()
107 return AllocationPolicy::Delete(p); in delete()
111 V8_INLINE void operator delete(void* p, AllocationPolicy allocator) { in delete()
180 void Call(Node* node) { AllocationPolicy::Delete(node); } in Call()
[all …]
Didentity-map.h90 template <typename V, class AllocationPolicy>
94 AllocationPolicy allocator = AllocationPolicy())
184 AllocationPolicy allocator_;
Dhandles.h243 template <typename V, class AllocationPolicy>
/external/ImageMagick/MagickCore/
Dmemory.c325 static inline size_t AllocationPolicy(size_t size) in AllocationPolicy() function
408 i=AllocationPolicy(size); in AcquireBlock()
423 RemoveFreeBlock(block,AllocationPolicy(SizeOfBlock(block))); in AcquireBlock()
439 InsertFreeBlock(next,AllocationPolicy(blocksize)); in AcquireBlock()
850 InsertFreeBlock(block,AllocationPolicy(size)); in ExpandHeap()
1088 RemoveFreeBlock(previous,AllocationPolicy(SizeOfBlock(previous))); in RelinquishMagickMemory()
1102 RemoveFreeBlock(next,AllocationPolicy(SizeOfBlock(next))); in RelinquishMagickMemory()
1108 InsertFreeBlock(memory,AllocationPolicy(SizeOfBlock(memory))); in RelinquishMagickMemory()