Searched refs:numEntries (Results 1 – 3 of 3) sorted by relevance
/bionic/libc/bionic/ |
D | malloc_debug_leak.cpp | 90 static uint32_t get_hash(uintptr_t* backtrace, size_t numEntries) { in get_hash() argument 95 for (i = 0 ; i < numEntries ; i++) { in get_hash() 103 uintptr_t* backtrace, size_t numEntries, size_t size) { in find_entry() argument 112 if (entry->size == size && entry->numEntries == numEntries && in find_entry() 113 !memcmp(backtrace, entry->backtrace, numEntries * sizeof(uintptr_t))) { in find_entry() 123 static HashEntry* record_backtrace(uintptr_t* backtrace, size_t numEntries, size_t size) { in record_backtrace() argument 124 size_t hash = get_hash(backtrace, numEntries); in record_backtrace() 138 HashEntry* entry = find_entry(g_hash_table, slot, backtrace, numEntries, size); in record_backtrace() 143 …entry = static_cast<HashEntry*>(g_malloc_dispatch->malloc(sizeof(HashEntry) + numEntries*sizeof(ui… in record_backtrace() 151 entry->numEntries = numEntries; in record_backtrace() [all …]
|
D | malloc_debug_common.h | 62 size_t numEntries; member
|
D | malloc_debug_common.cpp | 224 size_t entrySize = (sizeof(size_t) * 2) + (sizeof(uintptr_t) * entry->numEntries); in get_malloc_leak_info()
|