Searched refs:kRegionSize (Results 1 – 4 of 4) sorted by relevance
380 return ((reinterpret_cast<uptr>(p)) / kRegionSize) % kNumClassesRounded; in GetSizeClass()381 return ((reinterpret_cast<uptr>(p) - SpaceBeg()) / kRegionSize) % in GetSizeClass()390 uptr reg_beg = (uptr)p & ~(kRegionSize - 1); in GetBlockBegin()412 (kRegionSize * (class_id + 1)) - in GetMetaData()473 uptr region_beg = SpaceBeg() + class_id * kRegionSize; in ForEachChunk()493 static const uptr kRegionSize = kSpaceSize / kNumClassesRounded;502 COMPILER_CHECK((kRegionSize) >= (1ULL << (SANITIZER_WORDSIZE / 2)));530 uptr offset = chunk % kRegionSize; in GetChunkIdx()548 uptr region_beg = SpaceBeg() + kRegionSize * class_id; in PopulateFreeList()568 MapWithCallback(region_beg + kRegionSize - in PopulateFreeList()[all …]
645 const uint64_t kRegionSize = 0x2000; in TEST() local650 .D64(kRegionSize) // region_size in TEST()676 ASSERT_EQ(kRegionSize, info1->GetSize()); in TEST()682 info_list->GetMemoryInfoForAddress(kBaseAddress + kRegionSize / 2); in TEST()684 ASSERT_EQ(kRegionSize, info2->GetSize()); in TEST()
787 const uptr kRegionSize = in TEST() local799 ASSERT_LT(2 * kAllocationSize, kRegionSize); in TEST()800 ASSERT_GT(3 * kAllocationSize, kRegionSize); in TEST()
1087 static const int kRegionSize = 1 << kRegionSizeLog2; variable1088 static const int kSize = Page::kPageSize / kRegionSize;1090 STATIC_ASSERT(Page::kPageSize % kRegionSize == 0);