Home
last modified time | relevance | path

Searched refs:scriptPtr (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/animator/
DSkScriptTokenizer.cpp395 bool SkScriptEngine2::evaluateScript(const char** scriptPtr, SkScriptValue2* value) { in evaluateScript() argument
399 if (strncmp(*scriptPtr, "#script:", sizeof("#script:") - 1) == 0) { in evaluateScript()
400 *scriptPtr += sizeof("#script:") - 1; in evaluateScript()
402 success = innerScript(scriptPtr, value); in evaluateScript()
405 scriptPtr = &inner; in evaluateScript()
408 success = innerScript(scriptPtr, value); in evaluateScript()
409 const char* script = *scriptPtr; in evaluateScript()
441 bool SkScriptEngine2::functionParams(const char** scriptPtr, SkTDArray<SkScriptValue2>* params) { in functionParams() argument
442 (*scriptPtr)++; // skip open paren in functionParams()
447 bool success = innerScript(scriptPtr, &value); in functionParams()
[all …]
DSkScript2.h236 bool functionParams(const char** scriptPtr, SkTDArray<SkScriptValue2>* params);
239 bool handleArrayIndexer(const char** scriptPtr);
240 bool handleFunction(const char** scriptPtr);
246 bool innerScript(const char** scriptPtr, SkScriptValue2* value);
DSkScript.cpp419 bool SkScriptEngine::evaluateScript(const char** scriptPtr, SkScriptValue* value) { in evaluateScript() argument
421 const char** original = scriptPtr; in evaluateScript()
425 if (strncmp(*scriptPtr, "#script:", sizeof("#script:") - 1) == 0) { in evaluateScript()
426 *scriptPtr += sizeof("#script:") - 1; in evaluateScript()
428 success = innerScript(scriptPtr, value); in evaluateScript()
432 scriptPtr = &inner; in evaluateScript()
436 success = innerScript(scriptPtr, value); in evaluateScript()
439 const char* script = *scriptPtr; in evaluateScript()
488 bool SkScriptEngine::functionParams(const char** scriptPtr, SkTDArray<SkScriptValue>& params) { in functionParams() argument
489 (*scriptPtr)++; // skip open paren in functionParams()
[all …]
DSkScript.h203 bool functionParams(const char** scriptPtr, SkTDArray<SkScriptValue>& params);
204 bool handleArrayIndexer(const char** scriptPtr, bool suppressed);
206 bool handleFunction(const char** scriptPtr, bool suppressed);
212 bool innerScript(const char** scriptPtr, SkScriptValue* value);