Lines Matching refs:hi

701 	hash_item *hi, *thi;  in hash_clear()  local
704 hi = hash->items[i]; in hash_clear()
705 while (hi) { in hash_clear()
706 thi = hi; in hash_clear()
707 hi = hi->next; in hash_clear()
729 hash_item *hi; in hash_search3() local
731 hi = hash->items[idx % hash->csize]; in hash_search3()
732 while (hi) { in hash_search3()
733 if (strcmp(hi->name, name) == 0) in hash_search3()
734 return &hi->data; in hash_search3()
735 hi = hi->next; in hash_search3()
749 hash_item **newitems, *hi, *thi; in hash_rebuild() local
758 hi = hash->items[i]; in hash_rebuild()
759 while (hi) { in hash_rebuild()
760 thi = hi; in hash_rebuild()
761 hi = thi->next; in hash_rebuild()
776 hash_item *hi; in hash_find() local
781 hi = hash_search3(hash, name, idx); in hash_find()
782 if (!hi) { in hash_find()
787 hi = xzalloc(sizeof(*hi) + l); in hash_find()
788 strcpy(hi->name, name); in hash_find()
791 hi->next = hash->items[idx]; in hash_find()
792 hash->items[idx] = hi; in hash_find()
795 return &hi->data; in hash_find()
805 hash_item *hi, **phi; in hash_remove() local
809 hi = *phi; in hash_remove()
810 if (strcmp(hi->name, name) == 0) { in hash_remove()
813 *phi = hi->next; in hash_remove()
814 free(hi); in hash_remove()
817 phi = &hi->next; in hash_remove()
2163 hash_item *hi; in hashwalk_init() local
2181 hi = array->items[i]; in hashwalk_init()
2182 while (hi) { in hashwalk_init()
2183 w->end = stpcpy(w->end, hi->name) + 1; in hashwalk_init()
2184 hi = hi->next; in hashwalk_init()
3547 hash_item *hi; in awk_exit() local
3548 hi = fdhash->items[i]; in awk_exit()
3549 while (hi) { in awk_exit()
3550 if (hi->data.rs.F && hi->data.rs.is_pipe) in awk_exit()
3551 pclose(hi->data.rs.F); in awk_exit()
3552 hi = hi->next; in awk_exit()