Searched refs:FromMalloc (Results 1 – 6 of 6) sorted by relevance
/external/compiler-rt/lib/scudo/ |
D | scudo_interceptors.cpp | 24 scudoFree(ptr, FromMalloc); in INTERCEPTOR() 28 scudoFree(ptr, FromMalloc); in INTERCEPTOR() 32 return scudoMalloc(size, FromMalloc); in INTERCEPTOR()
|
D | scudo_allocator.cpp | 404 if (NewHeader.AllocType != FromMemalign || Type != FromMalloc) { in deallocate() 473 if (OldHeader.AllocType != FromMalloc) { in reallocate() 486 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc); in reallocate() 511 void *Ptr = allocate(Total, MinAlignment, FromMalloc); in calloc() 552 return Instance.allocate(Size, Allocator::MinAlignment, FromMalloc); in scudoRealloc() 554 Instance.deallocate(Ptr, 0, FromMalloc); in scudoRealloc() 592 return Instance.allocate(Size, Alignment, FromMalloc); in scudoAlignedAlloc()
|
D | scudo_allocator.h | 28 FromMalloc = 0, // Memory block came from malloc, realloc, calloc, etc. enumerator
|
/external/llvm-project/compiler-rt/lib/scudo/ |
D | scudo_malloc.cpp | 24 scudoDeallocate(ptr, 0, 0, FromMalloc); in free() 28 return scudoAllocate(size, 0, FromMalloc); in malloc()
|
D | scudo_allocator.cpp | 474 if (Header.AllocType != FromMemalign || Type != FromMalloc) in deallocate() 497 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc); in reallocate() 514 if (UNLIKELY(OldHeader.AllocType != FromMalloc)) in reallocate() 531 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc); in reallocate() 567 return allocate(NMemB * Size, MinAlignment, FromMalloc, true); in calloc() 713 return SetErrnoOnNull(Instance.allocate(Size, MinAlignment, FromMalloc)); in scudoRealloc() 715 Instance.deallocate(Ptr, 0, 0, FromMalloc); in scudoRealloc() 763 return SetErrnoOnNull(Instance.allocate(Size, Alignment, FromMalloc)); in scudoAlignedAlloc()
|
D | scudo_allocator.h | 21 FromMalloc = 0, // Memory block came from malloc, realloc, calloc, etc. enumerator
|