• Home
  • Raw
  • Download

Lines Matching refs:scriptValue

713                 SkScriptValue scriptValue;  in innerScript()  local
714 SkDEBUGCODE(scriptValue.fOperand.fObject = NULL); in innerScript()
725 fOperandStack.pop(&scriptValue.fOperand); in innerScript()
726 scriptValue.fType = ToDisplayType(topType); in innerScript()
727 handleBox(&scriptValue); in innerScript()
877 SkScriptValue scriptValue; in handleArrayIndexer() local
883 bool success = innerScript(scriptPtr, suppressed == false ? &scriptValue : NULL); in handleArrayIndexer()
888 if (convertTo(SkType_Int, &scriptValue) == false) in handleArrayIndexer()
890 int index = scriptValue.fOperand.fS32; in handleArrayIndexer()
891 SkScriptValue scriptValue; in handleArrayIndexer() local
894 fOperandStack.pop(&scriptValue.fOperand); in handleArrayIndexer()
895 scriptValue.fType = ToDisplayType(type); in handleArrayIndexer()
897 success = handleUnbox(&scriptValue); in handleArrayIndexer()
900 if (ToOpType(scriptValue.fType) != kArray) { in handleArrayIndexer()
905 *fTypeStack.push() = scriptValue.fOperand.fArray->getOpType(); in handleArrayIndexer()
907 if ((unsigned) index >= (unsigned) scriptValue.fOperand.fArray->count()) { in handleArrayIndexer()
911 scriptValue.fOperand = scriptValue.fOperand.fArray->begin()[index]; in handleArrayIndexer()
912 fOperandStack.push(scriptValue.fOperand); in handleArrayIndexer()
918 bool SkScriptEngine::handleBox(SkScriptValue* scriptValue) { in handleBox() argument
923 success = (*callBack->fBoxCallBack)(callBack->fUserStorage, scriptValue); in handleBox()
925 fOperandStack.push(scriptValue->fOperand); in handleBox()
926 *fTypeStack.push() = ToOpType(scriptValue->fType); in handleBox()
1055 bool SkScriptEngine::handleUnbox(SkScriptValue* scriptValue) { in handleUnbox() argument
1060 success = (*callBack->fUnboxCallBack)(callBack->fUserStorage, scriptValue); in handleUnbox()
1062 if (scriptValue->fType == SkType_String) in handleUnbox()
1063 track(scriptValue->fOperand.fString); in handleUnbox()