HomeSort by relevance Sort by last modified time
    Searched full:scriptvalue (Results 1 - 25 of 123) sorted by null

1 2 3 4 5

  /external/webkit/Source/WebCore/bindings/v8/
ScriptValue.h 49 class ScriptValue {
51 ScriptValue() {}
53 ScriptValue(v8::Handle<v8::Value> value)
60 V8GCController::registerGlobalHandle(SCRIPTVALUE, this, m_value);
64 ScriptValue(const ScriptValue& value)
71 V8GCController::registerGlobalHandle(SCRIPTVALUE, this, m_value);
75 ScriptValue& operator=(const ScriptValue& value)
87 V8GCController::registerGlobalHandle(SCRIPTVALUE, this, m_value)
    [all...]
ScriptFunctionCall.h 40 class ScriptValue;
48 void appendArgument(const ScriptValue&);
60 Vector<ScriptValue> m_arguments;
66 ScriptValue call(bool& hadException, bool reportExceptions = true);
67 ScriptValue call();
77 ScriptCallback(ScriptState*, ScriptValue);
79 ScriptValue call();
80 ScriptValue call(bool& hadException);
83 ScriptValue m_function;
ScriptFunctionCall.cpp 36 #include "ScriptValue.h"
56 void ScriptCallArgumentHandler::appendArgument(const ScriptValue& argument)
115 ScriptValue ScriptFunctionCall::call(bool& hadException, bool reportExceptions)
123 return ScriptValue();
136 return ScriptValue();
139 return ScriptValue(result);
142 ScriptValue ScriptFunctionCall::call()
175 ScriptCallback::ScriptCallback(ScriptState* state, ScriptValue function)
181 ScriptValue ScriptCallback::call()
187 ScriptValue ScriptCallback::call(bool& hadException
    [all...]
WorkerScriptController.h 42 class ScriptValue;
54 ScriptValue evaluate(const ScriptSourceCode&);
55 ScriptValue evaluate(const ScriptSourceCode&, ScriptValue* exception);
57 void setException(ScriptValue);
WorkerScriptController.cpp 40 #include "ScriptValue.h"
64 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode)
69 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode, ScriptValue* exception)
72 return ScriptValue();
75 ScriptValue result = m_proxy->evaluate(sourceCode.source(), sourceCode.url().string(), WTF::toZeroBasedTextPosition(sourceCode.startPosition()), &state);
103 void WorkerScriptController::setException(ScriptValue exception)
  /external/skia/legacy/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...]
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);
  /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 123 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();
  /external/webkit/Source/WebCore/bindings/js/
ScriptFunctionCall.h 46 class ScriptValue;
53 void appendArgument(const ScriptValue&);
79 ScriptValue call(bool& hadException, bool reportExceptions = true);
80 ScriptValue call();
90 ScriptCallback(ScriptState*, ScriptValue);
92 ScriptValue call();
93 ScriptValue call(bool& hadException);
96 ScriptValue m_function;
ScriptValue.h 47 class ScriptValue {
49 ScriptValue() { }
50 ScriptValue(JSC::JSGlobalData& globalData, JSC::JSValue value) : m_value(globalData, value) {}
51 virtual ~ScriptValue() {}
56 bool isEqual(ScriptState*, const ScriptValue&) const;
63 bool operator==(const ScriptValue& other) const { return m_value == other.m_value; }
66 static ScriptValue deserialize(ScriptState*, SerializedScriptValue*, SerializationErrorMode = Throwing);
68 static ScriptValue undefined();
ScriptFunctionCall.cpp 36 #include "ScriptValue.h"
54 void ScriptCallArgumentHandler::appendArgument(const ScriptValue& argument)
124 ScriptValue ScriptFunctionCall::call(bool& hadException, bool reportExceptions)
136 return ScriptValue();
142 return ScriptValue();
150 return ScriptValue();
153 return ScriptValue(m_exec->globalData(), result);
156 ScriptValue ScriptFunctionCall::call()
194 ScriptCallback::ScriptCallback(ScriptState* state, ScriptValue function)
200 ScriptValue ScriptCallback::call(
    [all...]
ScriptValue.cpp 31 #include "ScriptValue.h"
47 bool ScriptValue::getString(ScriptState* scriptState, String& result) const
59 String ScriptValue::toString(ScriptState* scriptState) const
68 bool ScriptValue::isEqual(ScriptState* scriptState, const ScriptValue& anotherValue) const
76 bool ScriptValue::isNull() const
83 bool ScriptValue::isUndefined() const
90 bool ScriptValue::isObject() const
97 bool ScriptValue::isFunction() const
103 PassRefPtr<SerializedScriptValue> ScriptValue::serialize(ScriptState* scriptState, SerializationErrorMode throwExceptions
    [all...]
WorkerScriptController.cpp 37 #include "ScriptValue.h"
102 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode)
105 return ScriptValue();
107 ScriptValue exception;
108 ScriptValue result(evaluate(sourceCode, &exception));
116 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode, ScriptValue* exception)
119 return ScriptValue();
134 return ScriptValue();
138 return ScriptValue(*m_globalData, comp.value())
    [all...]
WorkerScriptController.h 44 class ScriptValue;
59 ScriptValue evaluate(const ScriptSourceCode&);
60 ScriptValue evaluate(const ScriptSourceCode&, ScriptValue* exception);
62 void setException(ScriptValue);
JSInjectedScriptHostCustom.cpp 47 #include "ScriptValue.h"
64 Node* InjectedScriptHost::scriptValueAsNode(ScriptValue value)
71 ScriptValue InjectedScriptHost::nodeAsScriptValue(ScriptState* state, Node* node)
74 return ScriptValue(state->globalData(), toJS(state, node));
117 ScriptValue object(exec->globalData(), exec->argument(0));
118 ScriptValue hints(exec->globalData(), exec->argument(1));
  /external/webkit/Source/WebCore/css/
MediaQueryListListener.h 25 #include "ScriptValue.h"
37 static PassRefPtr<MediaQueryListListener> create(ScriptValue value)
48 MediaQueryListListener(ScriptValue value) : m_value(value) { }
50 ScriptValue m_value;
  /external/webkit/Source/WebCore/inspector/
ScriptArguments.h 42 class ScriptValue;
46 static PassRefPtr<ScriptArguments> create(ScriptState*, Vector<ScriptValue>& arguments);
50 const ScriptValue& argumentAt(size_t) const;
59 ScriptArguments(ScriptState*, Vector<ScriptValue>& arguments);
62 Vector<ScriptValue> m_arguments;
ScriptArguments.cpp 34 #include "ScriptValue.h"
38 PassRefPtr<ScriptArguments> ScriptArguments::create(ScriptState* scriptState, Vector<ScriptValue>& arguments)
43 ScriptArguments::ScriptArguments(ScriptState* scriptState, Vector<ScriptValue>& arguments)
53 const ScriptValue &ScriptArguments::argumentAt(size_t index) const
69 const ScriptValue& value = argumentAt(0);
  /external/webkit/Source/WebCore/dom/
CustomEvent.h 30 #include "ScriptValue.h"
44 void initCustomEvent(const AtomicString& type, bool canBubble, bool cancelable, ScriptValue detail);
48 ScriptValue detail() const { return m_detail; }
53 ScriptValue m_detail;
  /external/webkit/Source/WebCore/html/
AsyncImageResizer.h 39 #include "ScriptValue.h"
80 static PassRefPtr<AsyncImageResizer> create(CachedImage*, OutputType, IntSize desiredBounds, ScriptValue successCallback, ScriptValue errorCallback, float quality, AspectRatioOption, OrientationOption);
89 AsyncImageResizer(CachedImage*, OutputType, IntSize desiredBounds, ScriptValue successCallback, ScriptValue errorCallback, float quality, AspectRatioOption, OrientationOption);
93 ScriptValue m_successCallback;
94 ScriptValue m_errorCallback;
AsyncImageResizer.cpp 43 PassRefPtr<AsyncImageResizer> AsyncImageResizer::create(CachedImage* cachedImage, OutputType outputType, IntSize desiredBounds, ScriptValue successCallback, ScriptValue errorCallback, float quality, AspectRatioOption aspectRatioOption, OrientationOption orientationOption)
48 AsyncImageResizer::AsyncImageResizer(CachedImage* cachedImage, OutputType outputType, IntSize desiredBounds, ScriptValue successCallback, ScriptValue errorCallback, float quality, AspectRatioOption aspectRatioOption, OrientationOption orientationOption)
  /external/webkit/Source/WebCore/bindings/
ScriptControllerBase.cpp 30 #include "ScriptValue.h"
48 ScriptValue ScriptController::executeScript(const String& script, bool forceUserGesture)
53 ScriptValue ScriptController::executeScript(const ScriptSourceCode& sourceCode)
56 return ScriptValue();
61 ScriptValue result = evaluate(sourceCode);
89 ScriptValue result = executeScript(decodedURL.substring(javascriptSchemeLength), false);

Completed in 374 milliseconds

1 2 3 4 5