Lines Matching refs:hp
103 register struct Hash_Entry **hp; in Hash_InitTable() local
117 t->bucketPtr = hp = (struct Hash_Entry **)emalloc(sizeof(*hp) * i); in Hash_InitTable()
119 *hp++ = NULL; in Hash_InitTable()
143 register struct Hash_Entry **hp, *h, *nexth = NULL; in Hash_DeleteTable() local
146 for (hp = t->bucketPtr, i = t->size; --i >= 0;) { in Hash_DeleteTable()
147 for (h = *hp++; h != NULL; h = nexth) { in Hash_DeleteTable()
227 struct Hash_Entry **hp; in Hash_CreateEntry() local
253 hp = &t->bucketPtr[h & t->mask]; in Hash_CreateEntry()
254 e->next = *hp; in Hash_CreateEntry()
255 *hp = e; in Hash_CreateEntry()
286 register Hash_Entry **hp, *p; in Hash_DeleteEntry() local
290 for (hp = &t->bucketPtr[e->namehash & t->mask]; in Hash_DeleteEntry()
291 (p = *hp) != NULL; hp = &p->next) { in Hash_DeleteEntry()
293 *hp = p->next; in Hash_DeleteEntry()
401 register Hash_Entry *e, *next = NULL, **hp, **xp; in RebuildTable() local
411 t->bucketPtr = hp = (struct Hash_Entry **) emalloc(sizeof(*hp) * i); in RebuildTable()
413 *hp++ = NULL; in RebuildTable()
414 for (hp = oldhp, i = oldsize; --i >= 0;) { in RebuildTable()
415 for (e = *hp++; e != NULL; e = next) { in RebuildTable()