Home
last modified time | relevance | path

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

/system/bt/osi/src/
Ddata_dispatcher.c35 hash_map_t *dispatch_table; member
44 ret->dispatch_table = hash_map_new(DEFAULT_TABLE_BUCKETS, hash_function_naive, NULL, NULL, NULL); in data_dispatcher_new()
45 if (!ret->dispatch_table) { in data_dispatcher_new()
67 hash_map_free(dispatcher->dispatch_table); in data_dispatcher_free()
75 hash_map_erase(dispatcher->dispatch_table, (void *)type); in data_dispatcher_register()
77 hash_map_set(dispatcher->dispatch_table, (void *)type, queue); in data_dispatcher_register()
90 fixed_queue_t *queue = hash_map_get(dispatcher->dispatch_table, (void *)type); in data_dispatcher_dispatch()