/external/scudo/standalone/tests/ |
D | tsd_test.cpp | 65 using AllocatorT = MockAllocator<OneCache>; in TEST() typedef 66 auto Deleter = [](AllocatorT *A) { in TEST() 70 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in TEST() 80 template <class AllocatorT> static void testRegistry() { in testRegistry() 81 auto Deleter = [](AllocatorT *A) { in testRegistry() 85 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in testRegistry() 122 template <typename AllocatorT> static void stressCache(AllocatorT *Allocator) { in stressCache() 148 template <class AllocatorT> static void testRegistryThreaded() { in testRegistryThreaded() 150 auto Deleter = [](AllocatorT *A) { in testRegistryThreaded() 154 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in testRegistryThreaded() [all …]
|
D | combined_test.cpp | 34 template <class AllocatorT> 42 return AllocatorT::PrimaryT::canAllocate(NeededSize); in isPrimaryAllocation() 45 template <class AllocatorT> 46 void checkMemoryTaggingMaybe(AllocatorT *Allocator, void *P, scudo::uptr Size, in checkMemoryTaggingMaybe() 57 if (isPrimaryAllocation<AllocatorT>(Size, Alignment) in checkMemoryTaggingMaybe() 91 Allocator = std::make_unique<AllocatorT>(); in ScudoCombinedTest() 102 using AllocatorT = TestAllocator<TypeParam>; typedef 103 std::unique_ptr<AllocatorT> Allocator; 499 using AllocatorT = TestAllocator<DeathConfig>; in TEST() typedef 500 auto Allocator = std::unique_ptr<AllocatorT>(new AllocatorT()); in TEST() [all …]
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/ |
D | tsd_test.cpp | 65 using AllocatorT = MockAllocator<OneCache>; in TEST() typedef 66 auto Deleter = [](AllocatorT *A) { in TEST() 70 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in TEST() 80 template <class AllocatorT> static void testRegistry() { in testRegistry() 81 auto Deleter = [](AllocatorT *A) { in testRegistry() 85 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in testRegistry() 122 template <typename AllocatorT> static void stressCache(AllocatorT *Allocator) { in stressCache() 148 template <class AllocatorT> static void testRegistryThreaded() { in testRegistryThreaded() 150 auto Deleter = [](AllocatorT *A) { in testRegistryThreaded() 154 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in testRegistryThreaded() [all …]
|
D | combined_test.cpp | 36 template <class AllocatorT> 37 bool isTaggedAllocation(AllocatorT *Allocator, scudo::uptr Size, in isTaggedAllocation() 49 return AllocatorT::PrimaryT::canAllocate(NeededSize); in isTaggedAllocation() 52 template <class AllocatorT> 53 void checkMemoryTaggingMaybe(AllocatorT *Allocator, void *P, scudo::uptr Size, in checkMemoryTaggingMaybe() 82 using AllocatorT = TestAllocator<Config>; in testAllocator() typedef 83 auto Allocator = std::unique_ptr<AllocatorT>(new AllocatorT()); in testAllocator() 161 if (AllocatorT::PrimaryT::canAllocate(Size)) in testAllocator() 339 template <typename AllocatorT> static void stressAllocator(AllocatorT *A) { in stressAllocator() 362 using AllocatorT = TestAllocator<Config>; in testAllocatorThreaded() typedef [all …]
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/benchmarks/ |
D | malloc_benchmark.cpp | 18 using AllocatorT = scudo::Allocator<Config>; in BM_malloc_free() typedef 19 auto Deleter = [](AllocatorT *A) { in BM_malloc_free() 23 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in BM_malloc_free() 58 using AllocatorT = scudo::Allocator<Config>; in BM_malloc_free_loop() typedef 59 auto Deleter = [](AllocatorT *A) { in BM_malloc_free_loop() 63 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in BM_malloc_free_loop()
|
/external/scudo/standalone/benchmarks/ |
D | malloc_benchmark.cpp | 24 using AllocatorT = scudo::Allocator<Config, PostInitCallback<Config>>; in BM_malloc_free() typedef 25 auto Deleter = [](AllocatorT *A) { in BM_malloc_free() 29 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in BM_malloc_free() 65 using AllocatorT = scudo::Allocator<Config, PostInitCallback<Config>>; in BM_malloc_free_loop() typedef 66 auto Deleter = [](AllocatorT *A) { in BM_malloc_free_loop() 70 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in BM_malloc_free_loop()
|
/external/scudo/standalone/fuzz/ |
D | get_error_info_fuzzer.cpp | 19 using AllocatorT = scudo::Allocator<scudo::AndroidConfig>; in LLVMFuzzerTestOneInput() typedef 42 std::vector<char> RegionInfo(AllocatorT::getRegionInfoArraySize(), 0); in LLVMFuzzerTestOneInput() 49 std::vector<char> RingBuffer(AllocatorT::getRingBufferSize(), 0); in LLVMFuzzerTestOneInput() 56 AllocatorT::getErrorInfo(&ErrorInfo, FaultAddr, StackDepot.data(), in LLVMFuzzerTestOneInput()
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/fuzz/ |
D | get_error_info_fuzzer.cpp | 19 using AllocatorT = scudo::Allocator<scudo::AndroidConfig>; in LLVMFuzzerTestOneInput() typedef 38 std::vector<char> RegionInfo(AllocatorT::getRegionInfoArraySize(), 0); in LLVMFuzzerTestOneInput() 44 AllocatorT::getErrorInfo(&ErrorInfo, FaultAddr, StackDepot.data(), in LLVMFuzzerTestOneInput()
|
/external/llvm/include/llvm/Support/ |
D | Allocator.h | 133 template <typename AllocatorT = MallocAllocator, size_t SlabSize = 4096, 137 BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>> { 309 AllocatorT Allocator; 415 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold> 417 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, in new() argument 432 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold> 434 void *, llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold> &) { in delete() argument
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Allocator.h | 136 template <typename AllocatorT = MallocAllocator, size_t SlabSize = 4096, 140 BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>> { 312 AllocatorT Allocator; 418 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold> 420 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, in new() argument 435 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold> 437 void *, llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold> &) { in delete() argument
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | Allocator.h | 65 template <typename AllocatorT = MallocAllocator, size_t SlabSize = 4096, 68 : public AllocatorBase<BumpPtrAllocatorImpl<AllocatorT, SlabSize, 319 AllocatorT Allocator; 432 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold, 436 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold, in new() argument 442 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold, 445 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, in delete() argument
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Allocator.h | 139 template <typename AllocatorT = MallocAllocator, size_t SlabSize = 4096, 143 BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>> { 390 AllocatorT Allocator; 501 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold> 503 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, in new() argument 518 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold> 520 void *, llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold> &) { in delete() argument
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | AllocatorList.h | 34 template <class T, class AllocatorT> class AllocatorList : AllocatorT { 51 AllocatorT &getAlloc() { return *this; } in getAlloc() 52 const AllocatorT &getAlloc() const { return *this; } in getAlloc() 141 : AllocatorT(std::move(X.getAlloc())), List(std::move(X.List)) {} in AllocatorList()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | AllocatorList.h | 34 template <class T, class AllocatorT> class AllocatorList : AllocatorT { 51 AllocatorT &getAlloc() { return *this; } in getAlloc() 52 const AllocatorT &getAlloc() const { return *this; } in getAlloc() 141 : AllocatorT(std::move(X.getAlloc())), List(std::move(X.List)) {} in AllocatorList()
|
/external/skia/src/gpu/ |
D | GrBlockAllocator.h | 689 using AllocatorT = variable 693 BlockIter(AllocatorT* allocator) : fAllocator(allocator) {} in BlockIter() 731 AllocatorT* fAllocator;
|
/external/skqp/third_party/vulkanmemoryallocator/include/ |
D | vk_mem_alloc.h | 2763 template<typename T, typename AllocatorT> 2769 VmaVector(const AllocatorT& allocator) : in VmaVector() 2777 VmaVector(size_t count, const AllocatorT& allocator) : in VmaVector() 2785 VmaVector(const VmaVector<T, AllocatorT>& src) : in VmaVector() 2802 VmaVector& operator=(const VmaVector<T, AllocatorT>& rhs) 2960 AllocatorT m_Allocator; 3439 template<typename T, typename AllocatorT> 3517 friend class VmaList<T, AllocatorT>; 3600 friend class VmaList<T, AllocatorT>; 3603 VmaList(const AllocatorT& allocator) : m_RawList(allocator.m_pCallbacks) { } in VmaList()
|
/external/angle/third_party/vulkan_memory_allocator/src/ |
D | vk_mem_alloc.h | 4789 template<typename T, typename AllocatorT> 4795 VmaVector(const AllocatorT& allocator) : in VmaVector() 4803 VmaVector(size_t count, const AllocatorT& allocator) : in VmaVector() 4813 VmaVector(size_t count, const T& value, const AllocatorT& allocator) in VmaVector() 4816 VmaVector(const VmaVector<T, AllocatorT>& src) : in VmaVector() 4833 VmaVector& operator=(const VmaVector<T, AllocatorT>& rhs) 4991 AllocatorT m_Allocator; 5052 template<typename T, typename AllocatorT, size_t N> 5058 VmaSmallVector(const AllocatorT& allocator) : in VmaSmallVector() 5063 VmaSmallVector(size_t count, const AllocatorT& allocator) : in VmaSmallVector() [all …]
|
/external/skia/third_party/vulkanmemoryallocator/include/ |
D | vk_mem_alloc.h | 4770 template<typename T, typename AllocatorT> 4776 VmaVector(const AllocatorT& allocator) : in VmaVector() 4784 VmaVector(size_t count, const AllocatorT& allocator) : in VmaVector() 4794 VmaVector(size_t count, const T& value, const AllocatorT& allocator) in VmaVector() 4797 VmaVector(const VmaVector<T, AllocatorT>& src) : in VmaVector() 4814 VmaVector& operator=(const VmaVector<T, AllocatorT>& rhs) 4972 AllocatorT m_Allocator; 5033 template<typename T, typename AllocatorT, size_t N> 5039 VmaSmallVector(const AllocatorT& allocator) : in VmaSmallVector() 5044 VmaSmallVector(size_t count, const AllocatorT& allocator) : in VmaSmallVector() [all …]
|
/external/vulkan-validation-layers/layers/ |
D | vk_mem_alloc.h | 3950 template<typename T, typename AllocatorT> 3956 VmaVector(const AllocatorT& allocator) : in VmaVector() 3964 VmaVector(size_t count, const AllocatorT& allocator) : in VmaVector() 3972 VmaVector(const VmaVector<T, AllocatorT>& src) : in VmaVector() 3989 VmaVector& operator=(const VmaVector<T, AllocatorT>& rhs) 4147 AllocatorT m_Allocator; 4619 template<typename T, typename AllocatorT> 4698 friend class VmaList<T, AllocatorT>; in VMA_CLASS_NO_COPY() 4781 friend class VmaList<T, AllocatorT>; 4784 VmaList(const AllocatorT& allocator) : m_RawList(allocator.m_pCallbacks) { } in VmaList()
|