Searched refs:valueExpr (Results 1 – 3 of 3) sorted by relevance
58 const std::unique_ptr<Expression>& valueExpr = sc->value(); in find_duplicate_case_values() local61 if (!valueExpr) { in find_duplicate_case_values()73 SkAssertResult(ConstantFolder::GetConstantInt(*valueExpr, &intValue)); in find_duplicate_case_values()
818 const Expression* valueExpr = ConstantFolder::GetConstantValueForVariable(expr); in checkForOutOfRangeLiteral() local819 if (valueExpr->supportsConstantValues()) { in checkForOutOfRangeLiteral()821 int numSlots = valueExpr->type().slotCount(); in checkForOutOfRangeLiteral()823 skstd::optional<double> slotVal = valueExpr->getConstantValue(slot); in checkForOutOfRangeLiteral()826 baseType.checkForOutOfRangeLiteral(context, *slotVal, valueExpr->fLine)) { in checkForOutOfRangeLiteral()
760 …const std::string valueExpr = (aliased ? "ivec4(3*(ndx % nonAliasedSize) ^ 127, 0, 0, 0)" : "ive… in initProgramsDrawWithUBO() local793 << " ok = ok && (ubo.data[ndx] == " + valueExpr + ");\n"; in initProgramsDrawWithUBO()799 << " ok = ok && (ubo.data[ndx] == " << valueExpr << ");\n"; in initProgramsDrawWithUBO()802 src << " ok = ok && (ubo.data[ndx] == " << valueExpr << ");\n"; in initProgramsDrawWithUBO()