Home
last modified time | relevance | path

Searched refs:canCoerceTo (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/src/sksl/
DSkSLOperators.cpp259 return right.canCoerceTo(left, allowNarrowing); in determineBinaryType()
288 return left.canCoerceTo(*context.fTypes.fBool, allowNarrowing) && in determineBinaryType()
289 right.canCoerceTo(*context.fTypes.fBool, allowNarrowing); in determineBinaryType()
/third_party/skia/src/sksl/ir/
DSkSLConstructorArray.cpp37 if (exprType.isArray() && exprType.canCoerceTo(type, /*allowNarrowing=*/true)) { in Convert()
DSkSLType.h324 bool canCoerceTo(const Type& other, bool allowNarrowing) const { in canCoerceTo() function
DSkSLFunctionDeclaration.cpp420 if (arguments[i]->type().canCoerceTo(*types[j], /*allowNarrowing=*/true)) { in determineFinalTypes()
/third_party/flutter/skia/src/sksl/ir/
DSkSLFunctionDeclaration.h81 if (arguments[i]->fType.canCoerceTo(*types[j])) { in determineFinalTypes()
DSkSLType.h307 bool canCoerceTo(const Type& other) const { in canCoerceTo() function
/third_party/flutter/skia/src/sksl/
DSkSLIRGenerator.cpp1316 return right.canCoerceTo(left); in determine_binary_type()
1319 if (right.canCoerceTo(left)) { in determine_binary_type()
1324 } if (left.canCoerceTo(right)) { in determine_binary_type()
1347 return left.canCoerceTo(*context.fBool_Type) && in determine_binary_type()
1348 right.canCoerceTo(*context.fBool_Type); in determine_binary_type()
1354 return right.canCoerceTo(left); in determine_binary_type()
1407 return right.canCoerceTo(left); in determine_binary_type()
1427 right.canCoerceTo(left)) { in determine_binary_type()
1442 if (right.canCoerceTo(left) && isVectorOrMatrix && validMatrixOrVectorOp) { in determine_binary_type()