Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h380 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 …]
/external/google-breakpad/src/processor/
Dminidump_unittest.cc645 const uint64_t kRegionSize = 0x2000; in TEST() local
650 .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()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc787 const uptr kRegionSize = in TEST() local
799 ASSERT_LT(2 * kAllocationSize, kRegionSize); in TEST()
800 ASSERT_GT(3 * kAllocationSize, kRegionSize); in TEST()
/external/v8/src/heap/
Dspaces.h1087 static const int kRegionSize = 1 << kRegionSizeLog2; variable
1088 static const int kSize = Page::kPageSize / kRegionSize;
1090 STATIC_ASSERT(Page::kPageSize % kRegionSize == 0);