Searched defs:scriptValue (Results 1 - 25 of 39) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/bindings/v8/
H A DScriptObject.cpp53 ScriptObject::ScriptObject(ScriptState* scriptState, const ScriptValue& scriptValue) argument
54 : ScriptValue(scriptValue)
H A DIDBBindingUtilities.cpp300 bool canInjectIDBKeyIntoScriptValue(DOMRequestState* state, const ScriptValue& scriptValue, const IDBKeyPath& keyPath) argument
312 v8::Handle<v8::Value> v8Value(scriptValue.v8Value());
325 PassRefPtr<IDBKey> scriptValueToIDBKey(DOMRequestState* state, const ScriptValue& scriptValue) argument
330 v8::Handle<v8::Value> v8Value(scriptValue.v8Value());
/external/chromium_org/third_party/skia/src/animator/
H A DSkDrawTextBox.cpp65 bool SkDrawTextBox::setProperty(int index, SkScriptValue& scriptValue) argument
67 return this->INHERITED::setProperty(index, scriptValue);
H A DSkDisplayMath.cpp144 SkScriptValue* scriptValue) {
145 if (scriptValue == NULL)
224 scriptValue->fOperand.fScalar = scalarResult;
225 scriptValue->fType = SkType_Float;
142 executeFunction(SkDisplayable* target, int index, SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type, SkScriptValue* scriptValue) argument
H A DSkAnimateBase.cpp211 SkScriptValue scriptValue; local
212 bool success = engine.evaluateScript(&script, &scriptValue);
213 if (success && scriptValue.fType == SkType_Displayable)
214 fTarget = scriptValue.fOperand.fDrawable;
H A DSkDisplayTypes.cpp123 SkScriptValue* scriptValue) {
124 if (scriptValue == NULL)
129 scriptValue->fType = SkType_String;
141 scriptValue->fOperand.fString = new SkString(&value.c_str()[start], end - start);
143 scriptValue->fOperand.fString = new SkString(value);
152 bool SkDisplayString::getProperty(int index, SkScriptValue* scriptValue) const {
155 scriptValue->fType = SkType_Int;
156 scriptValue->fOperand.fS32 = (int32_t) value.size();
121 executeFunction(SkDisplayable* target, int index, SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type, SkScriptValue* scriptValue) argument
H A DSkDrawMatrix.cpp214 bool SkDrawMatrix::setProperty(int index, SkScriptValue& scriptValue) { argument
215 SkScalar number = scriptValue.fOperand.fScalar;
219 SkASSERT(scriptValue.fType == SkType_Array);
220 SkASSERT(scriptValue.fOperand.fArray->getType() == SkType_Float);
221 SkASSERT(scriptValue.fOperand.fArray->count() == 2);
222 // SkParse::FindScalars(scriptValue.fOperand.fString->c_str(), xy, 2);
223 fMatrix.setTranslateX((*scriptValue.fOperand.fArray)[0].fScalar);
224 fMatrix.setTranslateY((*scriptValue.fOperand.fArray)[1].fScalar);
H A DSkDrawPaint.cpp152 SkScriptValue* scriptValue) {
153 if (scriptValue == NULL)
162 scriptValue->fType = SkType_Float;
164 scriptValue->fOperand.fScalar = paint.measureText(parameters[0].fOperand.fString->c_str(),
167 // scriptValue->fOperand.fScalar / 65536.0f);
150 executeFunction(SkDisplayable* target, int index, SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type, SkScriptValue* scriptValue) argument
H A DSkDisplayXMLParser.cpp152 SkScriptValue scriptValue; local
153 scriptValue.fOperand.fDisplayable = ref;
154 scriptValue.fType = ref->getType();
155 displayable->setProperty(info->propertyIndex(), scriptValue);
H A DSkMemberInfo.cpp188 SkScriptValue scriptValue; local
189 scriptValue.fType = SkType_Unknown;
190 scriptValue.fOperand.fS32 = 0;
252 success = engine.evaluateScript(&script, &scriptValue);
259 if (scriptValue.fType == SkType_Displayable) {
262 maker.findKey(scriptValue.fOperand.fDisplayable, &charPtr);
263 scriptValue.fOperand.fString = new SkString(charPtr);
264 scriptValue.fType = SkType_String;
265 engine.SkScriptEngine::track(scriptValue.fOperand.fString);
270 displayable->setReference(this, scriptValue
313 SkScriptValue scriptValue; local
316 displayable->setProperty(propertyIndex(), scriptValue); local
367 displayable->setProperty(propertyIndex(), scriptValue); local
[all...]
H A DSkAnimatorScript.cpp91 bool SkAnimatorScript::Box(void* user, SkScriptValue* scriptValue) { argument
93 SkDisplayTypes type = scriptValue->fType;
97 SkDisplayArray* boxedValue = new SkDisplayArray(*scriptValue->fOperand.fArray);
103 boxedValue->value = !! scriptValue->fOperand.fS32;
108 boxedValue->value = scriptValue->fOperand.fS32;
113 boxedValue->value = scriptValue->fOperand.fScalar;
116 SkDisplayString* boxedValue = new SkDisplayString(*scriptValue->fOperand.fString);
120 scriptValue->fOperand.fObject = scriptValue->fOperand.fDisplayable;
121 scriptValue
141 SkScriptValue* scriptValue = params.begin(); local
441 Unbox(void* m, SkScriptValue* scriptValue) argument
[all...]
H A DSkAnimator.cpp322 SkScriptValue scriptValue; local
323 bool success = element->getProperty(info->propertyIndex(), &scriptValue);
324 if (success && scriptValue.fType == SkType_Int)
325 return scriptValue.fOperand.fS32;
348 SkScriptValue scriptValue; local
349 bool success = element->getProperty(info->propertyIndex(), &scriptValue);
350 if (success && scriptValue.fType == SkType_Float)
351 return scriptValue.fOperand.fScalar;
576 SkScriptValue scriptValue; local
577 scriptValue
601 SkScriptValue scriptValue; local
[all...]
H A DSkDisplayApply.cpp128 SkScriptValue scriptValue; local
129 scriptValue.fOperand = values[0];
130 scriptValue.fType = info->getType();
131 target->setProperty(info->propertyIndex(), scriptValue);
473 SkScriptValue scriptValue; local
474 SkDEBUGCODE(bool success = ) target->getProperty(info->propertyIndex(), &scriptValue);
476 last[0] = scriptValue.fOperand;
477 scriptValue.fOperand = fActive->fSaveRestore[activeIndex][0];
478 target->setProperty(info->propertyIndex(), scriptValue);
763 SkScriptValue scriptValue; local
769 SkScriptValue scriptValue; local
778 setProperty(int index, SkScriptValue& scriptValue) argument
[all...]
/external/skia/src/animator/
H A DSkDrawTextBox.cpp65 bool SkDrawTextBox::setProperty(int index, SkScriptValue& scriptValue) argument
67 return this->INHERITED::setProperty(index, scriptValue);
H A DSkDisplayMath.cpp144 SkScriptValue* scriptValue) {
145 if (scriptValue == NULL)
224 scriptValue->fOperand.fScalar = scalarResult;
225 scriptValue->fType = SkType_Float;
142 executeFunction(SkDisplayable* target, int index, SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type, SkScriptValue* scriptValue) argument
H A DSkAnimateBase.cpp211 SkScriptValue scriptValue; local
212 bool success = engine.evaluateScript(&script, &scriptValue);
213 if (success && scriptValue.fType == SkType_Displayable)
214 fTarget = scriptValue.fOperand.fDrawable;
H A DSkDisplayTypes.cpp123 SkScriptValue* scriptValue) {
124 if (scriptValue == NULL)
129 scriptValue->fType = SkType_String;
141 scriptValue->fOperand.fString = new SkString(&value.c_str()[start], end - start);
143 scriptValue->fOperand.fString = new SkString(value);
152 bool SkDisplayString::getProperty(int index, SkScriptValue* scriptValue) const {
155 scriptValue->fType = SkType_Int;
156 scriptValue->fOperand.fS32 = (int32_t) value.size();
121 executeFunction(SkDisplayable* target, int index, SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type, SkScriptValue* scriptValue) argument
H A DSkDrawMatrix.cpp214 bool SkDrawMatrix::setProperty(int index, SkScriptValue& scriptValue) { argument
215 SkScalar number = scriptValue.fOperand.fScalar;
219 SkASSERT(scriptValue.fType == SkType_Array);
220 SkASSERT(scriptValue.fOperand.fArray->getType() == SkType_Float);
221 SkASSERT(scriptValue.fOperand.fArray->count() == 2);
222 // SkParse::FindScalars(scriptValue.fOperand.fString->c_str(), xy, 2);
223 fMatrix.setTranslateX((*scriptValue.fOperand.fArray)[0].fScalar);
224 fMatrix.setTranslateY((*scriptValue.fOperand.fArray)[1].fScalar);
H A DSkDrawPaint.cpp152 SkScriptValue* scriptValue) {
153 if (scriptValue == NULL)
162 scriptValue->fType = SkType_Float;
164 scriptValue->fOperand.fScalar = paint.measureText(parameters[0].fOperand.fString->c_str(),
167 // scriptValue->fOperand.fScalar / 65536.0f);
150 executeFunction(SkDisplayable* target, int index, SkTDArray<SkScriptValue>& parameters, SkDisplayTypes type, SkScriptValue* scriptValue) argument
H A DSkDisplayXMLParser.cpp152 SkScriptValue scriptValue; local
153 scriptValue.fOperand.fDisplayable = ref;
154 scriptValue.fType = ref->getType();
155 displayable->setProperty(info->propertyIndex(), scriptValue);
H A DSkMemberInfo.cpp188 SkScriptValue scriptValue; local
189 scriptValue.fType = SkType_Unknown;
190 scriptValue.fOperand.fS32 = 0;
252 success = engine.evaluateScript(&script, &scriptValue);
259 if (scriptValue.fType == SkType_Displayable) {
262 maker.findKey(scriptValue.fOperand.fDisplayable, &charPtr);
263 scriptValue.fOperand.fString = new SkString(charPtr);
264 scriptValue.fType = SkType_String;
265 engine.SkScriptEngine::track(scriptValue.fOperand.fString);
270 displayable->setReference(this, scriptValue
313 SkScriptValue scriptValue; local
316 displayable->setProperty(propertyIndex(), scriptValue); local
367 displayable->setProperty(propertyIndex(), scriptValue); local
[all...]
H A DSkAnimatorScript.cpp91 bool SkAnimatorScript::Box(void* user, SkScriptValue* scriptValue) { argument
93 SkDisplayTypes type = scriptValue->fType;
97 SkDisplayArray* boxedValue = new SkDisplayArray(*scriptValue->fOperand.fArray);
103 boxedValue->value = !! scriptValue->fOperand.fS32;
108 boxedValue->value = scriptValue->fOperand.fS32;
113 boxedValue->value = scriptValue->fOperand.fScalar;
116 SkDisplayString* boxedValue = new SkDisplayString(*scriptValue->fOperand.fString);
120 scriptValue->fOperand.fObject = scriptValue->fOperand.fDisplayable;
121 scriptValue
141 SkScriptValue* scriptValue = params.begin(); local
441 Unbox(void* m, SkScriptValue* scriptValue) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
H A DIDBAny.cpp115 const ScriptValue& IDBAny::scriptValue() function in class:WebCore::IDBAny
/external/chromium_org/third_party/skia/src/xml/
H A DSkJSDisplayable.cpp240 SkScriptValue scriptValue; local
241 bool success = displayable->getProperty(info->propertyIndex(), &scriptValue);
242 SkASSERT(scriptValue.fType == SkType_Scalar);
243 scalar = scriptValue.fOperand.fScalar;
343 SkScriptValue scriptValue; local
344 scriptValue.fType = SkType_Scalar;
345 scriptValue.fOperand.fScalar = scalar;
346 displayable->setProperty(-1 - (int) info->fOffset, scriptValue);
/external/skia/src/xml/
H A DSkJSDisplayable.cpp240 SkScriptValue scriptValue; local
241 bool success = displayable->getProperty(info->propertyIndex(), &scriptValue);
242 SkASSERT(scriptValue.fType == SkType_Scalar);
243 scalar = scriptValue.fOperand.fScalar;
343 SkScriptValue scriptValue; local
344 scriptValue.fType = SkType_Scalar;
345 scriptValue.fOperand.fScalar = scalar;
346 displayable->setProperty(-1 - (int) info->fOffset, scriptValue);

Completed in 254 milliseconds

12