Lines Matching refs:hash_entry
49 typedef struct hash_entry struct
55 struct hash_entry *next; argument
57 hash_entry; typedef
77 htab->table = (void *) xcalloc (init_size + 1, sizeof (hash_entry)); in init_hash()
100 hash_entry *table = (hash_entry *) htab->table; in insert_entry()
119 hash_entry *table = (hash_entry *) htab->table; in insert_entry_2()
127 if ((hash_entry *) htab->first == NULL) in insert_entry_2()
134 table[idx].next = ((hash_entry *) htab->first)->next; in insert_entry_2()
135 ((hash_entry *) htab->first)->next = &table[idx]; in insert_entry_2()
150 htab->table = (void *) xcalloc (1 + htab->size, sizeof (hash_entry)); in insert_entry_2()
169 hash_entry *table = (hash_entry *) htab->table; in find_entry()
183 hash_entry *table = (hash_entry *) htab->table; in set_entry()
202 *ptr = (void *) ((hash_entry *) htab->first)->next; in iterate_table()
208 *ptr = (void *) (((hash_entry *) *ptr)->next); in iterate_table()
211 *key = ((hash_entry *) *ptr)->key; in iterate_table()
212 *keylen = ((hash_entry *) *ptr)->keylen; in iterate_table()
213 *data = ((hash_entry *) *ptr)->data; in iterate_table()
228 hash_entry *table = (hash_entry *) htab->table; in lookup()