Lines Matching refs:MinAlignment
85 return IsAligned(reinterpret_cast<uptr>(Ptr), MinAlignment); in isAligned()
312 if (UNLIKELY(Alignment < MinAlignment)) in allocate()
313 Alignment = MinAlignment; in allocate()
325 const uptr NeededSize = RoundUpTo(Size ? Size : 1, MinAlignment) + in allocate()
327 const uptr AlignedSize = (Alignment > MinAlignment) ? in allocate()
348 if (PrimaryT::CanAllocate(AlignedSize, MinAlignment)) { in allocate()
501 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc); in reallocate()
535 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc); in reallocate()
571 return allocate(NMemB * Size, MinAlignment, FromMalloc, true); in calloc()
616 1 << MostSignificantSetBitIndex(SizeClassMap::kMaxSize - MinAlignment); in performSanityChecks()
718 return SetErrnoOnNull(Instance.allocate(Size, MinAlignment, FromMalloc)); in scudoRealloc()