Lines Matching refs:Ebl_Strent
51 struct Ebl_Strent struct
55 struct Ebl_Strent *next; argument
56 struct Ebl_Strent *left; argument
57 struct Ebl_Strent *right; argument
72 struct Ebl_Strent *root; argument
79 struct Ebl_Strent null;
154 static struct Ebl_Strent *
158 size_t align = ((__alignof__ (struct Ebl_Strent) in newstring()
160 & (__alignof__ (struct Ebl_Strent) - 1))) in newstring()
161 & (__alignof__ (struct Ebl_Strent) - 1)); in newstring()
164 if (st->left < align + sizeof (struct Ebl_Strent) + len) in newstring()
166 if (morememory (st, sizeof (struct Ebl_Strent) + len)) in newstring()
173 struct Ebl_Strent *newstr = (struct Ebl_Strent *) (st->backp + align); in newstring()
183 st->backp += align + sizeof (struct Ebl_Strent) + len; in newstring()
184 st->left -= align + sizeof (struct Ebl_Strent) + len; in newstring()
193 static struct Ebl_Strent **
194 searchstring (struct Ebl_Strent **sep, struct Ebl_Strent *newstr) in searchstring()
217 struct Ebl_Strent *
230 struct Ebl_Strent *newstr = newstring (st, str, len); in ebl_strtabadd()
237 struct Ebl_Strent **sep = searchstring (&st->root, newstr); in ebl_strtabadd()
244 for (struct Ebl_Strent *subs = (*sep)->next; subs != NULL; in ebl_strtabadd()
292 copystrings (struct Ebl_Strent *nodep, char **freep, size_t *offsetp) in copystrings()
302 for (struct Ebl_Strent *subs = nodep->next; subs != NULL; subs = subs->next) in copystrings()
346 ebl_strtaboffset (struct Ebl_Strent *se) in ebl_strtaboffset()
353 ebl_string (struct Ebl_Strent *se) in ebl_string()