Lines Matching refs:SkScriptValue2
154 void SkScriptEngine2::addTokenConst(SkScriptValue2* value, AddTokenRegister reg, in addTokenConst()
156 if (value->fIsConstant == SkScriptValue2::kConstant && convertTo(toType, value)) in addTokenConst()
160 value->fIsWritten = SkScriptValue2::kWritten; in addTokenConst()
178 void SkScriptEngine2::addTokenValue(const SkScriptValue2& value, AddTokenRegister reg) { in addTokenValue()
334 bool SkScriptEngine2::convertParams(SkTDArray<SkScriptValue2>* params, in convertParams()
346 bool SkScriptEngine2::convertTo(SkOperand2::OpType toType, SkScriptValue2* value ) { in convertTo()
374 SkScriptValue2& top = fValueStack.top(); in evaluateDotParam()
386 SkTDArray<SkScriptValue2> params; in evaluateDotParam()
395 bool SkScriptEngine2::evaluateScript(const char** scriptPtr, SkScriptValue2* value) { in evaluateScript()
441 bool SkScriptEngine2::functionParams(const char** scriptPtr, SkTDArray<SkScriptValue2>* params) { in functionParams()
446 SkScriptValue2 value; in functionParams()
472 bool SkScriptEngine2::innerScript(const char** scriptPtr, SkScriptValue2* value) { in innerScript()
485 SkScriptValue2 operand; in innerScript()
489 SkScriptValue2 tokenValue; in innerScript()
560 operand.fIsConstant = SkScriptValue2::kConstant; in innerScript()
599 operand.fIsConstant = SkScriptValue2::kConstant; in innerScript()
610 SkScriptValue2 top; in innerScript()
616 top.fIsConstant = SkScriptValue2::kVariable; in innerScript()
641 operand.fIsConstant = SkScriptValue2::kVariable; in innerScript()
711 SkScriptValue2 operand; in innerScript()
715 operand.fIsConstant = SkScriptValue2::kVariable; in innerScript()
737 SkScriptValue2 operand; in innerScript()
740 operand.fIsConstant = SkScriptValue2::kVariable; // !!! ? in innerScript()
752 SkScriptValue2 value1; in innerScript()
772 SkScriptValue2 scriptValue; in handleArrayIndexer()
797 scriptValue.fIsConstant = SkScriptValue2::kVariable; in handleArrayIndexer()
807 SkTDArray<SkScriptValue2> params; in handleFunction()
815 SkScriptValue2 callbackResult; in handleFunction()
819 callbackResult.fIsConstant = SkScriptValue2::kVariable; in handleFunction()
836 SkScriptValue2 callbackResult; in handleMember()
841 callbackResult.fIsConstant = SkScriptValue2::kVariable; in handleMember()
852 SkTDArray<SkScriptValue2>* params) { in handleMemberFunction()
857 SkScriptValue2 callbackResult; in handleMemberFunction()
862 callbackResult.fIsConstant = SkScriptValue2::kVariable; in handleMemberFunction()
877 SkScriptValue2 callbackResult; in handleProperty()
884 callbackResult.fIsConstant = SkScriptValue2::kVariable; in handleProperty()
894 bool SkScriptEngine2::handleUnbox(SkScriptValue2* scriptValue) { in handleUnbox()
984 SkScriptValue2 value; in processLogicalOp()
989 SkScriptValue2 arrayValue; in processLogicalOp()
996 SkScriptValue2 resultValue; in processLogicalOp()
999 resultValue.fIsConstant = SkScriptValue2::kVariable; in processLogicalOp()
1063 SkScriptValue2 value1; in processOp()
1064 memset(&value1, 0, sizeof(SkScriptValue2)); in processOp()
1065 SkScriptValue2 value2; in processOp()
1067 value2.fIsWritten = SkScriptValue2::kUnwritten; in processOp()
1071 bool constantOperands = value2.fIsConstant == SkScriptValue2::kConstant; in processOp()
1074 constantOperands &= value1.fIsConstant == SkScriptValue2::kConstant; in processOp()
1075 value1.fIsWritten = SkScriptValue2::kUnwritten; in processOp()
1146 if (value1.fIsWritten == SkScriptValue2::kUnwritten) in processOp()
1149 if (value2.fIsWritten == SkScriptValue2::kUnwritten) in processOp()
1175 value2.fIsConstant = SkScriptValue2::kVariable; in processOp()
1193 bool SkScriptEngine2::ConvertTo(SkScriptEngine2* engine, SkOperand2::OpType toType, SkScriptValue2*… in ConvertTo()
1253 bool SkScriptEngine2::ValueToString(const SkScriptValue2& value, SkString* string) { in ValueToString()
1479 SkScriptValue2 value; in UnitTest()