Home
last modified time | relevance | path

Searched refs:ScriptValue (Results 1 – 25 of 57) sorted by relevance

123

/external/webkit/WebCore/bindings/v8/
DScriptValue.h48 class ScriptValue {
50 ScriptValue() {} in ScriptValue() function
52 ScriptValue(v8::Handle<v8::Value> value) in ScriptValue() function
63 ScriptValue(const ScriptValue& value) in ScriptValue() function
74 ScriptValue& operator=(const ScriptValue& value)
92 bool operator==(const ScriptValue value) const
97 bool isEqual(ScriptState*, const ScriptValue& value) const in isEqual()
102 bool operator!=(const ScriptValue value) const
128 static ScriptValue deserialize(ScriptState*, SerializedScriptValue*);
142 virtual ~ScriptValue() in ~ScriptValue()
DScriptValue.cpp40 PassRefPtr<SerializedScriptValue> ScriptValue::serialize(ScriptState* scriptState) in serialize()
46 ScriptValue ScriptValue::deserialize(ScriptState* scriptState, SerializedScriptValue* value) in deserialize()
49 return ScriptValue(value->deserialize()); in deserialize()
52 bool ScriptValue::getString(String& result) const in getString()
64 String ScriptValue::toString(ScriptState*) const in toString()
DWorkerScriptController.cpp63 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode) in evaluate()
68 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode, ScriptValue* excep… in evaluate()
73 return ScriptValue(); in evaluate()
77ScriptValue result = m_proxy->evaluate(sourceCode.source(), sourceCode.url().string(), sourceCode.… in evaluate()
95 void WorkerScriptController::setException(ScriptValue exception) in setException()
DWorkerScriptController.h42 class ScriptValue; variable
53 ScriptValue evaluate(const ScriptSourceCode&);
54 ScriptValue evaluate(const ScriptSourceCode&, ScriptValue* exception);
56 void setException(ScriptValue);
DScriptFunctionCall.h40 class ScriptValue; variable
51 void appendArgument(const ScriptValue&);
60 ScriptValue call(bool& hadException, bool reportExceptions = true);
61 ScriptValue call();
68 Vector<ScriptValue> m_arguments;
DScriptFunctionCall.cpp70 void ScriptFunctionCall::appendArgument(const ScriptValue& argument) in appendArgument()
122 ScriptValue ScriptFunctionCall::call(bool& hadException, bool reportExceptions) in call()
130 return ScriptValue(); in call()
143 return ScriptValue(); in call()
146 return ScriptValue(result); in call()
149 ScriptValue ScriptFunctionCall::call() in call()
DScriptCallFrame.h44 class ScriptValue; variable
60 const ScriptValue& argumentAt(unsigned) const;
68 Vector<ScriptValue> m_arguments;
DScriptController.h67 ScriptValue executeScript(const ScriptSourceCode&);
68 ScriptValue executeScript(const String& script, bool forceUserGesture = false);
79 ScriptValue evaluate(const ScriptSourceCode&);
DWorkerContextExecutionProxy.cpp188 ScriptValue WorkerContextExecutionProxy::evaluate(const String& script, const String& fileName, int… in evaluate()
204 state->exception = ScriptValue(exceptionCatcher.Exception()); in evaluate()
213 return ScriptValue(); in evaluate()
215 return ScriptValue(result); in evaluate()
DScriptCallFrame.cpp49 m_arguments.append(ScriptValue(arguments[i])); in ScriptCallFrame()
56 const ScriptValue& ScriptCallFrame::argumentAt(unsigned index) const in argumentAt()
DScriptController.cpp219 ScriptValue ScriptController::evaluate(const ScriptSourceCode& sourceCode) in evaluate()
225 return ScriptValue(); in evaluate()
231 return ScriptValue(); in evaluate()
244 return ScriptValue(); in evaluate()
246 return ScriptValue(object); in evaluate()
/external/webkit/WebCore/bindings/js/
DScriptValue.cpp45 bool ScriptValue::getString(ScriptState* scriptState, String& result) const in getString()
57 bool ScriptValue::isEqual(ScriptState* scriptState, const ScriptValue& anotherValue) const in isEqual()
65 bool ScriptValue::isNull() const in isNull()
72 bool ScriptValue::isUndefined() const in isUndefined()
79 bool ScriptValue::isObject() const in isObject()
86 PassRefPtr<SerializedScriptValue> ScriptValue::serialize(ScriptState* scriptState) in serialize()
91 ScriptValue ScriptValue::deserialize(ScriptState* scriptState, SerializedScriptValue* value) in deserialize()
93 return ScriptValue(value->deserialize(scriptState, scriptState->lexicalGlobalObject())); in deserialize()
DScriptValue.h44 class ScriptValue {
46 ScriptValue(JSC::JSValue value = JSC::JSValue()) : m_value(value) {} in m_value()
47 virtual ~ScriptValue() {} in ~ScriptValue()
52 bool isEqual(ScriptState*, const ScriptValue&) const;
59 static ScriptValue deserialize(ScriptState*, SerializedScriptValue*);
DWorkerScriptController.h44 class ScriptValue; variable
59 ScriptValue evaluate(const ScriptSourceCode&);
60 ScriptValue evaluate(const ScriptSourceCode&, ScriptValue* exception);
62 void setException(ScriptValue);
DScriptFunctionCall.cpp66 void ScriptFunctionCall::appendArgument(const ScriptValue& argument) in appendArgument()
129 ScriptValue ScriptFunctionCall::call(bool& hadException, bool reportExceptions) in call()
141 return ScriptValue(); in call()
147 return ScriptValue(); in call()
155 return ScriptValue(); in call()
158 return ScriptValue(result); in call()
161 ScriptValue ScriptFunctionCall::call() in call()
DWorkerScriptController.cpp94 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode) in evaluate()
101 ScriptValue exception; in evaluate()
102 ScriptValue result = evaluate(sourceCode, &exception); in evaluate()
110 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode, ScriptValue* excep… in evaluate()
134 void WorkerScriptController::setException(ScriptValue exception) in setException()
DScriptController.h58 class ScriptValue; variable
92 ScriptValue executeScript(const ScriptSourceCode&);
93 ScriptValue executeScript(const String& script, bool forceUserGesture = false);
94ScriptValue executeScriptInWorld(DOMWrapperWorld* world, const String& script, bool forceUserGestu…
103 ScriptValue evaluate(const ScriptSourceCode&);
104 ScriptValue evaluateInWorld(const ScriptSourceCode&, DOMWrapperWorld*);
DScriptFunctionCall.h46 class ScriptValue; variable
56 void appendArgument(const ScriptValue&);
67 ScriptValue call(bool& hadException, bool reportExceptions = true);
68 ScriptValue call();
DScriptCallFrame.h61 const ScriptValue& argumentAt(unsigned) const;
69 Vector<ScriptValue> m_arguments;
DScriptCallFrame.cpp48 m_arguments.append(ScriptValue(args.at(i))); in ScriptCallFrame()
55 const ScriptValue &ScriptCallFrame::argumentAt(unsigned index) const in argumentAt()
DScriptController.cpp94 ScriptValue ScriptController::evaluateInWorld(const ScriptSourceCode& sourceCode, DOMWrapperWorld* … in evaluateInWorld()
150 ScriptValue ScriptController::evaluate(const ScriptSourceCode& sourceCode) in evaluate()
443 ScriptValue ScriptController::executeScriptInWorld(DOMWrapperWorld* world, const String& script, bo… in executeScriptInWorld()
448 return ScriptValue(); in executeScriptInWorld()
453 ScriptValue result = evaluateInWorld(sourceCode, world); in executeScriptInWorld()
/external/webkit/WebCore/bindings/
DScriptControllerBase.cpp44 ScriptValue ScriptController::executeScript(const String& script, bool forceUserGesture) in executeScript()
49 ScriptValue ScriptController::executeScript(const ScriptSourceCode& sourceCode) in executeScript()
52 return ScriptValue(); in executeScript()
57 ScriptValue result = evaluate(sourceCode); in executeScript()
82 ScriptValue result; in executeIfJavaScriptURL()
/external/webkit/WebCore/inspector/
DInjectedScript.cpp56 ScriptValue resultValue = function.call(*hadException); in dispatch()
66 ScriptValue callFramesValue = function.call(); in callFrames()
71 PassRefPtr<SerializedScriptValue> InjectedScript::wrapForConsole(ScriptValue value) in wrapForConsole()
77 ScriptValue r = wrapFunction.call(); in wrapForConsole()
DInspectorFrontend.cpp99 …t Vector<ScriptString>& frames, ScriptState* scriptState, const Vector<ScriptValue> arguments, con… in addConsoleMessage()
111ScriptValue scriptValue = ScriptValue::deserialize(this->scriptState(), serializedValue.get()); in addConsoleMessage()
294 ScriptValue callFramesValue = ScriptValue::deserialize(scriptState(), callFrames); in pausedScript()
318 void InspectorFrontend::addProfileHeader(const ScriptValue& profile) in addProfileHeader()
343 void InspectorFrontend::didGetProfile(int callId, const ScriptValue& profile) in didGetProfile()
469 ScriptValue resultValue = ScriptValue::deserialize(scriptState(), result); in didDispatchOnInjectedScript()
DInspectorFrontend.h70 …ageObj, const Vector<ScriptString>& frames, ScriptState*, const Vector<ScriptValue> arguments, con…
99 void addProfileHeader(const ScriptValue& profile);
102 void didGetProfile(int callId, const ScriptValue& profile);

123