Home
last modified time | relevance | path

Searched refs:table (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/bionic/
Dmalloc_debug_common.cpp305 static void InitMalloc(void* malloc_impl_handler, MallocDebug* table, const char* prefix) { in InitMalloc() argument
309 InitMallocFunction<MallocDebugMalloc>(malloc_impl_handler, &table->malloc, prefix, "malloc"); in InitMalloc()
310 InitMallocFunction<MallocDebugFree>(malloc_impl_handler, &table->free, prefix, "free"); in InitMalloc()
311 InitMallocFunction<MallocDebugCalloc>(malloc_impl_handler, &table->calloc, prefix, "calloc"); in InitMalloc()
312 InitMallocFunction<MallocDebugRealloc>(malloc_impl_handler, &table->realloc, prefix, "realloc"); in InitMalloc()
313 …InitMallocFunction<MallocDebugMemalign>(malloc_impl_handler, &table->memalign, prefix, "memalign"); in InitMalloc()
314 …InitMallocFunction<MallocDebugMallocUsableSize>(malloc_impl_handler, &table->malloc_usable_size, p… in InitMalloc()
Dpthread-timers.c269 thr_timer_table_t* table = __timer_table_get(); in thr_timer_from_id() local
270 thr_timer_t* timer = thr_timer_table_from_id( table, id, 0 ); in thr_timer_from_id()
361 thr_timer_table_t* table = __timer_table_get(); in timer_create() local
362 thr_timer_t* timer = thr_timer_table_alloc(table); in timer_create()
396 thr_timer_table_free(table, timer); in timer_create()
413 thr_timer_table_t* table = __timer_table_get(); in timer_delete() local
414 thr_timer_t* timer = thr_timer_table_from_id(table, id, 1); in timer_delete()
Dpthread_debug.cpp541 static void hashmap_init(HashTable* table) { in hashmap_init() argument
542 memset(table, 0, sizeof(HashTable)); in hashmap_init()
545 static void hashmap_removeEntry(HashTable* table, HashEntry* entry) in hashmap_removeEntry() argument
553 table->slots[entry->slot] = entry->next; in hashmap_removeEntry()
557 static HashEntry* hashmap_lookup(HashTable* table, in hashmap_lookup() argument
564 HashEntry* entry = table->slots[slot]; in hashmap_lookup()
578 entry->next = table->slots[slot]; in hashmap_lookup()
582 table->slots[slot] = entry; in hashmap_lookup()
Dmalloc_debug_leak.cpp106 static HashEntry* find_entry(HashTable* table, int slot, in find_entry() argument
108 HashEntry* entry = table->slots[slot]; in find_entry()
/bionic/tests/
DAndroid.mk163 LOCAL_MODULE := no-elf-hash-table-library