Lines Matching defs:hash
10 #include "hash.h"
34 HASH_TABLE(char *, void *) hash; /* name -> idx+1 */
76 hash_table_create(&mk->hash, mk->pool, 0, strcase_hash, strcasecmp);
96 hash_table_destroy(&mk->hash);
106 hash_table_clear(mk->hash, TRUE);
172 hash_table_lookup(mk->hash, p) != NULL) {
179 hash_table_insert(mk->hash, new_name, POINTER_CAST(idx + 1));
202 value = hash_table_lookup(mk->hash, name);
211 value = hash_table_lookup(mk->hash, name);
230 hash_table_insert(mk->hash, new_name, POINTER_CAST(chridx + 1));