Lines Matching refs:sep
216 searchstring (struct Ebl_WStrent **sep, struct Ebl_WStrent *newstr)
221 if (*sep == NULL)
223 *sep = newstr;
224 return sep;
228 cmpres = wmemcmp ((*sep)->reverse, newstr->reverse,
229 MIN ((*sep)->len, newstr->len) - 1);
232 return sep;
234 return searchstring (&(*sep)->left, newstr);
236 return searchstring (&(*sep)->right, newstr);
245 struct Ebl_WStrent **sep;
264 sep = searchstring (&st->root, newstr);
265 if (*sep != newstr)
268 if ((*sep)->len > newstr->len)
273 for (subs = (*sep)->next; subs != NULL; subs = subs->next)
289 newstr->next = (*sep)->next;
290 (*sep)->next = newstr;
292 else if ((*sep)->len != newstr->len)
297 st->total += newstr->len - (*sep)->len;
298 newstr->next = *sep;
299 newstr->left = (*sep)->left;
300 newstr->right = (*sep)->right;
301 *sep = newstr;
309 newstr = *sep;