Home
last modified time | relevance | path

Searched refs:RequiredSize (Results 1 – 8 of 8) 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.cc52 uptr size = RequiredSize(stack_size_log); in Create()
61 p + FakeStack::RequiredSize(stack_size_log), stack_size_log, in Create()
75 uptr size = RequiredSize(stack_size_log_); in Destroy()
81 PoisonShadow(reinterpret_cast<uptr>(this), RequiredSize(stack_size_log()), in PoisonAll()
119 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.cpp47 uintptr_t RequiredSize = Alignment * ((Size + Alignment - 1)/Alignment + 1); in allocateSection() local
53 if (FreeMB.Free.size() >= RequiredSize) { in allocateSection()
87 sys::MemoryBlock MB = sys::Memory::allocateMappedMemory(RequiredSize, in allocateSection()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/
DSectionMemoryManager.cpp50 uintptr_t RequiredSize = Alignment * ((Size + Alignment - 1) / Alignment + 1); in allocateSection() local
68 if (FreeMB.Free.size() >= RequiredSize) { in allocateSection()
106 Purpose, RequiredSize, &MemGroup.Near, in allocateSection()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86AsmPrinter.h54 void reset(unsigned RequiredSize) { in reset() argument
55 RequiredShadowSize = RequiredSize; in reset()
/external/llvm/lib/Target/X86/
DX86AsmPrinter.h51 void reset(unsigned RequiredSize) { in reset() argument
52 RequiredShadowSize = RequiredSize; in reset()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DBinaryByteStream.h186 uint32_t RequiredSize = Offset + Buffer.size(); in writeBytes() local
187 if (RequiredSize > Data.size()) in writeBytes()
188 Data.resize(RequiredSize); in writeBytes()