Lines Matching refs:hash_map_t
26 struct hash_map_t;
32 typedef struct hash_map_t { struct
41 } hash_map_t; argument
53 hash_map_t *hash_map_new_internal( in hash_map_new_internal()
64 hash_map_t *hash_map = zeroed_allocator->alloc(sizeof(hash_map_t)); in hash_map_new_internal()
83 hash_map_t *hash_map_new( in hash_map_new()
92 void hash_map_free(hash_map_t *hash_map) { in hash_map_free()
100 bool hash_map_is_empty(const hash_map_t *hash_map) { in hash_map_is_empty()
105 size_t hash_map_size(const hash_map_t *hash_map) { in hash_map_size()
110 size_t hash_map_num_buckets(const hash_map_t *hash_map) { in hash_map_num_buckets()
115 bool hash_map_has_key(const hash_map_t *hash_map, const void *key) { in hash_map_has_key()
125 bool hash_map_set(hash_map_t *hash_map, const void *key, void *data) { in hash_map_set()
158 bool hash_map_erase(hash_map_t *hash_map, const void *key) { in hash_map_erase()
174 void *hash_map_get(const hash_map_t *hash_map, const void *key) { in hash_map_get()
187 void hash_map_clear(hash_map_t *hash_map) { in hash_map_clear()
198 void hash_map_foreach(hash_map_t *hash_map, hash_map_iter_cb callback, void *context) { in hash_map_foreach()
218 const hash_map_t *hash_map = hash_map_entry->hash_map; in bucket_free_()