Lines Matching refs:IsRed
740 if (IsRed(parent)) {
749 } else if (IsRed(curr->fChild[0]) && IsRed(curr->fChild[1])) {
754 if (IsRed(parent)) {
898 if (!IsRed(curr) && !IsRed(curr->fChild[dir])) {
899 if (IsRed(curr->fChild[!dir])) {
905 if (!IsRed(s->fChild[!last]) && !IsRed(s->fChild[last])) {
913 if (IsRed(s->fChild[last])) {
915 } else if (IsRed(s->fChild[!last])) {
985 static bool IsRed(const ActiveEdge* node) {
1017 if (IsRed(tree) && (IsRed(left) || IsRed(right))) {
1048 return IsRed(tree) ? leftCount : leftCount + 1;