Lines Matching refs:htable
34 p->htable = (hashtab_ptr_t *) malloc(sizeof(hashtab_ptr_t) * size); in hashtab_create()
35 if (p->htable == NULL) { in hashtab_create()
40 p->htable[i] = (hashtab_ptr_t) NULL; in hashtab_create()
55 cur = h->htable[hvalue]; in hashtab_insert()
74 newnode->next = h->htable[hvalue]; in hashtab_insert()
75 h->htable[hvalue] = newnode; in hashtab_insert()
94 cur = h->htable[hvalue]; in hashtab_remove()
104 h->htable[hvalue] = cur->next; in hashtab_remove()
127 cur = h->htable[hvalue]; in hashtab_replace()
149 newnode->next = h->htable[hvalue]; in hashtab_replace()
150 h->htable[hvalue] = newnode; in hashtab_replace()
167 cur = h->htable[hvalue]; in hashtab_search()
186 cur = h->htable[i]; in hashtab_destroy()
192 h->htable[i] = NULL; in hashtab_destroy()
195 free(h->htable); in hashtab_destroy()
196 h->htable = NULL; in hashtab_destroy()
212 cur = h->htable[i]; in hashtab_map()
240 cur = h->htable[i]; in hashtab_map_remove_on_error()
247 h->htable[i] = cur->next; in hashtab_map_remove_on_error()
275 cur = h->htable[i]; in hashtab_hash_eval()