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