Searched refs:rb_color (Results 1 – 5 of 5) sorted by relevance
125 #define rb_color(r) ((r)->rb_parent_color & 1) macro126 #define rb_is_red(r) (!rb_color(r))127 #define rb_is_black(r) rb_color(r)
171 rb_set_color(other, rb_color(parent)); in __rb_erase_color()208 rb_set_color(other, rb_color(parent)); in __rb_erase_color()240 color = rb_color(node); in rb_erase()270 color = rb_color(node); in rb_erase()
62 typedef enum red_black_color {red, black} rb_color; typedef67 rb_color color; /* the color of the node */82 extern rb_node *rbnode_construct(datatype object, rb_color color);
35 rb_node *rbnode_construct(datatype object, rb_color color) in rbnode_construct()520 rb_color succ_color = succ_node->color; in rbtree_remove_at()
82 #define rb_color(rb) __rb_color((rb)->__rb_parent_color) macro88 rb->__rb_parent_color = rb_color(rb) | (unsigned long)p; in rb_set_parent()