Lines Matching defs:hash
4 #include "hash.h"
8 HASH_TABLE(char *, void *) hash;
16 hash_table_create(&table->hash, default_pool, 0, str_hash, strcmp);
29 iter = hash_table_iterate_init(table->hash);
30 while (hash_table_iterate(iter, table->hash, &key, &value))
33 hash_table_destroy(&table->hash);
39 return hash_table_count(table->hash) == 0;
48 if (!hash_table_lookup_full(table->hash, str, &key, &value)) {
56 hash_table_update(table->hash, key, POINTER_CAST(ref));
66 if (!hash_table_lookup_full(table->hash, *str, &key, &value))
72 hash_table_update(table->hash, key, POINTER_CAST(ref));
74 hash_table_remove(table->hash, key);