Home | History | Annotate | Download | only in animator

Lines Matching refs:scriptPtr

395 bool SkScriptEngine2::evaluateScript(const char** scriptPtr, SkScriptValue2* value) {
399 if (strncmp(*scriptPtr, "#script:", sizeof("#script:") - 1) == 0) {
400 *scriptPtr += sizeof("#script:") - 1;
402 success = innerScript(scriptPtr, value);
405 scriptPtr = &inner;
408 success = innerScript(scriptPtr, value);
409 const char* script = *scriptPtr;
441 bool SkScriptEngine2::functionParams(const char** scriptPtr, SkTDArray<SkScriptValue2>* params) {
442 (*scriptPtr)++; // skip open paren
447 bool success = innerScript(scriptPtr, &value);
452 } while ((*scriptPtr)[-1] == ',');
455 (*scriptPtr)++; // advance beyond close paren
472 bool SkScriptEngine2::innerScript(const char** scriptPtr, SkScriptValue2* value) {
473 const char* script = *scriptPtr;
767 *scriptPtr = script;
771 bool SkScriptEngine2::handleArrayIndexer(const char** scriptPtr) {
773 (*scriptPtr)++;
778 bool success = innerScript(scriptPtr, &scriptValue);
803 bool SkScriptEngine2::handleFunction(const char** scriptPtr) {
808 bool success = functionParams(scriptPtr, &params);
1486 const char* scriptPtr = script;
1487 SkASSERT(engine.evaluateScript(&scriptPtr, &value) == true);