Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h364 return (reinterpret_cast<uptr>(p) / kRegionSize) % kNumClassesRounded; in GetSizeClass()
372 uptr reg_beg = (uptr)p & ~(kRegionSize - 1); in GetBlockBegin()
393 return reinterpret_cast<void*>(kSpaceBeg + (kRegionSize * (class_id + 1)) - in GetMetaData()
454 uptr region_beg = kSpaceBeg + class_id * kRegionSize; in ForEachChunk()
469 static const uptr kRegionSize = kSpaceSize / kNumClassesRounded;
473 COMPILER_CHECK((kRegionSize) >= (1ULL << (SANITIZER_WORDSIZE / 2)));
505 uptr offset = chunk % kRegionSize; in GetChunkIdx()
523 uptr region_beg = kSpaceBeg + kRegionSize * class_id; in PopulateFreeList()
543 MapWithCallback(region_beg + kRegionSize - in PopulateFreeList()
548 if (region->mapped_user + region->mapped_meta > kRegionSize) { in PopulateFreeList()
[all …]
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc779 const uptr kRegionSize = in TEST() local
791 ASSERT_LT(2 * kAllocationSize, kRegionSize); in TEST()
792 ASSERT_GT(3 * kAllocationSize, kRegionSize); in TEST()
/external/chromium_org/v8/src/heap/
Dspaces.h981 static const int kRegionSize = 1 << kRegionSizeLog2; variable
982 static const int kSize = Page::kPageSize / kRegionSize;
984 STATIC_ASSERT(Page::kPageSize % kRegionSize == 0);