Lines Matching refs:htable
55 p->htable = (hashtab_ptr_t *) malloc(sizeof(hashtab_ptr_t) * size); in hashtab_create()
56 if (p->htable == NULL) { in hashtab_create()
61 p->htable[i] = (hashtab_ptr_t) NULL; in hashtab_create()
76 cur = h->htable[hvalue]; in hashtab_insert()
95 newnode->next = h->htable[hvalue]; in hashtab_insert()
96 h->htable[hvalue] = newnode; in hashtab_insert()
115 cur = h->htable[hvalue]; in hashtab_remove()
125 h->htable[hvalue] = cur->next; in hashtab_remove()
148 cur = h->htable[hvalue]; in hashtab_replace()
170 newnode->next = h->htable[hvalue]; in hashtab_replace()
171 h->htable[hvalue] = newnode; in hashtab_replace()
188 cur = h->htable[hvalue]; in hashtab_search()
207 cur = h->htable[i]; in hashtab_destroy()
213 h->htable[i] = NULL; in hashtab_destroy()
216 free(h->htable); in hashtab_destroy()
217 h->htable = NULL; in hashtab_destroy()
233 cur = h->htable[i]; in hashtab_map()
261 cur = h->htable[i]; in hashtab_map_remove_on_error()
268 h->htable[i] = cur->next; in hashtab_map_remove_on_error()
296 cur = h->htable[i]; in hashtab_hash_eval()