Home | History | Annotate | Download | only in animator

Lines Matching refs:scriptPtr

419 bool SkScriptEngine::evaluateScript(const char** scriptPtr, SkScriptValue* value) {
421 const char** original = scriptPtr;
425 if (strncmp(*scriptPtr, "#script:", sizeof("#script:") - 1) == 0) {
426 *scriptPtr += sizeof("#script:") - 1;
428 success = innerScript(scriptPtr, value);
432 scriptPtr = &inner;
436 success = innerScript(scriptPtr, value);
439 const char* script = *scriptPtr;
488 bool SkScriptEngine::functionParams(const char** scriptPtr, SkTDArray<SkScriptValue>& params) {
489 (*scriptPtr)++; // skip open paren
495 bool success = innerScript(scriptPtr, suppressed ? NULL : &value);
503 } while ((*scriptPtr)[-1] == ',');
506 (*scriptPtr)++; // advance beyond close paren
518 bool SkScriptEngine::innerScript(const char** scriptPtr, SkScriptValue* value) {
519 const char* script = *scriptPtr;
852 *scriptPtr = script;
876 bool SkScriptEngine::handleArrayIndexer(const char** scriptPtr, bool suppressed) {
878 (*scriptPtr)++;
883 bool success = innerScript(scriptPtr, suppressed == false ? &scriptValue : NULL);
934 bool SkScriptEngine::handleFunction(const char** scriptPtr, bool suppressed) {
939 bool success = functionParams(scriptPtr, params);