Lines Matching refs:SkScriptEngine2
64 SkScriptEngine2::TypeOp op;
70 switch ((op = (SkScriptEngine2::TypeOp) *opCode++)) {
71 case SkScriptEngine2::kArrayToken: // create an array
74 case SkScriptEngine2::kArrayIndex: // array accessor
82 case SkScriptEngine2::kArrayParam: // array initializer, or function param
85 case SkScriptEngine2::kCallback:
90 case SkScriptEngine2::kFunctionCall: {
100 case SkScriptEngine2::kMemberOp: {
109 case SkScriptEngine2::kPropertyOp: {
118 case SkScriptEngine2::kAccumulatorPop:
121 case SkScriptEngine2::kAccumulatorPush:
124 case SkScriptEngine2::kIntegerAccumulator:
125 case SkScriptEngine2::kIntegerOperand:
126 registerLoad = op - SkScriptEngine2::kIntegerAccumulator;
130 case SkScriptEngine2::kScalarAccumulator:
131 case SkScriptEngine2::kScalarOperand:
132 registerLoad = op - SkScriptEngine2::kScalarAccumulator;
136 case SkScriptEngine2::kStringAccumulator:
137 case SkScriptEngine2::kStringOperand: {
140 registerLoad = op - SkScriptEngine2::kStringAccumulator;
147 case SkScriptEngine2::kStringTrack: // call after kObjectToValue
150 case SkScriptEngine2::kBoxToken: {
158 case SkScriptEngine2::kUnboxToken:
159 case SkScriptEngine2::kUnboxToken2: {
164 case SkScriptEngine2::kIfOp:
165 case SkScriptEngine2::kLogicalAndInt:
171 case SkScriptEngine2::kElseOp:
176 case SkScriptEngine2::kLogicalOrInt:
183 case SkScriptEngine2::kFlipOpsOp:
186 case SkScriptEngine2::kIntToString:
187 case SkScriptEngine2::kIntToString2:
188 case SkScriptEngine2::kScalarToString:
189 case SkScriptEngine2::kScalarToString2:{
192 if (op == SkScriptEngine2::kIntToString || op == SkScriptEngine2::kIntToString2)
193 strPtr->appendS32(operand[op - SkScriptEngine2::kIntToString].fS32);
195 strPtr->appendScalar(operand[op - SkScriptEngine2::kScalarToString].fScalar);
198 case SkScriptEngine2::kIntToScalar:
199 case SkScriptEngine2::kIntToScalar2:
200 operand[0].fScalar = SkScriptEngine2::IntToScalar(operand[op - SkScriptEngine2::kIntToScalar].fS32);
202 case SkScriptEngine2::kStringToInt:
206 case SkScriptEngine2::kStringToScalar:
207 case SkScriptEngine2::kStringToScalar2:
209 &operand[op - SkScriptEngine2::kStringToScalar].fScalar) == false)
212 case SkScriptEngine2::kScalarToInt:
216 case SkScriptEngine2::kAddInt:
219 case SkScriptEngine2::kAddScalar:
222 case SkScriptEngine2::kAddString:
229 case SkScriptEngine2::kBitAndInt:
232 case SkScriptEngine2::kBitNotInt:
235 case SkScriptEngine2::kBitOrInt:
238 case SkScriptEngine2::kDivideInt:
247 case SkScriptEngine2::kDivideScalar:
254 case SkScriptEngine2::kEqualInt:
257 case SkScriptEngine2::kEqualScalar:
260 case SkScriptEngine2::kEqualString:
263 case SkScriptEngine2::kGreaterEqualInt:
266 case SkScriptEngine2::kGreaterEqualScalar:
269 case SkScriptEngine2::kGreaterEqualString:
272 case SkScriptEngine2::kToBool:
275 case SkScriptEngine2::kLogicalNotInt:
278 case SkScriptEngine2::kMinusInt:
281 case SkScriptEngine2::kMinusScalar:
284 case SkScriptEngine2::kModuloInt:
287 case SkScriptEngine2::kModuloScalar:
290 case SkScriptEngine2::kMultiplyInt:
293 case SkScriptEngine2::kMultiplyScalar:
296 case SkScriptEngine2::kShiftLeftInt:
299 case SkScriptEngine2::kShiftRightInt:
302 case SkScriptEngine2::kSubtractInt:
305 case SkScriptEngine2::kSubtractScalar:
308 case SkScriptEngine2::kXorInt:
311 case SkScriptEngine2::kEnd:
313 case SkScriptEngine2::kNop: