Lines Matching refs:Dwelf_Strent
46 struct Dwelf_Strent struct
50 struct Dwelf_Strent *next; argument
51 struct Dwelf_Strent *left; argument
52 struct Dwelf_Strent *right; argument
67 struct Dwelf_Strent *root; argument
74 struct Dwelf_Strent null;
149 static Dwelf_Strent *
153 size_t align = ((__alignof__ (struct Dwelf_Strent) in newstring()
155 & (__alignof__ (struct Dwelf_Strent) - 1))) in newstring()
156 & (__alignof__ (struct Dwelf_Strent) - 1)); in newstring()
159 if (st->left < align + sizeof (struct Dwelf_Strent) + len) in newstring()
161 if (morememory (st, sizeof (struct Dwelf_Strent) + len)) in newstring()
168 Dwelf_Strent *newstr = (Dwelf_Strent *) (st->backp + align); in newstring()
178 st->backp += align + sizeof (struct Dwelf_Strent) + len; in newstring()
179 st->left -= align + sizeof (struct Dwelf_Strent) + len; in newstring()
188 static Dwelf_Strent **
189 searchstring (Dwelf_Strent **sep, Dwelf_Strent *newstr) in searchstring()
212 static Dwelf_Strent *
221 Dwelf_Strent *newstr = newstring (st, str, len); in strtab_add()
228 Dwelf_Strent **sep = searchstring (&st->root, newstr); in strtab_add()
235 for (Dwelf_Strent *subs = (*sep)->next; subs != NULL; in strtab_add()
281 Dwelf_Strent *
287 Dwelf_Strent *
294 copystrings (Dwelf_Strent *nodep, char **freep, size_t *offsetp) in copystrings()
304 for (Dwelf_Strent *subs = nodep->next; subs != NULL; subs = subs->next) in copystrings()
350 dwelf_strent_off (Dwelf_Strent *se) in dwelf_strent_off()
357 dwelf_strent_str (Dwelf_Strent *se) in dwelf_strent_str()