/external/webkit/WebCore/bindings/v8/ |
H A D | ScriptScope.cpp | 40 ScriptScope::ScriptScope(ScriptState* scriptState, bool reportExceptions) argument 41 : m_context(scriptState->context()) 43 , m_scriptState(scriptState)
|
H A D | ScriptArray.cpp | 46 ScriptArray::ScriptArray(ScriptState* scriptState, v8::Handle<v8::Array> v8Array) argument 47 : ScriptObject(scriptState, v8Array) 53 if (value.scriptState() != m_scriptState) { 103 ScriptArray ScriptArray::createNew(ScriptState* scriptState) argument 105 ScriptScope scope(scriptState); 106 return ScriptArray(scriptState, v8::Array::New());
|
H A D | ScriptObject.h | 51 ScriptState* scriptState() const { return m_scriptState; } function in class:WebCore::ScriptObject
|
H A D | ScriptValue.cpp | 40 PassRefPtr<SerializedScriptValue> ScriptValue::serialize(ScriptState* scriptState) argument 42 ScriptScope scope(scriptState); 46 ScriptValue ScriptValue::deserialize(ScriptState* scriptState, SerializedScriptValue* value) argument 48 ScriptScope scope(scriptState);
|
H A D | ScriptEventListener.cpp | 109 String getEventListenerHandlerBody(ScriptExecutionContext* context, ScriptState* scriptState, EventListener* listener) argument 114 ScriptScope scope(scriptState);
|
H A D | ScriptObject.cpp | 49 ScriptObject::ScriptObject(ScriptState* scriptState, v8::Handle<v8::Object> v8Object) argument 51 , m_scriptState(scriptState) 70 if (value.scriptState() != m_scriptState) { 135 ScriptObject ScriptObject::createNew(ScriptState* scriptState) argument 137 ScriptScope scope(scriptState); 138 return ScriptObject(scriptState, v8::Object::New()); 141 bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, const ScriptObject& value) argument 143 ScriptScope scope(scriptState); 149 bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, InspectorBackend* value) argument 151 ScriptScope scope(scriptState); 156 set(ScriptState* scriptState, const char* name, InspectorFrontendHost* value) argument 163 set(ScriptState* scriptState, const char* name, InjectedScriptHost* value) argument 171 get(ScriptState* scriptState, const char* name, ScriptObject& value) argument 185 remove(ScriptState* scriptState, const char* name) argument [all...] |
H A D | ScriptState.cpp | 66 v8::Handle<v8::String> key = V8HiddenPropertyName::scriptState(); 89 ScriptState* scriptState = static_cast<ScriptState*>(parameter); local 90 delete scriptState;
|
H A D | V8Utilities.cpp | 128 ScriptExecutionContext* getScriptExecutionContext(ScriptState* scriptState) argument 137 if (scriptState) { 139 frame = V8Proxy::retrieveFrame(scriptState->context()); 149 void reportException(ScriptState* scriptState, v8::TryCatch& exceptionCatcher) argument 171 ScriptExecutionContext* context = getScriptExecutionContext(scriptState);
|
/external/webkit/WebCore/bindings/js/ |
H A D | ScriptArray.cpp | 40 ScriptArray::ScriptArray(ScriptState* scriptState, JSArray* object) argument 41 : ScriptObject(scriptState, object) 45 static bool handleException(ScriptState* scriptState) argument 47 if (!scriptState->hadException()) 50 reportException(scriptState, scriptState->exception()); 56 if (value.scriptState() != m_scriptState) { 106 ScriptArray ScriptArray::createNew(ScriptState* scriptState) argument 109 return ScriptArray(scriptState, constructEmptyArray(scriptState)); [all...] |
H A D | ScriptObject.h | 50 ScriptState* scriptState() const { return m_scriptState; } function in class:WebCore::ScriptObject
|
H A D | ScriptObject.cpp | 48 ScriptObject::ScriptObject(ScriptState* scriptState, JSObject* object) argument 50 , m_scriptState(scriptState) 54 static bool handleException(ScriptState* scriptState) argument 56 if (!scriptState->hadException()) 59 reportException(scriptState, scriptState->exception()); 73 if (value.scriptState() != m_scriptState) { 147 ScriptObject ScriptObject::createNew(ScriptState* scriptState) argument 150 return ScriptObject(scriptState, constructEmptyObject(scriptState)); 153 set(ScriptState* scriptState, const char* name, const ScriptObject& value) argument 161 set(ScriptState* scriptState, const char* name, InspectorBackend* value) argument 169 set(ScriptState* scriptState, const char* name, InspectorFrontendHost* value) argument 177 set(ScriptState* scriptState, const char* name, InjectedScriptHost* value) argument 186 get(ScriptState* scriptState, const char* name, ScriptObject& value) argument 200 remove(ScriptState* scriptState, const char* name) argument [all...] |
H A D | ScriptValue.cpp | 45 bool ScriptValue::getString(ScriptState* scriptState, String& result) const argument 51 if (!m_value.get().getString(scriptState, ustring)) 57 bool ScriptValue::isEqual(ScriptState* scriptState, const ScriptValue& anotherValue) const argument 62 return JSValueIsEqual(toRef(scriptState), toRef(scriptState, jsValue()), toRef(scriptState, anotherValue.jsValue()), 0); 86 PassRefPtr<SerializedScriptValue> ScriptValue::serialize(ScriptState* scriptState) argument 88 return SerializedScriptValue::create(scriptState, jsValue()); 91 ScriptValue ScriptValue::deserialize(ScriptState* scriptState, SerializedScriptValue* value) argument 93 return ScriptValue(value->deserialize(scriptState, scriptStat [all...] |
H A D | ScriptEventListener.cpp | 113 String getEventListenerHandlerBody(ScriptExecutionContext* context, ScriptState* scriptState, EventListener* eventListener) argument 121 return jsFunction->toString(scriptState);
|
H A D | JSInjectedScriptHostCustom.cpp | 78 static ScriptObject createInjectedScript(const String& source, InjectedScriptHost* injectedScriptHost, ScriptState* scriptState, long id) argument 82 JSDOMGlobalObject* globalObject = static_cast<JSDOMGlobalObject*>(scriptState->lexicalGlobalObject()); 83 JSValue globalThisValue = scriptState->globalThisValue(); 84 Completion comp = JSC::evaluate(scriptState, globalObject->globalScopeChain(), sourceCode, globalThisValue); 94 args.append(toJS(scriptState, globalObject, injectedScriptHost)); 96 args.append(jsNumber(scriptState, id)); 97 JSValue result = JSC::call(scriptState, functionValue, callType, callData, globalThisValue, args); 99 return ScriptObject(scriptState, result.getObject()); 218 InjectedScript InjectedScriptHost::injectedScriptFor(ScriptState* scriptState) argument 221 JSDOMGlobalObject* globalObject = static_cast<JSDOMGlobalObject*>(scriptState [all...] |
/external/webkit/WebCore/inspector/ |
H A D | InspectorFrontend.h | 144 ScriptState* scriptState() const { return m_webInspector.scriptState(); } function in class:WebCore::InspectorFrontend
|
H A D | InspectorFrontend.cpp | 70 return ScriptArray::createNew(scriptState()); 75 return ScriptObject::createNew(scriptState()); 99 void InspectorFrontend::addConsoleMessage(const ScriptObject& messageObj, const Vector<ScriptString>& frames, ScriptState* scriptState, const Vector<ScriptValue> arguments, const String& message) argument 108 InjectedScript injectedScript = m_inspectorController->injectedScriptHost()->injectedScriptFor(scriptState); 111 ScriptValue scriptValue = ScriptValue::deserialize(this->scriptState(), serializedValue.get()); 294 ScriptValue callFramesValue = ScriptValue::deserialize(scriptState(), callFrames); 469 ScriptValue resultValue = ScriptValue::deserialize(scriptState(), result);
|
H A D | InspectorController.cpp | 347 void InspectorController::addConsoleMessage(ScriptState* scriptState, ConsoleMessage* consoleMessage) argument 352 if (m_previousMessage && m_previousMessage->isEqual(scriptState, consoleMessage)) { 545 void InspectorController::setFrontendProxyObject(ScriptState* scriptState, ScriptObject webInspectorObj, ScriptObject) argument 547 m_frontendScriptState = scriptState; 1441 ExecState* scriptState = toJSDOMWindow(m_inspectedPage->mainFrame(), debuggerWorld())->globalExec(); local 1443 ScriptState* scriptState = 0; local 1445 ScriptProfiler::start(scriptState, title); 1462 ExecState* scriptState = toJSDOMWindow(m_inspectedPage->mainFrame(), debuggerWorld())->globalExec(); local 1464 ScriptState* scriptState = 0; local 1466 RefPtr<ScriptProfile> profile = ScriptProfiler::stop(scriptState, titl 1586 ScriptState* scriptState = callFrame->scopeChain()->globalObject->globalExec(); local 1610 ScriptState* scriptState = scriptStateFromPage(debuggerWorld(), m_inspectedPage); local [all...] |
/external/webkit/WebCore/page/ |
H A D | Console.cpp | 77 static bool getFirstArgumentAsString(ScriptState* scriptState, const ScriptCallFrame& callFrame, String& result, bool checkForNullOrUndefined = false) argument 86 result = value.toString(scriptState);
|
/external/webkit/WebKit/android/jni/ |
H A D | WebCoreFrameBridge.cpp | 1181 ScriptState* scriptState = mainWorldScriptState(pFrame); local 1182 if (!value.getString(scriptState, result))
|