Lines Matching refs:is_constant
532 bool is_constant(const Expression& expr, double value) { in is_constant() function
778 if (is_constant(*bin->fLeft, 1)) { in simplifyExpression()
790 else if (is_constant(*bin->fLeft, 0)) { in simplifyExpression()
805 else if (is_constant(*bin->fRight, 1)) { in simplifyExpression()
817 else if (is_constant(*bin->fRight, 0)) { in simplifyExpression()
834 if (is_constant(*bin->fLeft, 0)) { in simplifyExpression()
845 } else if (is_constant(*bin->fRight, 0)) { in simplifyExpression()
859 if (is_constant(*bin->fRight, 0)) { in simplifyExpression()
873 if (is_constant(*bin->fRight, 1)) { in simplifyExpression()
884 } else if (is_constant(*bin->fLeft, 0)) { in simplifyExpression()
901 if (is_constant(*bin->fRight, 0)) { in simplifyExpression()
907 if (is_constant(*bin->fRight, 0)) { in simplifyExpression()
913 if (is_constant(*bin->fRight, 1)) { in simplifyExpression()
919 if (is_constant(*bin->fRight, 1)) { in simplifyExpression()