Home
last modified time | relevance | path

Searched refs:HashEntry (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/bionic/
Dmalloc_debug_common.h58 struct HashEntry { struct
60 HashEntry* prev; argument
61 HashEntry* next; argument
72 HashEntry* slots[HASHTABLE_SIZE]; argument
Dmalloc_debug_leak.cpp74 HashEntry* entry;
102 static HashEntry* find_entry(HashTable* table, int slot, in find_entry()
104 HashEntry* entry = table->slots[slot]; in find_entry()
123 static HashEntry* record_backtrace(uintptr_t* backtrace, size_t numEntries, size_t size) { 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()
169 static int is_valid_entry(HashEntry* entry) { in is_valid_entry()
172 HashEntry* e1 = g_hash_table->slots[i]; in is_valid_entry()
184 static void remove_entry(HashEntry* entry) { in remove_entry()
185 HashEntry* prev = entry->prev; in remove_entry()
[all …]
Dmalloc_debug_common.cpp122 const HashEntry* e1 = *static_cast<HashEntry* const*>(arg1); in hash_entry_compare()
123 const HashEntry* e2 = *static_cast<HashEntry* const*>(arg2); in hash_entry_compare()
191 HashEntry** list = static_cast<HashEntry**>(Malloc(malloc)(sizeof(void*) * g_hash_table.count)); in get_malloc_leak_info()
196 HashEntry* entry = g_hash_table.slots[i]; in get_malloc_leak_info()
223 HashEntry* entry = list[i]; in get_malloc_leak_info()