Searched refs:NeededSize (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 128 uint64_t NeededSize = DL.getTypeStoreSize(InstVal->getType()); in instrument() local 129 DEBUG(dbgs() << "Instrument " << *Ptr << " for " << Twine(NeededSize) in instrument() 144 Value *NeededSizeVal = ConstantInt::get(IntTy, NeededSize); in instrument()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 61 uint64_t NeededSize = DL.getTypeStoreSize(InstVal->getType()); in getBoundsCheckCond() local 62 LLVM_DEBUG(dbgs() << "Instrument " << *Ptr << " for " << Twine(NeededSize) in getBoundsCheckCond() 77 Value *NeededSizeVal = ConstantInt::get(IntTy, NeededSize); in getBoundsCheckCond()
|
/external/scudo/standalone/ |
D | combined.h | 248 const uptr NeededSize = variable 257 reportAllocationSizeTooBig(Size, NeededSize, MaxAllowedMallocSize); 259 DCHECK_LE(Size, NeededSize); 264 if (LIKELY(PrimaryT::canAllocate(NeededSize))) { 265 ClassId = SizeClassMap::getClassIdBySize(NeededSize); 287 Block = Secondary.allocate(NeededSize, Alignment, &SecondaryBlockEnd, 293 reportOutOfMemory(NeededSize);
|
/external/compiler-rt/lib/scudo/ |
D | scudo_allocator.cpp | 335 uptr NeededSize = RoundedSize + ExtraBytes; in allocate() local 336 if (NeededSize >= MaxAllowedMallocSize) in allocate() 341 Ptr = BackendAllocator.Allocate(&Cache, NeededSize, MinAlignment); in allocate() 344 Ptr = BackendAllocator.Allocate(&FallbackAllocatorCache, NeededSize, in allocate() 358 CHECK_LE(ChunkBeg + Size, AllocBeg + NeededSize); in allocate()
|
/external/scudo/standalone/tests/ |
D | combined_test.cpp | 43 const scudo::uptr NeededSize = in isTaggedAllocation() local 46 return AllocatorT::PrimaryT::canAllocate(NeededSize); in isTaggedAllocation()
|