Lines Matching refs:IsRed
710 if (IsRed(parent)) {
719 } else if (IsRed(curr->fChild[0]) && IsRed(curr->fChild[1])) {
724 if (IsRed(parent)) {
868 if (!IsRed(curr) && !IsRed(curr->fChild[dir])) {
869 if (IsRed(curr->fChild[!dir])) {
875 if (!IsRed(s->fChild[!last]) && !IsRed(s->fChild[last])) {
883 if (IsRed(s->fChild[last])) {
885 } else if (IsRed(s->fChild[!last])) {
955 static bool IsRed(const ActiveEdge* node) {
987 if (IsRed(tree) && (IsRed(left) || IsRed(right))) {
1018 return IsRed(tree) ? leftCount : leftCount + 1;