Lines Matching refs:Dwelf_Strent
45 struct Dwelf_Strent struct
49 struct Dwelf_Strent *next; argument
50 struct Dwelf_Strent *left; argument
51 struct Dwelf_Strent *right; argument
66 struct Dwelf_Strent *root; argument
73 struct Dwelf_Strent null;
147 static Dwelf_Strent *
151 size_t align = ((__alignof__ (struct Dwelf_Strent) in newstring()
153 & (__alignof__ (struct Dwelf_Strent) - 1))) in newstring()
154 & (__alignof__ (struct Dwelf_Strent) - 1)); in newstring()
157 if (st->left < align + sizeof (struct Dwelf_Strent) + len) in newstring()
159 if (morememory (st, sizeof (struct Dwelf_Strent) + len)) in newstring()
166 Dwelf_Strent *newstr = (Dwelf_Strent *) (st->backp + align); in newstring()
176 st->backp += align + sizeof (struct Dwelf_Strent) + len; in newstring()
177 st->left -= align + sizeof (struct Dwelf_Strent) + len; in newstring()
186 static Dwelf_Strent **
187 searchstring (Dwelf_Strent **sep, Dwelf_Strent *newstr) in searchstring()
210 static Dwelf_Strent *
219 Dwelf_Strent *newstr = newstring (st, str, len); in strtab_add()
226 Dwelf_Strent **sep = searchstring (&st->root, newstr); in strtab_add()
233 for (Dwelf_Strent *subs = (*sep)->next; subs != NULL; in strtab_add()
279 Dwelf_Strent *
285 Dwelf_Strent *
292 copystrings (Dwelf_Strent *nodep, char **freep, size_t *offsetp) in copystrings()
302 for (Dwelf_Strent *subs = nodep->next; subs != NULL; subs = subs->next) in copystrings()
348 dwelf_strent_off (Dwelf_Strent *se) in dwelf_strent_off()
355 dwelf_strent_str (Dwelf_Strent *se) in dwelf_strent_str()