Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dmalloc_debug_common.h57 struct HashEntry { struct
59 HashEntry* prev; argument
60 HashEntry* next; argument
70 HashEntry* slots[HASHTABLE_SIZE]; argument
Dmalloc_debug_leak.cpp78 HashEntry* entry;
106 static HashEntry* find_entry(HashTable* table, int slot, in find_entry()
108 HashEntry* entry = table->slots[slot]; in find_entry()
127 static HashEntry* record_backtrace(uintptr_t* backtrace, size_t numEntries, size_t size) { in record_backtrace()
140 HashEntry* entry = find_entry(&gHashTable, slot, backtrace, numEntries, size); in record_backtrace()
146 entry = static_cast<HashEntry*>(dlmalloc(sizeof(HashEntry) + numEntries*sizeof(uintptr_t))); in record_backtrace()
172 static int is_valid_entry(HashEntry* entry) { in is_valid_entry()
176 HashEntry* e1 = gHashTable.slots[i]; in is_valid_entry()
191 static void remove_entry(HashEntry* entry) { in remove_entry()
192 HashEntry* prev = entry->prev; in remove_entry()
[all …]
Dpthread_debug.cpp498 typedef struct HashEntry HashEntry; typedef
499 struct HashEntry { struct
501 HashEntry* prev; argument
502 HashEntry* next; argument
508 HashEntry* slots[HASHTABLE_SIZE]; argument
545 static void hashmap_removeEntry(HashTable* table, HashEntry* entry) in hashmap_removeEntry()
547 HashEntry* prev = entry->prev; in hashmap_removeEntry()
548 HashEntry* next = entry->next; in hashmap_removeEntry()
557 static HashEntry* hashmap_lookup(HashTable* table, in hashmap_lookup()
564 HashEntry* entry = table->slots[slot]; in hashmap_lookup()
[all …]
Dmalloc_debug_common.cpp67 const HashEntry* e1 = *static_cast<HashEntry* const*>(arg1); in hash_entry_compare()
68 const HashEntry* e2 = *static_cast<HashEntry* const*>(arg2); in hash_entry_compare()
135 HashEntry** list = static_cast<HashEntry**>(dlmalloc(sizeof(void*) * gHashTable.count)); in get_malloc_leak_info()
140 HashEntry* entry = gHashTable.slots[i]; in get_malloc_leak_info()
169 HashEntry* entry = list[i]; in get_malloc_leak_info()