Lines Matching refs:kS32
20 { SkOperand2::OpType(SkOperand2::kS32 | SkOperand2::kScalar | SkOperand2::kString),
21 …SkOperand2::OpType(SkOperand2::kS32 | SkOperand2::kScalar | SkOperand2::kString), kTowardsString, …
22 { SkOperand2::kS32, SkOperand2::kS32, kNoBias, kResultIsNotBoolean }, // kBitAnd
23 { SkOperand2::kNoType, SkOperand2::kS32, kNoBias, kResultIsNotBoolean }, // kBitNot
24 { SkOperand2::kS32, SkOperand2::kS32, kNoBias, kResultIsNotBoolean }, // kBitOr
25 { SkOperand2::OpType(SkOperand2::kS32 | SkOperand2::kScalar),
26 …SkOperand2::OpType(SkOperand2::kS32 | SkOperand2::kScalar), kNoBias, kResultIsNotBoolean }, // kDi…
27 { SkOperand2::OpType(SkOperand2::kS32 | SkOperand2::kScalar | SkOperand2::kString),
28 … SkOperand2::OpType(SkOperand2::kS32 | SkOperand2::kScalar |SkOperand2:: kString), kTowardsNumber,
30 { SkOperand2::kS32, SkOperand2::kNoType, kNoBias, kResultIsNotBoolean }, // kFlipOps
31 { SkOperand2::OpType(SkOperand2::kS32 | SkOperand2::kScalar | SkOperand2::kString),
32 … SkOperand2::OpType(SkOperand2::kS32 | SkOperand2::kScalar | SkOperand2::kString), kTowardsNumber,
34 { SkOperand2::kNoType, SkOperand2::kS32, kNoBias, kResultIsNotBoolean }, // kLogicalAnd (really,…
35 { SkOperand2::kNoType, SkOperand2::kS32, kNoBias, kResultIsNotBoolean }, // kLogicalNot
36 { SkOperand2::kS32, SkOperand2::kS32, kNoBias, kResultIsNotBoolean }, // kLogicalOr
37 { SkOperand2::kNoType, SkOperand2::OpType(SkOperand2::kS32 | SkOperand2::kScalar), kNoBias, kResult…
38 { SkOperand2::OpType(SkOperand2::kS32 | SkOperand2::kScalar),
39 …SkOperand2::OpType(SkOperand2::kS32 |SkOperand2:: kScalar), kNoBias, kResultIsNotBoolean }, // kMo…
40 { SkOperand2::OpType(SkOperand2::kS32 | SkOperand2::kScalar),
41 …SkOperand2::OpType(SkOperand2::kS32 | SkOperand2::kScalar), kNoBias, kResultIsNotBoolean }, // kMu…
42 { SkOperand2::kS32, SkOperand2::kS32, kNoBias, kResultIsNotBoolean }, // kShiftLeft
43 { SkOperand2::kS32, SkOperand2::kS32, kNoBias, kResultIsNotBoolean }, // kShiftRight
44 { SkOperand2::OpType(SkOperand2::kS32 | SkOperand2::kScalar),
45 …SkOperand2::OpType(SkOperand2::kS32 | SkOperand2::kScalar), kNoBias, kResultIsNotBoolean }, // kSu…
46 { SkOperand2::kS32, SkOperand2::kS32, kNoBias, kResultIsNotBoolean } // kXor
191 case SkOperand2::kS32: in addTokenValue()
195 fAccumulatorType = SkOperand2::kS32; in addTokenValue()
554 operand.fType = SkOperand2::kS32; in innerScript()
777 fReturnType = SkOperand2::kS32; in handleArrayIndexer()
781 success = convertTo(SkOperand2::kS32, &scriptValue); in handleArrayIndexer()
986 …SkASSERT(value.fType == SkOperand2::kS32 || value.fType == SkOperand2::kScalar); // !!! add error … in processLogicalOp()
1037 …SkASSERT(fValueStack.top().fType == SkOperand2::kS32); // !!! add error handling, and conversion t… in processLogicalOp()
1041 SkASSERT(fAccumulatorType == SkOperand2::kS32); in processLogicalOp()
1097 if (value1.fType == SkOperand2::kS32 || value1.fType == SkOperand2::kScalar) { in processOp()
1099 … value1.fType == SkOperand2::kS32 ? kIntToString : kScalarToString); in processOp()
1101 if (value2.fType == SkOperand2::kS32 || value2.fType == SkOperand2::kScalar) { in processOp()
1103 … value2.fType == SkOperand2::kS32 ? kIntToString2 : kScalarToString2); in processOp()
1107 if (value1.fType == SkOperand2::kS32) in processOp()
1109 if (value2.fType == SkOperand2::kS32) in processOp()
1116 if (value1.fType == SkOperand2::kScalar && (attributes->fLeftType == SkOperand2::kS32 || in processOp()
1117 value2.fType == SkOperand2::kS32)) in processOp()
1118 addTokenConst(&value1, kAccumulator, SkOperand2::kS32, kScalarToInt); in processOp()
1126 if (value2.fType == SkOperand2::kScalar && (attributes->fRightType == SkOperand2::kS32 || in processOp()
1127 value1.fType == SkOperand2::kS32)) in processOp()
1128 addTokenConst(&value2, rhRegister, SkOperand2::kS32, kScalarToInt2); in processOp()
1162 value1.fType = SkOperand2::kS32; in processOp()
1201 case SkOperand2::kS32: in ConvertTo()
1210 if (type == SkOperand2::kS32) in ConvertTo()
1221 if (type == SkOperand2::kS32) in ConvertTo()
1255 case SkOperand2::kS32: in ValueToString()
1276 #define testInt(expression) { #expression, SkOperand2::kS32, expression, 0, nullptr }
1279 #define testTrue(expression) { #expression, SkOperand2::kS32, 1, 0, nullptr }
1280 #define testFalse(expression) { #expression, SkOperand2::kS32, 0, 0, nullptr }
1311 { "'123'|\"456\"", SkOperand2::kS32, 123|456, 0, nullptr },
1312 { "123|\"456\"", SkOperand2::kS32, 123|456, 0, nullptr },
1313 { "'123'|456", SkOperand2::kS32, 123|456, 0, nullptr },
1314 { "'2'<11", SkOperand2::kS32, 1, 0, nullptr },
1315 { "2<'11'", SkOperand2::kS32, 1, 0, nullptr },
1316 { "'2'<'11'", SkOperand2::kS32, 0, 0, nullptr },
1486 case SkOperand2::kS32: in UnitTest()