Home
last modified time | relevance | path

Searched refs:str_hash (Results 1 – 5 of 5) sorted by relevance

/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_strtab.c77 sp->str_hash = calloc(nbuckets, sizeof (dt_strhash_t *)); in dt_strtab_create()
79 if (sp->str_hash == NULL) in dt_strtab_create()
108 for (hp = sp->str_hash[i]; hp != NULL; hp = hq) { in dt_strtab_destroy()
117 if (sp->str_hash != NULL) in dt_strtab_destroy()
118 free(sp->str_hash); in dt_strtab_destroy()
228 for (hp = sp->str_hash[h]; hp != NULL; hp = hp->str_next) { in dt_strtab_index()
260 hp->str_next = sp->str_hash[h]; in dt_strtab_insert()
273 sp->str_hash[h] = hp; in dt_strtab_insert()
H A Ddt_strtab.h47 dt_strhash_t **str_hash; /* array of hash buckets */ member
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dstrtab.c53 sp->str_hash = xcalloc(STRTAB_HASHSZ * sizeof (strhash_t *)); in strtab_create()
73 for (hp = sp->str_hash[i]; hp != NULL; hp = hq) { in strtab_destroy()
82 free(sp->str_hash); in strtab_destroy()
170 for (hp = sp->str_hash[h]; hp != NULL; hp = hp->str_next) { in strtab_insert()
185 hp->str_next = sp->str_hash[h]; in strtab_insert()
187 sp->str_hash[h] = hp; in strtab_insert()
237 for (hp = sp->str_hash[i]; hp != NULL; hp = hp->str_next) { in strtab_print()
H A Dstrtab.h47 strhash_t **str_hash; /* array of hash buckets */ member
/freebsd/contrib/elftoolchain/elfcopy/
H A Dsymbols.c89 uint32_t str_hash(const char *s);
941 hash = str_hash(name); \ in add_to_symtab()
1197 hash = str_hash(s); in lookup_exact_string()
1205 str_hash(const char *s) in str_hash() function