Searched refs:cset_rangecmp (Results 1 – 1 of 1) sorted by relevance
/titanic_44/usr/src/cmd/tr/ |
H A D | cset.c | 40 static int cset_rangecmp(struct csnode *, wchar_t); 95 if (cset_rangecmp(csn, ch) == 0) in cset_add() 105 if (cset_rangecmp(csn, ch) < 0) { in cset_add() 157 return (cs->cs_invert ^ (cset_rangecmp(cs->cs_root, ch) == 0)); in cset_in_hard() 211 cset_rangecmp(struct csnode *t, wchar_t ch) in cset_rangecmp() function 235 if (cset_rangecmp(t, ch) < 0) { in cset_splay() 237 cset_rangecmp(t->csn_left, ch) < 0) { in cset_splay() 248 } else if (cset_rangecmp(t, ch) > 0) { in cset_splay() 250 cset_rangecmp(t->csn_right, ch) > 0) { in cset_splay() 278 assert(cset_rangecmp(t, ch) == 0); in cset_delete()
|