Lines Matching refs:MinAlignment
85 return IsAligned(reinterpret_cast<uptr>(Ptr), MinAlignment); in isAligned()
311 if (UNLIKELY(Alignment < MinAlignment)) in allocate()
312 Alignment = MinAlignment; in allocate()
324 const uptr NeededSize = RoundUpTo(Size ? Size : 1, MinAlignment) + in allocate()
326 const uptr AlignedSize = (Alignment > MinAlignment) ? in allocate()
347 if (PrimaryT::CanAllocate(AlignedSize, MinAlignment)) { in allocate()
500 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc); in reallocate()
534 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc); in reallocate()
570 return allocate(NMemB * Size, MinAlignment, FromMalloc, true); in calloc()
615 1 << MostSignificantSetBitIndex(SizeClassMap::kMaxSize - MinAlignment); in performSanityChecks()
717 return SetErrnoOnNull(Instance.allocate(Size, MinAlignment, FromMalloc)); in scudoRealloc()