Home
last modified time | relevance | path

Searched refs:SkScriptValue2 (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/animator/
DSkScript2.h34 bool convertTo(SkOperand2::OpType , SkScriptValue2* );
35 bool evaluateScript(const char** script, SkScriptValue2* value);
46 static bool ConvertTo(SkScriptEngine2* , SkOperand2::OpType toType, SkScriptValue2* value);
48 static bool ValueToString(const SkScriptValue2& value, SkString* string);
211 void addTokenConst(SkScriptValue2* , AddTokenRegister , SkOperand2::OpType , TypeOp );
215 void addTokenValue(const SkScriptValue2& , AddTokenRegister );
217 bool convertParams(SkTDArray<SkScriptValue2>* ,
220 SkScriptValue2 scriptValue; in convertToString()
228 bool functionParams(const char** scriptPtr, SkTDArray<SkScriptValue2>* params);
235 SkTDArray<SkScriptValue2>* params);
[all …]
DSkScriptTokenizer.cpp146 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()
[all …]
DSkScriptCallBack.h18 virtual bool getReference(const char* , size_t len, SkScriptValue2* result) { return false; } in getReference()
38 bool getMemberReference(const char* , size_t len, void* object, SkScriptValue2* ref);
45 bool getMemberReference(const char* , size_t len, void* object, SkScriptValue2* ref);
DSkOperand2.h26 struct SkScriptValue2 { struct
DSkAnimatorScript2.cpp137 SkScriptValue2 value; in invoke()
191 bool getMemberReference(const char* member, size_t len, void* object, SkScriptValue2* ref) { in getMemberReference()
227 bool getMemberReference(const char* member, size_t len, void* object, SkScriptValue2* ref) { in getMemberReference()
588 SkScriptValue2 value; in UnitTest()