Lines Matching refs:sep
195 searchstring (struct Ebl_GStrent **sep, struct Ebl_GStrent *newstr) in searchstring() argument
200 if (*sep == NULL) in searchstring()
202 *sep = newstr; in searchstring()
203 return sep; in searchstring()
207 cmpres = memcmp ((*sep)->reverse, newstr->reverse, in searchstring()
208 (MIN ((*sep)->len, newstr->len) - 1) * (*sep)->width); in searchstring()
211 return sep; in searchstring()
213 return searchstring (&(*sep)->left, newstr); in searchstring()
215 return searchstring (&(*sep)->right, newstr); in searchstring()
224 struct Ebl_GStrent **sep; in ebl_gstrtabadd() local
249 sep = searchstring (&st->root, newstr); in ebl_gstrtabadd()
250 if (*sep != newstr) in ebl_gstrtabadd()
253 if ((*sep)->len > newstr->len) in ebl_gstrtabadd()
258 for (subs = (*sep)->next; subs != NULL; subs = subs->next) in ebl_gstrtabadd()
274 newstr->next = (*sep)->next; in ebl_gstrtabadd()
275 (*sep)->next = newstr; in ebl_gstrtabadd()
277 else if ((*sep)->len != newstr->len) in ebl_gstrtabadd()
282 st->total += newstr->len - (*sep)->len; in ebl_gstrtabadd()
283 newstr->next = *sep; in ebl_gstrtabadd()
284 newstr->left = (*sep)->left; in ebl_gstrtabadd()
285 newstr->right = (*sep)->right; in ebl_gstrtabadd()
286 *sep = newstr; in ebl_gstrtabadd()
294 newstr = *sep; in ebl_gstrtabadd()