Home
last modified time | relevance | path

Searched refs:MinAlignmentLog (Results 1 – 2 of 2) sorted by relevance

/external/compiler-rt/lib/scudo/
Dscudo_allocator.cpp34 const uptr MinAlignmentLog = 4; // 16 bytes for x64 variable
94 reinterpret_cast<uptr>(this) - (Header->Offset << MinAlignmentLog)); in AllocBeg()
266 static const uptr MinAlignment = 1 << MinAlignmentLog;
298 uptr MaximumOffset = (MaxAlignment - ChunkHeaderSize) >> MinAlignmentLog; in init()
363 Header.Offset = (ChunkBeg - ChunkHeaderSize - AllocBeg) >> MinAlignmentLog; in allocate()
454 return Size - ChunkHeaderSize - (Header->Offset << MinAlignmentLog); in getUsableSize()
/external/scudo/standalone/
Dcombined.h381 Header.Offset = (Offset >> MinAlignmentLog) & Chunk::OffsetMask;
697 static const uptr MinAlignmentLog = SCUDO_MIN_ALIGNMENT_LOG; variable
699 static const uptr MinAlignment = 1UL << MinAlignmentLog;
746 (MaxPrimaryAlignment - Chunk::getHeaderSize()) >> MinAlignmentLog; in performSanityChecks()
771 (static_cast<uptr>(Header->Offset) << MinAlignmentLog)); in getBlockBegin()