Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/
H A Dprimary_test.cpp91 template <typename BaseConfig, typename SizeClassMapT>
93 using SizeClassMap = SizeClassMapT;
96 template <typename BaseConfig, typename SizeClassMapT>
98 : public scudo::SizeClassAllocator64<Config<BaseConfig, SizeClassMapT>> {};
99 template <typename SizeClassMapT>
100 struct SizeClassAllocator<TestConfig1, SizeClassMapT>
101 : public scudo::SizeClassAllocator32<Config<TestConfig1, SizeClassMapT>> {};
103 template <typename BaseConfig, typename SizeClassMapT>
104 struct TestAllocator : public SizeClassAllocator<BaseConfig, SizeClassMapT> {
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_test.cpp239 uptr class_id0 = Allocator::SizeClassMapT::ClassID(size); in TestSizeClassAllocator()
252 CHECK_EQ(class_id, Allocator::SizeClassMapT::ClassID(size)); in TestSizeClassAllocator()
431 uptr max_size_class = Allocator::SizeClassMapT::kLargestClassID; in SizeClassAllocatorGetBlockBeginStress()
432 uptr size = Allocator::SizeClassMapT::Size(max_size_class); in SizeClassAllocatorGetBlockBeginStress()
980 uptr class_id0 = Allocator::SizeClassMapT::ClassID(size); in TestSizeClassAllocatorIteration()
1318 for (uptr class_id = 1; class_id <= Allocator::SizeClassMapT::kLargestClassID; in TestReleaseFreeMemoryToOS()
1320 const uptr chunk_size = Allocator::SizeClassMapT::Size(class_id); in TestReleaseFreeMemoryToOS()
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_local_cache.h74 typedef typename Allocator::SizeClassMapT SizeClassMap;
196 typedef typename Allocator::SizeClassMapT SizeClassMap;
H A Dsanitizer_allocator_primary32.h274 typedef SizeClassMap SizeClassMapT; typedef
H A Dsanitizer_allocator_primary64.h396 typedef SizeClassMap SizeClassMapT; typedef