Searched refs:RequiredSize (Results 1 – 4 of 4) sorted by relevance
/external/compiler-rt/lib/asan/tests/ |
D | asan_fake_stack_test.cc | 34 TEST(FakeStack, RequiredSize) { in TEST() argument 39 EXPECT_EQ(FakeStack::RequiredSize(15), 365568U); in TEST() 40 EXPECT_EQ(FakeStack::RequiredSize(16), 727040U); in TEST() 41 EXPECT_EQ(FakeStack::RequiredSize(17), 1449984U); in TEST() 42 EXPECT_EQ(FakeStack::RequiredSize(18), 2895872U); in TEST() 43 EXPECT_EQ(FakeStack::RequiredSize(19), 5787648U); in TEST()
|
/external/compiler-rt/lib/asan/ |
D | asan_fake_stack.cc | 45 uptr size = RequiredSize(stack_size_log); in Create() 54 p + FakeStack::RequiredSize(stack_size_log), stack_size_log, in Create() 68 uptr size = RequiredSize(stack_size_log_); in Destroy() 74 PoisonShadow(reinterpret_cast<uptr>(this), RequiredSize(stack_size_log()), in PoisonAll() 110 uptr end = reinterpret_cast<uptr>(this) + RequiredSize(stack_size_log); in AddrIsInFakeStack()
|
D | asan_fake_stack.h | 81 static uptr RequiredSize(uptr stack_size_log) { in RequiredSize() function
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
D | SectionMemoryManager.cpp | 46 uintptr_t RequiredSize = Alignment * ((Size + Alignment - 1)/Alignment + 1); in allocateSection() local 53 if (MB.size() >= RequiredSize) { in allocateSection() 75 sys::MemoryBlock MB = sys::Memory::allocateMappedMemory(RequiredSize, in allocateSection()
|