Home
last modified time | relevance | path

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

/system/bt/osi/src/
Dhash_map.c44 list_t *list_new_internal(list_free_cb callback, const allocator_t *zeroed_allocator);
59 const allocator_t *zeroed_allocator) { in hash_map_new_internal() argument
62 assert(zeroed_allocator != NULL); in hash_map_new_internal()
64 hash_map_t *hash_map = zeroed_allocator->alloc(sizeof(hash_map_t)); in hash_map_new_internal()
71 hash_map->allocator = zeroed_allocator; in hash_map_new_internal()
75 hash_map->bucket = zeroed_allocator->alloc(sizeof(hash_map_bucket_t) * num_bucket); in hash_map_new_internal()
77 zeroed_allocator->free(hash_map); in hash_map_new_internal()
Dlist.c24 list_t *list_new_internal(list_free_cb callback, const allocator_t *zeroed_allocator) { in list_new_internal() argument
25 list_t *list = (list_t *)zeroed_allocator->alloc(sizeof(list_t)); in list_new_internal()
30 list->allocator = zeroed_allocator; in list_new_internal()
Dallocation_tracker.c49 const allocator_t *zeroed_allocator);