Home
last modified time | relevance | path

Searched refs:NMemB (Results 1 – 4 of 4) sorted by relevance

/external/compiler-rt/lib/scudo/
Dscudo_allocator.cpp505 void *calloc(uptr NMemB, uptr Size) { in calloc()
508 uptr Total = NMemB * Size; in calloc()
509 if (Size != 0 && Total / Size != NMemB) // Overflow check in calloc()
560 void *scudoCalloc(uptr NMemB, uptr Size) { in scudoCalloc() argument
561 return Instance.calloc(NMemB, Size); in scudoCalloc()
Dscudo_allocator.h53 void *scudoCalloc(uptr NMemB, uptr Size);
/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_allocator.cpp560 void *calloc(uptr NMemB, uptr Size) { in calloc()
562 if (UNLIKELY(CheckForCallocOverflow(NMemB, Size))) { in calloc()
565 reportCallocOverflow(NMemB, Size); in calloc()
567 return allocate(NMemB * Size, MinAlignment, FromMalloc, true); in calloc()
721 void *scudoCalloc(uptr NMemB, uptr Size) { in scudoCalloc() argument
722 return SetErrnoOnNull(Instance.calloc(NMemB, Size)); in scudoCalloc()
Dscudo_allocator.h116 void *scudoCalloc(uptr NMemB, uptr Size);