Home
last modified time | relevance | path

Searched refs:kCompactPtrScale (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator_primary64.h64 static const uptr kCompactPtrScale = 4; variable
66 return static_cast<CompactPtrT>((ptr - base) >> kCompactPtrScale); in PointerToCompactPtr()
69 return base + (static_cast<uptr>(ptr32) << kCompactPtrScale); in CompactPtrToPointer()
413 page_size_scaled_log(Log2(GetPageSizeCached() >> kCompactPtrScale)), in FreePagesRangeTracker()
499 const uptr chunk_size_scaled = chunk_size >> kCompactPtrScale; in ReleaseFreeMemoryToOS()
500 const uptr page_size_scaled = page_size >> kCompactPtrScale; in ReleaseFreeMemoryToOS()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cpp1170 Log2(GetPageSizeCached() >> Allocator64::kCompactPtrScale)), in RangeRecorder()
1240 GetPageSizeCached() >> Allocator64::kCompactPtrScale; in ReleasePageRangeToOS()
1251 const uptr page_size_scaled = page_size >> Allocator::kCompactPtrScale; in TestReleaseFreeMemoryToOS()
1258 const uptr chunk_size_scaled = chunk_size >> Allocator::kCompactPtrScale; in TestReleaseFreeMemoryToOS()