Home | History | Annotate | Download | only in animator

Lines Matching refs:Op

129     *fOpStack.push() = (Op) kParen;
139 void SkScriptEngine2::addToken(SkScriptEngine2::TypeOp op) {
150 unsigned char charOp = (unsigned char) op;
155 SkOperand2::OpType toType, SkScriptEngine2::TypeOp op) {
159 addToken(op);
221 Op op = kUnassigned;
231 op = kAdd;
234 op = lastPush ? kSubtract : kMinus;
237 op = kMultiply;
240 op = kDivide;
244 op = kShiftRight;
247 op = kGreaterEqual;
254 op = kShiftLeft;
257 op = kGreaterEqual;
264 op = kEqual;
270 op = kEqual;
276 op = kLogicalNot;
279 op =(Op) kIf;
282 op = (Op) kElse;
285 op = kXor;
288 *fOpStack.push() = (Op) kParen;
292 op = kBitAnd;
296 op = kBitOr;
299 op = kModulo;
302 op = kBitNot;
305 if (op == kUnassigned)
307 signed char precedence = gPrecedence[op];
310 Op compare;
320 gOpAttributes[op].fLeftType == SkOperand2::kNoType)) {
326 *fOpStack.push() = (Op) (kLogicalNot | kArtificialOp);
327 fOpStack.push(op);
329 *fOpStack.push() = (Op) (kFlipOps | kArtificialOp);
443 *fOpStack.push() = (Op) kParen;
701 Op branchOp = branch.fOperator;
774 *fOpStack.push() = (Op) kParen;
913 // an open paren is always the first thing in the op stack
917 Op op;
921 op = (Op) kParen;
924 op = (Op) kArrayOp;
927 op = (Op) kIf;
930 op = (Op) kElse;
935 op = kLogicalAnd;
941 op = kLogicalOr;
948 precedence = gPrecedence[op];
955 Op branchOp = branch.fOperator;
972 processLogicalOp(op);
976 void SkScriptEngine2::processLogicalOp(Op op) {
977 switch (op) {
980 SkASSERT(fOpStack.count() > 1 && fOpStack.top() == op); // !!! add error handling
981 if (op == kParen)
1010 Branch branch(op, fOpStack.count(), getTokenOffset());
1023 branch.fOperator = op;
1045 addToken(op == kLogicalAnd ? kLogicalAndInt : kLogicalOrInt);
1046 Branch branch(op, fOpStack.count(), getTokenOffset());
1059 Op op;
1060 fOpStack.pop(&op);
1061 op = (Op) (op & ~kArtificialOp);
1062 const OperatorAttributes* attributes = &gOpAttributes[op];
1076 if (op == kFlipOps) {
1078 fOpStack.pop(&op);
1079 op = (Op) (op & ~kArtificialOp);
1080 attributes = &gOpAttributes[op];
1130 TypeOp typeOp = gTokens[op];