reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
307 if (void *Ptr = GuardedAlloc.allocate(Size)) 320 const uptr NeededSize = RoundUpTo(Size ? Size : 1, MinAlignment) + 320 const uptr NeededSize = RoundUpTo(Size ? Size : 1, MinAlignment) + 324 if (UNLIKELY(Size >= MaxAllowedMallocSize) || 328 reportAllocationSizeTooBig(Size, AlignedSize, MaxAllowedMallocSize); 360 reportOutOfMemory(Size); 383 Header.SizeOrUnusedBytes = Size; 389 const uptr TrailingBytes = (UserPtr + Size) & (PageSize - 1); 396 __sanitizer_malloc_hook(Ptr, Size);