Home
last modified time | relevance | path

Searched refs:sthash (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/cmd/sgs/tools/common/
H A Dstring_table.c308 Str_hash *sthash, *psthash; in st_destroy() local
326 for (sthash = stp->st_hashbcks[i], psthash = 0; in st_destroy()
327 sthash; sthash = sthash->hi_next) { in st_destroy()
330 psthash = sthash; in st_destroy()
353 Str_hash *sthash; in st_setstring() local
397 for (sthash = stp->st_hashbcks[hashval % stp->st_hbckcnt]; sthash; in st_setstring()
398 sthash = sthash->hi_next) { in st_setstring()
401 if (sthash->hi_hashval != hashval) in st_setstring()
404 hstr = &sthash->hi_mstr->sm_str[sthash->hi_mstr->sm_strlen - in st_setstring()
405 sthash->hi_strlen]; in st_setstring()
[all …]
H A Dsgsmsg.c332 Str_hash *sthash = stp->st_hashbcks[cnt]; in dump_stringtab() local
334 if (sthash == 0) in dump_stringtab()
339 while (sthash) { in dump_stringtab()
340 size_t stroff = sthash->hi_mstr->sm_strlen - in dump_stringtab()
341 sthash->hi_strlen; in dump_stringtab()
345 sthash->hi_refcnt, sthash->hi_mstr->sm_str); in dump_stringtab()
348 "'%s'>\n", sthash->hi_refcnt, in dump_stringtab()
349 &sthash->hi_mstr->sm_str[stroff], in dump_stringtab()
350 sthash->hi_mstr->sm_str); in dump_stringtab()
352 sthash = sthash->hi_next; in dump_stringtab()