Home
last modified time | relevance | path

Searched refs:SCMap (Results 1 – 3 of 3) sorted by relevance

/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dsize_class_map.h304 template <typename SCMap> inline void printMap() { in printMap()
308 for (uptr I = 0; I < SCMap::NumClasses; I++) { in printMap()
309 if (I == SCMap::BatchClassId) in printMap()
311 const uptr S = SCMap::getSizeByClassId(I); in printMap()
315 const uptr Cached = SCMap::getMaxCachedHint(S) * S; in printMap()
318 S, D, P, L, SCMap::getMaxCachedHint(S), Cached, in printMap()
319 SCMap::getClassIdBySize(S)); in printMap()
327 template <typename SCMap> static UNUSED void validateMap() { in validateMap()
328 for (uptr C = 0; C < SCMap::NumClasses; C++) { in validateMap()
329 if (C == SCMap::BatchClassId) in validateMap()
[all …]
/llvm-project/compiler-rt/lib/scudo/standalone/tests/
H A Dsize_class_map_test.cpp14 typedef SizeClassMap SCMap; in testSizeClassMap() typedef
15 scudo::printMap<SCMap>(); in testSizeClassMap()
16 scudo::validateMap<SCMap>(); in testSizeClassMap()
/llvm-project/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_test.cpp195 typedef SizeClassMap SCMap; in TestSizeClassMap()
196 SCMap::Print(); in TestSizeClassMap()
197 SCMap::Validate(); in TestSizeClassMap()
194 typedef SizeClassMap SCMap; TestSizeClassMap() typedef