OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:scriptValue
(Results
1 - 22
of
22
) sorted by null
/external/skia/src/animator/
SkMemberInfo.cpp
188
SkScriptValue
scriptValue
;
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
.fOperand.fDisplayable)
[
all
...]
SkDisplayTypes.cpp
127
SkScriptValue*
scriptValue
) {
128
if (
scriptValue
== NULL)
133
scriptValue
->fType = SkType_String;
145
scriptValue
->fOperand.fString = new SkString(&value.c_str()[start], end - start);
147
scriptValue
->fOperand.fString = new SkString(value);
156
bool SkDisplayString::getProperty(int index, SkScriptValue*
scriptValue
) const {
159
scriptValue
->fType = SkType_Int;
160
scriptValue
->fOperand.fS32 = (int32_t) value.size();
SkAnimatorScript.cpp
91
bool SkAnimatorScript::Box(void* user, SkScriptValue*
scriptValue
) {
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
->fType = SkType_Displayable
[
all
...]
SkDrawTextBox.cpp
65
bool SkDrawTextBox::setProperty(int index, SkScriptValue&
scriptValue
)
67
return this->INHERITED::setProperty(index,
scriptValue
);
SkDrawMatrix.cpp
214
bool SkDrawMatrix::setProperty(int index, SkScriptValue&
scriptValue
) {
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);
SkScript2.h
227
SkScriptValue2
scriptValue
;
228
scriptValue
.fOperand = *operand;
229
scriptValue
.fType = type;
230
convertTo(SkOperand2::kString, &
scriptValue
);
231
*operand =
scriptValue
.fOperand;
237
SkOperand2::OpType getUnboxType(SkOperand2
scriptValue
);
244
bool handleUnbox(SkScriptValue2*
scriptValue
);
SkScript.h
195
SkScriptValue
scriptValue
;
196
scriptValue
.fOperand = operand;
197
scriptValue
.fType = type;
198
convertTo(SkType_String, &
scriptValue
);
199
operand =
scriptValue
.fOperand;
211
bool handleUnbox(SkScriptValue*
scriptValue
);
SkDisplayApply.cpp
128
SkScriptValue
scriptValue
;
129
scriptValue
.fOperand = values[0];
130
scriptValue
.fType = info->getType();
131
target->setProperty(info->propertyIndex(),
scriptValue
);
473
SkScriptValue
scriptValue
;
474
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
;
[
all
...]
SkAnimateBase.cpp
215
SkScriptValue
scriptValue
;
216
bool success = engine.evaluateScript(&script, &
scriptValue
);
217
if (success &&
scriptValue
.fType == SkType_Displayable)
218
fTarget =
scriptValue
.fOperand.fDrawable;
SkAnimator.cpp
320
SkScriptValue
scriptValue
;
321
bool success = element->getProperty(info->propertyIndex(), &
scriptValue
);
322
if (success &&
scriptValue
.fType == SkType_Int)
323
return
scriptValue
.fOperand.fS32;
346
SkScriptValue
scriptValue
;
347
bool success = element->getProperty(info->propertyIndex(), &
scriptValue
);
348
if (success &&
scriptValue
.fType == SkType_Float)
349
return
scriptValue
.fOperand.fScalar;
574
SkScriptValue
scriptValue
;
575
scriptValue
.fType = SkType_Int
[
all
...]
SkDisplayMath.cpp
144
SkScriptValue*
scriptValue
) {
145
if (
scriptValue
== NULL)
224
scriptValue
->fOperand.fScalar = scalarResult;
225
scriptValue
->fType = SkType_Float;
SkDisplayXMLParser.cpp
152
SkScriptValue
scriptValue
;
153
scriptValue
.fOperand.fDisplayable = ref;
154
scriptValue
.fType = ref->getType();
155
displayable->setProperty(info->propertyIndex(),
scriptValue
);
SkDrawPaint.cpp
152
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);
SkAnimatorScript.h
61
static bool Unbox(void* , SkScriptValue*
scriptValue
);
SkDisplayable.cpp
528
SkScriptValue
scriptValue
;
529
scriptValue
.fOperand.fDisplayable = displayable;
530
scriptValue
.fType = displayable->getType();
531
setProperty(info->propertyIndex(),
scriptValue
);
SkMemberInfo.h
95
SkScriptValue&
scriptValue
) const;
SkScriptTokenizer.cpp
463
SkOperand2::OpType SkScriptEngine2::getUnboxType(SkOperand2
scriptValue
) {
467
return (*callBack)->getReturnType(0, &
scriptValue
);
606
SkDEBUGCODE(SkScriptValue2
scriptValue
;)
607
SkDEBUGCODE(
scriptValue
.fOperand.fObject = NULL);
774
SkScriptValue2
scriptValue
;
780
bool success = innerScript(scriptPtr, &
scriptValue
);
783
success = convertTo(SkOperand2::kS32, &
scriptValue
);
785
int index =
scriptValue
.fOperand.fS32;
786
fValueStack.pop(&
scriptValue
);
787
if (
scriptValue
.fType == SkOperand2::kObject)
[
all
...]
/external/webkit/Source/WebKit2/Shared/API/c/
WKSerializedScriptValue.h
39
WK_EXPORT JSValueRef WKSerializedScriptValueDeserialize(WKSerializedScriptValueRef
scriptValue
, JSContextRef context, JSValueRef* exception);
/external/webkit/Tools/TestWebKitAPI/
JavaScriptTest.cpp
53
JSValueRef
scriptValue
= WKSerializedScriptValueDeserialize(resultSerializedScriptValue, scriptContext, 0);
54
TEST_ASSERT(
scriptValue
);
56
JSStringRef scriptString = JSValueToStringCopy(scriptContext,
scriptValue
, 0);
/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/
PreventEmptyUserAgent.cpp
45
JSValueRef
scriptValue
= WKSerializedScriptValueDeserialize(resultSerializedScriptValue, scriptContext, 0);
46
TEST_ASSERT(JSValueIsString(scriptContext,
scriptValue
));
50
JSStringRef scriptString = JSValueToStringCopy(scriptContext,
scriptValue
, 0);
/external/skia/src/xml/
SkJSDisplayable.cpp
240
SkScriptValue
scriptValue
;
241
bool success = displayable->getProperty(info->propertyIndex(), &
scriptValue
);
242
SkASSERT(
scriptValue
.fType == SkType_Scalar);
243
scalar =
scriptValue
.fOperand.fScalar;
343
SkScriptValue
scriptValue
;
344
scriptValue
.fType = SkType_Scalar;
345
scriptValue
.fOperand.fScalar = scalar;
346
displayable->setProperty(-1 - (int) info->fOffset,
scriptValue
);
/external/webkit/Source/WebKit2/Shared/
UserMessageCoders.h
99
WebSerializedScriptValue*
scriptValue
= static_cast<WebSerializedScriptValue*>(m_root);
100
encoder->encodeBytes(
scriptValue
->data().data(),
scriptValue
->data().size());
Completed in 705 milliseconds