Home
last modified time | relevance | path

Searched refs:RequiredSize (Results 1 – 5 of 5) 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.cc47 uptr size = RequiredSize(stack_size_log); in Create()
56 p + FakeStack::RequiredSize(stack_size_log), stack_size_log, in Create()
70 uptr size = RequiredSize(stack_size_log_); in Destroy()
76 PoisonShadow(reinterpret_cast<uptr>(this), RequiredSize(stack_size_log()), in PoisonAll()
112 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/
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()
/external/llvm/lib/Target/X86/
DX86AsmPrinter.h49 void reset(unsigned RequiredSize) { in reset() argument
50 RequiredShadowSize = RequiredSize; in reset()