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.cpp75 CallocEntry::CallocEntry(void* pointer, size_t nmemb, size_t size, uint64_t start_ns, in CallocEntry() argument
77 : MallocEntry(pointer, size, start_ns, end_ns), nmemb_(nmemb) {} in CallocEntry()
DRecordData.h112 CallocEntry(void* pointer, size_t nmemb, size_t size, uint64_t st, uint64_t et);
Dmalloc_debug.cpp190 void* debug_calloc(size_t nmemb, size_t bytes);
907 void* debug_calloc(size_t nmemb, size_t bytes) { in debug_calloc() argument
911 return g_dispatch->calloc(nmemb, bytes); in debug_calloc()
918 if (__builtin_mul_overflow(nmemb, bytes, &size)) { in debug_calloc()
958 new CallocEntry(pointer, nmemb, bytes, result.GetStartTimeNS(), result.GetEndTimeNS())); in debug_calloc()
DREADME.md402 pointer = calloc(nmemb, size)
404 **THREAD\_ID**: calloc pointer nmemb size