Lines Matching refs:comp
408 int comp = 0; in _rb_insert() local
415 comp = (*t->t_compare)(elm, node); in _rb_insert()
416 if (comp < 0) in _rb_insert()
418 else if (comp > 0) in _rb_insert()
427 if (comp < 0) in _rb_insert()
448 int comp; in _rb_find() local
452 comp = (*t->t_compare)(key, node); in _rb_find()
453 if (comp < 0) in _rb_find()
455 else if (comp > 0) in _rb_find()
472 int comp; in _rb_nfind() local
476 comp = (*t->t_compare)(key, node); in _rb_nfind()
477 if (comp < 0) { in _rb_nfind()
480 } else if (comp > 0) in _rb_nfind()