Lines Matching defs:sep
194 searchstring (struct Ebl_Strent **sep, struct Ebl_Strent *newstr)
197 if (*sep == NULL)
199 *sep = newstr;
200 return sep;
204 int cmpres = memcmp ((*sep)->reverse, newstr->reverse,
205 MIN ((*sep)->len, newstr->len) - 1);
208 return sep;
210 return searchstring (&(*sep)->left, newstr);
212 return searchstring (&(*sep)->right, newstr);
237 struct Ebl_Strent **sep = searchstring (&st->root, newstr);
238 if (*sep != newstr)
241 if ((*sep)->len > newstr->len)
244 for (struct Ebl_Strent *subs = (*sep)->next; subs != NULL;
261 newstr->next = (*sep)->next;
262 (*sep)->next = newstr;
264 else if ((*sep)->len != newstr->len)
269 st->total += newstr->len - (*sep)->len;
270 newstr->next = *sep;
271 newstr->left = (*sep)->left;
272 newstr->right = (*sep)->right;
273 *sep = newstr;
281 newstr = *sep;