Lines Matching defs:IS_RED
101 #define IS_RED(node) ((node) != NULL && (node)->color == RED)
1753 while (node != root && IS_RED(node->parent)) {
1765 if (child != NULL && IS_RED(child)) {
1783 if (child != NULL && IS_RED(child)) {
1973 if (IS_RED(sibling)) {
2010 if (IS_RED(sibling)) {
2044 if (IS_RED(child)) {
2142 if (IS_RED(node)) {
2149 if (IS_RED(node->left) || IS_RED(node->right)) {
2322 if (root->color == RED && IS_RED(root->left)) {
2328 if (root->color == RED && IS_RED(root->right)) {
2374 if (IS_RED(node)) {