Home
last modified time | relevance | path

Searched refs:nmemb (Results 1 – 7 of 7) sorted by relevance

/bionic/libc/upstream-netbsd/lib/libc/stdlib/
Dbsearch.c62 bsearch(const void *key, const void *base0, size_t nmemb, size_t size, in bsearch() argument
71 _DIAGASSERT(base0 != NULL || nmemb == 0); in bsearch()
74 for (lim = nmemb; lim != 0; lim >>= 1) { in bsearch()
/bionic/libc/malloc_hooks/
Dmalloc_hooks.cpp66 void* hooks_calloc(size_t nmemb, size_t bytes);
156 void* hooks_calloc(size_t nmemb, size_t bytes) { in hooks_calloc() argument
159 if (__builtin_mul_overflow(nmemb, bytes, &size)) { in hooks_calloc()
168 return g_dispatch->calloc(nmemb, bytes); in hooks_calloc()
/bionic/libc/malloc_debug/tools/
Dgen_malloc.pl216 my $nmemb = $2;
218 PrintAlloc($opts, $cur_thread, $pointer, "CALLOC", $size, $nmemb);
/bionic/libc/malloc_debug/
DRecordData.cpp69 CallocEntry::CallocEntry(void* pointer, size_t nmemb, size_t size) in CallocEntry() argument
70 : MallocEntry(pointer, size), nmemb_(nmemb) {} in CallocEntry()
DRecordData.h105 CallocEntry(void* pointer, size_t size, size_t nmemb);
Dmalloc_debug.cpp89 void* debug_calloc(size_t nmemb, size_t bytes);
715 void* debug_calloc(size_t nmemb, size_t bytes) { in debug_calloc() argument
717 return g_dispatch->calloc(nmemb, bytes); in debug_calloc()
723 if (__builtin_mul_overflow(nmemb, bytes, &size)) { in debug_calloc()
760 g_debug->record->AddEntry(new CallocEntry(pointer, bytes, nmemb)); in debug_calloc()
DREADME.md320 pointer = calloc(nmemb, size)
322 **THREAD\_ID**: calloc pointer nmemb size