Home | History | Annotate | Download | only in cvt

Lines Matching refs:hp

73 	strhash_t *hp, *hq;
77 for (hp = sp->str_hash[i]; hp != NULL; hp = hq) {
78 hq = hp->str_next;
79 free(hp);
111 strtab_compare(strtab_t *sp, strhash_t *hp, const char *str, size_t len)
113 ulong_t b = hp->str_buf;
114 const char *buf = hp->str_data;
161 strhash_t *hp;
174 for (hp = sp->str_hash[h]; hp != NULL; hp = hp->str_next) {
175 if (strtab_compare(sp, hp, str, len + 1) == 0)
176 return (hp->str_off);
183 hp = xmalloc(sizeof (strhash_t));
185 hp->str_data = sp->str_ptr;
186 hp->str_buf = sp->str_nbufs - 1;
187 hp->str_off = sp->str_size;
188 hp->str_len = len;
189 hp->str_next = sp->str_hash[h];
191 sp->str_hash[h] = hp;
201 return (hp->str_off);
237 const strhash_t *hp;
241 for (hp = sp->str_hash[i]; hp != NULL; hp = hp->str_next) {
242 const char *buf = hp->str_data;
243 ulong_t b = hp->str_buf;
246 (void) printf("[%lu] %lu \"", (ulong_t)hp->str_off, b);
248 for (len = hp->str_len; len != 0; len -= n) {