Home
last modified time | relevance | path

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

/external/compiler-rt/lib/scudo/
Dscudo_allocator.cpp266 static const uptr MinAlignment = 1 << MinAlignmentLog; member
325 if (Alignment < MinAlignment) in allocate()
326 Alignment = MinAlignment; in allocate()
331 uptr RoundedSize = RoundUpTo(Size, MinAlignment); in allocate()
333 if (Alignment > MinAlignment) in allocate()
341 Ptr = BackendAllocator.Allocate(&Cache, NeededSize, MinAlignment); in allocate()
345 MinAlignment); in allocate()
385 if (!IsAligned(ChunkBeg, MinAlignment)) { in deallocate()
486 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc); in reallocate()
511 void *Ptr = allocate(Total, MinAlignment, FromMalloc); in calloc()
[all …]