Lines Matching defs:hash_table

35 struct hash_table {
50 struct hash_table *table;
61 static bool hash_table_resize(struct hash_table *table, bool grow);
63 void hash_table_create(struct hash_table **table_r, pool_t node_pool,
67 struct hash_table *table;
70 table = i_new(struct hash_table, 1);
94 void hash_table_create_direct(struct hash_table **table_r, pool_t node_pool,
101 static void free_node(struct hash_table *table, struct hash_node *node)
111 static void destroy_node_list(struct hash_table *table, struct hash_node *node)
122 static void hash_table_destroy_nodes(struct hash_table *table)
132 void hash_table_destroy(struct hash_table **_table)
134 struct hash_table *table = *_table;
150 void hash_table_clear(struct hash_table *table, bool free_nodes)
170 hash_table_lookup_node(const struct hash_table *table,
188 void *hash_table_lookup(const struct hash_table *table, const void *key)
196 bool hash_table_lookup_full(const struct hash_table *table,
213 hash_table_insert_node(struct hash_table *table, void *key, void *value,
295 void hash_table_insert(struct hash_table *table, void *key, void *value)
300 void hash_table_update(struct hash_table *table, void *key, void *value)
306 hash_table_compress(struct hash_table *table, struct hash_node *root)
332 static void hash_table_compress_removed(struct hash_table *table)
342 bool hash_table_try_remove(struct hash_table *table, const void *key)
363 unsigned int hash_table_count(const struct hash_table *table)
368 struct hash_iterate_context *hash_table_iterate_init(struct hash_table *table)
426 void hash_table_freeze(struct hash_table *table)
431 void hash_table_thaw(struct hash_table *table)
444 static bool hash_table_resize(struct hash_table *table, bool grow)
501 void hash_table_copy(struct hash_table *dest, struct hash_table *src)