/external/skia/src/animator/ |
D | SkMemberInfo.cpp | 188 SkScriptValue scriptValue; in setValue() local 189 scriptValue.fType = SkType_Unknown; in setValue() 190 scriptValue.fOperand.fS32 = 0; in setValue() 252 success = engine.evaluateScript(&script, &scriptValue); in setValue() 259 if (scriptValue.fType == SkType_Displayable) { in setValue() 262 maker.findKey(scriptValue.fOperand.fDisplayable, &charPtr); in setValue() 263 scriptValue.fOperand.fString = new SkString(charPtr); in setValue() 264 scriptValue.fType = SkType_String; in setValue() 265 engine.SkScriptEngine::track(scriptValue.fOperand.fString); in setValue() 270 displayable->setReference(this, scriptValue.fOperand.fDisplayable); in setValue() [all …]
|
D | SkAnimatorScript.cpp | 91 bool SkAnimatorScript::Box(void* user, SkScriptValue* scriptValue) { in Box() argument 93 SkDisplayTypes type = scriptValue->fType; in Box() 97 SkDisplayArray* boxedValue = new SkDisplayArray(*scriptValue->fOperand.fArray); in Box() 103 boxedValue->value = !! scriptValue->fOperand.fS32; in Box() 108 boxedValue->value = scriptValue->fOperand.fS32; in Box() 113 boxedValue->value = scriptValue->fOperand.fScalar; in Box() 116 SkDisplayString* boxedValue = new SkDisplayString(*scriptValue->fOperand.fString); in Box() 120 scriptValue->fOperand.fObject = scriptValue->fOperand.fDisplayable; in Box() 121 scriptValue->fType = SkType_Displayable; in Box() 128 scriptValue->fOperand.fObject = displayable; in Box() [all …]
|
D | SkDisplayTypes.cpp | 123 SkScriptValue* scriptValue) { in executeFunction() argument 124 if (scriptValue == nullptr) in executeFunction() 129 scriptValue->fType = SkType_String; in executeFunction() 141 scriptValue->fOperand.fString = new SkString(&value.c_str()[start], end - start); in executeFunction() 143 scriptValue->fOperand.fString = new SkString(value); in executeFunction() 152 bool SkDisplayString::getProperty(int index, SkScriptValue* scriptValue) const { in getProperty() 155 scriptValue->fType = SkType_Int; in getProperty() 156 scriptValue->fOperand.fS32 = (int32_t) value.size(); in getProperty()
|
D | SkScript2.h | 229 SkScriptValue2 scriptValue; in convertToString() local 230 scriptValue.fOperand = *operand; in convertToString() 231 scriptValue.fType = type; in convertToString() 232 convertTo(SkOperand2::kString, &scriptValue); in convertToString() 233 *operand = scriptValue.fOperand; in convertToString() 239 SkOperand2::OpType getUnboxType(SkOperand2 scriptValue); 246 bool handleUnbox(SkScriptValue2* scriptValue);
|
D | SkDisplayApply.cpp | 128 SkScriptValue scriptValue; in applyValues() local 129 scriptValue.fOperand = values[0]; in applyValues() 130 scriptValue.fType = info->getType(); in applyValues() 131 target->setProperty(info->propertyIndex(), scriptValue); in applyValues() 473 SkScriptValue scriptValue; in endSave() local 474 SkDEBUGCODE(bool success = ) target->getProperty(info->propertyIndex(), &scriptValue); in endSave() 476 last[0] = scriptValue.fOperand; in endSave() 477 scriptValue.fOperand = fActive->fSaveRestore[activeIndex][0]; in endSave() 478 target->setProperty(info->propertyIndex(), scriptValue); in endSave() 763 SkScriptValue scriptValue; in save() local [all …]
|
D | SkDrawMatrix.cpp | 214 bool SkDrawMatrix::setProperty(int index, SkScriptValue& scriptValue) { in setProperty() argument 215 SkScalar number = scriptValue.fOperand.fScalar; in setProperty() 219 SkASSERT(scriptValue.fType == SkType_Array); in setProperty() 220 SkASSERT(scriptValue.fOperand.fArray->getType() == SkType_Float); in setProperty() 221 SkASSERT(scriptValue.fOperand.fArray->count() == 2); in setProperty() 223 fMatrix.setTranslateX((*scriptValue.fOperand.fArray)[0].fScalar); in setProperty() 224 fMatrix.setTranslateY((*scriptValue.fOperand.fArray)[1].fScalar); in setProperty()
|
D | SkAnimator.cpp | 320 SkScriptValue scriptValue; in getInt() local 321 bool success = element->getProperty(info->propertyIndex(), &scriptValue); in getInt() 322 if (success && scriptValue.fType == SkType_Int) in getInt() 323 return scriptValue.fOperand.fS32; in getInt() 346 SkScriptValue scriptValue; in getScalar() local 347 bool success = element->getProperty(info->propertyIndex(), &scriptValue); in getScalar() 348 if (success && scriptValue.fType == SkType_Float) in getScalar() 349 return scriptValue.fOperand.fScalar; in getScalar() 574 SkScriptValue scriptValue; in setInt() local 575 scriptValue.fType = SkType_Int; in setInt() [all …]
|
D | SkScript.h | 193 SkScriptValue scriptValue; in convertToString() local 194 scriptValue.fOperand = operand; in convertToString() 195 scriptValue.fType = type; in convertToString() 196 convertTo(SkType_String, &scriptValue); in convertToString() 197 operand = scriptValue.fOperand; in convertToString() 209 bool handleUnbox(SkScriptValue* scriptValue);
|
D | SkScript.cpp | 713 SkScriptValue scriptValue; in innerScript() local 714 SkDEBUGCODE(scriptValue.fOperand.fObject = nullptr); 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 : nullptr); 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 [all …]
|
D | SkScriptTokenizer.cpp | 463 SkOperand2::OpType SkScriptEngine2::getUnboxType(SkOperand2 scriptValue) { in getUnboxType() argument 467 return (*callBack)->getReturnType(0, &scriptValue); in getUnboxType() 772 SkScriptValue2 scriptValue; in handleArrayIndexer() local 778 bool success = innerScript(scriptPtr, &scriptValue); in handleArrayIndexer() 781 success = convertTo(SkOperand2::kS32, &scriptValue); in handleArrayIndexer() 783 int index = scriptValue.fOperand.fS32; in handleArrayIndexer() 784 fValueStack.pop(&scriptValue); in handleArrayIndexer() 785 if (scriptValue.fType == SkOperand2::kObject) { in handleArrayIndexer() 786 success = handleUnbox(&scriptValue); in handleArrayIndexer() 788 SkASSERT(scriptValue.fType == SkOperand2::kArray); in handleArrayIndexer() [all …]
|
D | SkDisplayMath.cpp | 133 SkScriptValue* scriptValue) { in executeFunction() argument 134 if (scriptValue == nullptr) in executeFunction() 213 scriptValue->fOperand.fScalar = scalarResult; in executeFunction() 214 scriptValue->fType = SkType_Float; in executeFunction()
|
D | SkAnimateBase.cpp | 213 SkScriptValue scriptValue; in setTarget() local 214 bool success = engine.evaluateScript(&script, &scriptValue); in setTarget() 215 if (success && scriptValue.fType == SkType_Displayable) in setTarget() 216 fTarget = scriptValue.fOperand.fDrawable; in setTarget()
|
D | SkDrawTextBox.cpp | 65 bool SkDrawTextBox::setProperty(int index, SkScriptValue& scriptValue) in setProperty() argument 67 return this->INHERITED::setProperty(index, scriptValue); in setProperty()
|
D | SkDrawPaint.cpp | 150 SkScriptValue* scriptValue) { in executeFunction() argument 151 if (scriptValue == nullptr) in executeFunction() 160 scriptValue->fType = SkType_Float; in executeFunction() 162 … scriptValue->fOperand.fScalar = paint.measureText(parameters[0].fOperand.fString->c_str(), in executeFunction()
|
D | SkDisplayXMLParser.cpp | 152 SkScriptValue scriptValue; in onAddAttributeLen() local 153 scriptValue.fOperand.fDisplayable = ref; in onAddAttributeLen() 154 scriptValue.fType = ref->getType(); in onAddAttributeLen() 155 displayable->setProperty(info->propertyIndex(), scriptValue); in onAddAttributeLen()
|
D | SkDisplayable.cpp | 512 SkScriptValue scriptValue; in setReference() local 513 scriptValue.fOperand.fDisplayable = displayable; in setReference() 514 scriptValue.fType = displayable->getType(); in setReference() 515 setProperty(info->propertyIndex(), scriptValue); in setReference()
|
D | SkAnimatorScript.h | 61 static bool Unbox(void* , SkScriptValue* scriptValue);
|
D | SkMemberInfo.h | 96 SkScriptValue& scriptValue) const;
|
/external/pdfium/xfa/src/fxfa/src/fm2js/ |
D | xfa_fm2jscontext.cpp | 3221 FXJSE_HVALUE scriptValue = GetSimpleHValue(hThis, args, 0); in Eval() local 3223 HValueToUTF8String(scriptValue, utf8ScriptString); in Eval() 3243 FXJSE_Value_Release(scriptValue); in Eval()
|