Home
last modified time | relevance | path

Searched refs:RequiredSize (Results 1 – 14 of 14) 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/llvm-project/compiler-rt/lib/asan/tests/
Dasan_fake_stack_test.cpp33 TEST(FakeStack, RequiredSize) { in TEST() argument
38 EXPECT_EQ(FakeStack::RequiredSize(15), 365568U); in TEST()
39 EXPECT_EQ(FakeStack::RequiredSize(16), 727040U); in TEST()
40 EXPECT_EQ(FakeStack::RequiredSize(17), 1449984U); in TEST()
41 EXPECT_EQ(FakeStack::RequiredSize(18), 2895872U); in TEST()
42 EXPECT_EQ(FakeStack::RequiredSize(19), 5787648U); in TEST()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_fake_stack.cpp51 uptr size = RequiredSize(stack_size_log); in Create()
60 p + FakeStack::RequiredSize(stack_size_log), stack_size_log, in Create()
74 uptr size = RequiredSize(stack_size_log_); in Destroy()
80 PoisonShadow(reinterpret_cast<uptr>(this), RequiredSize(stack_size_log()), in PoisonAll()
118 uptr end = reinterpret_cast<uptr>(this) + RequiredSize(stack_size_log); in AddrIsInFakeStack()
Dasan_fake_stack.h80 static uptr RequiredSize(uptr stack_size_log) { in RequiredSize() function
/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/llvm/lib/Target/X86/
DX86AsmPrinter.h51 void reset(unsigned RequiredSize) { in reset() argument
52 RequiredShadowSize = RequiredSize; in reset()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DSectionMemoryManager.cpp49 uintptr_t RequiredSize = Alignment * ((Size + Alignment - 1) / Alignment + 1); in allocateSection() local
67 if (FreeMB.Free.allocatedSize() >= RequiredSize) { in allocateSection()
105 Purpose, RequiredSize, &MemGroup.Near, in allocateSection()
/external/llvm-project/llvm/lib/ExecutionEngine/
DSectionMemoryManager.cpp49 uintptr_t RequiredSize = Alignment * ((Size + Alignment - 1) / Alignment + 1); in allocateSection() local
67 if (FreeMB.Free.allocatedSize() >= RequiredSize) { in allocateSection()
105 Purpose, RequiredSize, &MemGroup.Near, in allocateSection()
/external/llvm-project/llvm/lib/Target/X86/
DX86AsmPrinter.h52 void reset(unsigned RequiredSize) { in reset() argument
53 RequiredShadowSize = RequiredSize; in reset()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86AsmPrinter.h53 void reset(unsigned RequiredSize) { in reset() argument
54 RequiredShadowSize = RequiredSize; in reset()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DBinaryByteStream.h185 uint32_t RequiredSize = Offset + Buffer.size(); in writeBytes() local
186 if (RequiredSize > Data.size()) in writeBytes()
187 Data.resize(RequiredSize); in writeBytes()
/external/llvm-project/llvm/include/llvm/Support/
DBinaryByteStream.h185 uint32_t RequiredSize = Offset + Buffer.size(); in writeBytes() local
186 if (RequiredSize > Data.size()) in writeBytes()
187 Data.resize(RequiredSize); in writeBytes()