Home
last modified time | relevance | path

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

/external/compiler-rt/lib/asan/tests/
Dasan_fake_stack_test.cc34 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/
Dasan_fake_stack.cc45 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()
Dasan_fake_stack.h81 static uptr RequiredSize(uptr stack_size_log) { in RequiredSize() function
/external/llvm/lib/ExecutionEngine/MCJIT/
DSectionMemoryManager.cpp46 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()