Searched refs:slotVal (Results 1 – 5 of 5) sorted by relevance
55 skstd::optional<double> slotVal = constCtor->getConstantValue(index); in cast_constant_composite() local56 if (scalarType.checkForOutOfRangeLiteral(context, *slotVal, constCtor->fLine)) { in cast_constant_composite()59 *slotVal = 0.0; in cast_constant_composite()61 typecastArgs.push_back(Literal::Make(constCtor->fLine, *slotVal, &scalarType)); in cast_constant_composite()
135 skstd::optional<double> slotVal = baseExpr->getConstantValue(indexValue + slot); in Make() local136 if (slotVal.has_value()) { in Make()137 ctorArgs.push_back(Literal::Make(baseExpr->fLine, *slotVal, &scalarType)); in Make()
823 skstd::optional<double> slotVal = valueExpr->getConstantValue(slot); in checkForOutOfRangeLiteral() local825 if (slotVal.has_value() && in checkForOutOfRangeLiteral()826 baseType.checkForOutOfRangeLiteral(context, *slotVal, valueExpr->fLine)) { in checkForOutOfRangeLiteral()
160 skstd::optional<double> slotVal = expr.getConstantValue(index); in contains_constant_zero() local161 if (slotVal.has_value() && *slotVal == 0.0) { in contains_constant_zero()171 skstd::optional<double> slotVal = expr.getConstantValue(index); in is_constant_value() local172 if (!slotVal.has_value() || *slotVal != value) { in is_constant_value()
1292 skstd::optional<double> slotVal = c.getConstantValue(n); in writeConstantVector() local1293 if (!slotVal.has_value()) { in writeConstantVector()1297 key.fValueId[n] = this->writeLiteral(*slotVal, scalarType); in writeConstantVector()