Lines Matching refs:SkScriptValue2
146 void SkScriptEngine2::addTokenConst(SkScriptValue2* value, AddTokenRegister reg, in addTokenConst()
148 if (value->fIsConstant == SkScriptValue2::kConstant && convertTo(toType, value)) in addTokenConst()
152 value->fIsWritten = SkScriptValue2::kWritten; in addTokenConst()
170 void SkScriptEngine2::addTokenValue(const SkScriptValue2& value, AddTokenRegister reg) { in addTokenValue()
326 bool SkScriptEngine2::convertParams(SkTDArray<SkScriptValue2>* params, in convertParams()
338 bool SkScriptEngine2::convertTo(SkOperand2::OpType toType, SkScriptValue2* value ) { in convertTo()
366 SkScriptValue2& top = fValueStack.top(); in evaluateDotParam()
378 SkTDArray<SkScriptValue2> params; in evaluateDotParam()
387 bool SkScriptEngine2::evaluateScript(const char** scriptPtr, SkScriptValue2* value) { in evaluateScript()
433 bool SkScriptEngine2::functionParams(const char** scriptPtr, SkTDArray<SkScriptValue2>* params) { in functionParams()
438 SkScriptValue2 value; in functionParams()
464 bool SkScriptEngine2::innerScript(const char** scriptPtr, SkScriptValue2* value) { in innerScript()
477 SkScriptValue2 operand; in innerScript()
481 SkScriptValue2 tokenValue; in innerScript()
551 operand.fIsConstant = SkScriptValue2::kConstant; in innerScript()
590 operand.fIsConstant = SkScriptValue2::kConstant; in innerScript()
597 SkScriptValue2 scriptValue; in innerScript()
603 SkScriptValue2 top; in innerScript()
609 top.fIsConstant = SkScriptValue2::kVariable; in innerScript()
634 operand.fIsConstant = SkScriptValue2::kVariable; in innerScript()
704 SkScriptValue2 operand; in innerScript()
708 operand.fIsConstant = SkScriptValue2::kVariable; in innerScript()
730 SkScriptValue2 operand; in innerScript()
733 operand.fIsConstant = SkScriptValue2::kVariable; // !!! ? in innerScript()
744 SkScriptValue2 value1; in innerScript()
764 SkScriptValue2 scriptValue; in handleArrayIndexer()
789 scriptValue.fIsConstant = SkScriptValue2::kVariable; in handleArrayIndexer()
799 SkTDArray<SkScriptValue2> params; in handleFunction()
807 SkScriptValue2 callbackResult; in handleFunction()
811 callbackResult.fIsConstant = SkScriptValue2::kVariable; in handleFunction()
828 SkScriptValue2 callbackResult; in handleMember()
833 callbackResult.fIsConstant = SkScriptValue2::kVariable; in handleMember()
844 SkTDArray<SkScriptValue2>* params) { in handleMemberFunction()
849 SkScriptValue2 callbackResult; in handleMemberFunction()
854 callbackResult.fIsConstant = SkScriptValue2::kVariable; in handleMemberFunction()
869 SkScriptValue2 callbackResult; in handleProperty()
876 callbackResult.fIsConstant = SkScriptValue2::kVariable; in handleProperty()
886 bool SkScriptEngine2::handleUnbox(SkScriptValue2* scriptValue) { in handleUnbox()
976 SkScriptValue2 value; in processLogicalOp()
981 SkScriptValue2 arrayValue; in processLogicalOp()
988 SkScriptValue2 resultValue; in processLogicalOp()
991 resultValue.fIsConstant = SkScriptValue2::kVariable; in processLogicalOp()
1054 SkScriptValue2 value1; in processOp()
1055 memset(&value1, 0, sizeof(SkScriptValue2)); in processOp()
1056 SkScriptValue2 value2; in processOp()
1058 value2.fIsWritten = SkScriptValue2::kUnwritten; in processOp()
1062 bool constantOperands = value2.fIsConstant == SkScriptValue2::kConstant; in processOp()
1065 constantOperands &= value1.fIsConstant == SkScriptValue2::kConstant; in processOp()
1066 value1.fIsWritten = SkScriptValue2::kUnwritten; in processOp()
1137 if (value1.fIsWritten == SkScriptValue2::kUnwritten) in processOp()
1140 if (value2.fIsWritten == SkScriptValue2::kUnwritten) in processOp()
1165 value2.fIsConstant = SkScriptValue2::kVariable; in processOp()
1183 bool SkScriptEngine2::ConvertTo(SkScriptEngine2* engine, SkOperand2::OpType toType, SkScriptValue2*… in ConvertTo()
1243 bool SkScriptEngine2::ValueToString(const SkScriptValue2& value, SkString* string) { in ValueToString()
1484 SkScriptValue2 value; in UnitTest()