59 GHashFunc hash_func, GEqualFunc eql_func)
77 GHashFunc hash_func, GEqualFunc eql_func)
WS_DLL_PUBLIC wmem_map_t * wmem_map_new(wmem_allocator_t *allocator, GHashFunc hash_func, GEqualFunc eql_func) G_GNUC_MALLOC
Definition wmem_map.c:88
WS_DLL_PUBLIC unsigned wmem_int64_hash(const void *key)
Definition wmem_map.c:517
WS_DLL_PUBLIC void * wmem_map_remove(wmem_map_t *map, const void *key)
Definition wmem_map.c:308
WS_DLL_PUBLIC unsigned wmem_map_foreach_remove(wmem_map_t *map, GHRFunc foreach_func, void *user_data)
Definition wmem_map.c:436
WS_DLL_PUBLIC unsigned wmem_double_hash(const void *key)
Definition wmem_map.c:523
WS_DLL_PUBLIC unsigned wmem_map_size(wmem_map_t *map)
Definition wmem_map.c:464
WS_DLL_PUBLIC unsigned wmem_str_hash(const void *key)
Definition wmem_map.c:511
WS_DLL_PUBLIC bool wmem_map_lookup_extended(wmem_map_t *map, const void *key, const void **orig_key, void **value)
Definition wmem_map.c:278
WS_DLL_PUBLIC uint32_t wmem_strong_hash(const uint8_t *buf, const size_t len)
Definition wmem_map.c:475
WS_DLL_PUBLIC wmem_list_t * wmem_map_get_keys(wmem_allocator_t *list_allocator, wmem_map_t *map)
Definition wmem_map.c:369
WS_DLL_PUBLIC bool wmem_map_contains(wmem_map_t *map, const void *key)
Definition wmem_map.c:230
WS_DLL_PUBLIC bool wmem_map_steal(wmem_map_t *map, const void *key)
Definition wmem_map.c:340
WS_DLL_PUBLIC void wmem_map_foreach(wmem_map_t *map, GHFunc foreach_func, void *user_data)
Definition wmem_map.c:392
WS_DLL_PUBLIC void * wmem_map_find(wmem_map_t *map, GHRFunc foreach_func, void *user_data)
Definition wmem_map.c:412
WS_DLL_PUBLIC void * wmem_map_insert(wmem_map_t *map, const void *key, void *value)
Definition wmem_map.c:187
WS_DLL_PUBLIC void * wmem_map_lookup(wmem_map_t *map, const void *key)
Definition wmem_map.c:254
WS_DLL_PUBLIC wmem_map_t * wmem_map_new_autoreset(wmem_allocator_t *metadata_scope, wmem_allocator_t *data_scope, GHashFunc hash_func, GEqualFunc eql_func) G_GNUC_MALLOC
Definition wmem_map.c:134
Definition wmem_allocator.h:27
Definition wmem_list.c:23