Searched refs:is_red (Results 1 – 1 of 1) sorted by relevance
551 #define is_red(f) ((f) && !(f)->color) macro558 if (is_red(f->child[0]) && is_red(f->child[1])) { in balance_tree()563 if (!is_red(f->child[0]) && is_red(f->child[1])) in balance_tree()565 else if (is_red(f->child[0]) && is_red(f->child[0]->child[0])) in balance_tree()