Lines Matching refs:top
139 while (fBranchStack.top().fDone == Branch::kIsDone)
366 SkScriptValue2& top = fValueStack.top();
367 if (top.fType != SkOperand2::kObject)
369 void* object = top.fOperand.fObject;
480 if (fBraceStack.top() == kArrayBrace) {
603 SkScriptValue2 top;
604 fValueStack.pop(&top);
606 addTokenInt(top.fType);
608 top.fType = SkOperand2::kObject;
609 top.fIsConstant = SkScriptValue2::kVariable;
611 fValueStack.push(top);
657 BraceStyle braceStyle = fBraceStack.top();
695 SkOperand2::OpType lastType = fValueStack.top().fType;
696 addTokenValue(fValueStack.top(), kAccumulator);
715 while (fBranchStack.top().fDone == Branch::kIsDone)
721 SkOperand2::OpType topType = fValueStack.count() > 0 ? fValueStack.top().fType : SkOperand2::kNoType;
724 SkString* string = fValueStack.top().fOperand.fString;
757 // if (fBranchStack.top().fOpStackDepth > fOpStack.count())
944 while (gPrecedence[fOpStack.top() & ~kArtificialOp] < precedence)
950 addTokenValue(fValueStack.top(), kAccumulator);
962 while (fBranchStack.top().fDone == Branch::kIsDone)
972 SkASSERT(fOpStack.count() > 1 && fOpStack.top() == op); // !!! add error handling
997 addTokenValue(fValueStack.top(), kAccumulator);
1008 addTokenValue(fValueStack.top(), kAccumulator);
1013 Branch& branch = fBranchStack.top();
1023 Branch& oldTop = fBranchStack.top();
1029 SkASSERT(fValueStack.top().fType == SkOperand2::kS32); // !!! add error handling, and conversion to int?
1030 addTokenValue(fValueStack.top(), kAccumulator);