Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/compiler-rt/lib/scudo/
H A Dscudo_malloc.cpp25 scudoDeallocate(ptr, 0, 0, FromMalloc); in free()
29 return scudoAllocate(size, 0, FromMalloc); in malloc()
H A Dscudo_allocator.cpp448 if (Header.AllocType != FromMemalign || Type != FromMalloc) in deallocate()
476 if (UNLIKELY(OldHeader.AllocType != FromMalloc)) in reallocate()
493 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc); in reallocate()
523 return allocate(NMemB * Size, MinAlignment, FromMalloc, true); in calloc()
657 return SetErrnoOnNull(Instance.allocate(Size, MinAlignment, FromMalloc)); in scudoRealloc()
659 Instance.deallocate(Ptr, 0, 0, FromMalloc); in scudoRealloc()
707 return SetErrnoOnNull(Instance.allocate(Size, Alignment, FromMalloc)); in scudoAlignedAlloc()
H A Dscudo_allocator.h22 FromMalloc = 0, // Memory block came from malloc, realloc, calloc, etc. enumerator