Searched defs:globalObject (Results 26 - 50 of 160) sorted by relevance

1234567

/external/webkit/Source/WebCore/bindings/js/
H A DJSCustomPositionCallback.cpp40 JSCustomPositionCallback::JSCustomPositionCallback(JSObject* callback, JSDOMGlobalObject* globalObject) argument
41 : PositionCallback(globalObject->scriptExecutionContext())
42 , m_data(callback, globalObject)
55 ExecState* exec = m_data.globalObject()->globalExec();
H A DJSCustomPositionErrorCallback.cpp40 JSCustomPositionErrorCallback::JSCustomPositionErrorCallback(JSObject* callback, JSDOMGlobalObject* globalObject) argument
41 : PositionErrorCallback(globalObject->scriptExecutionContext())
42 , m_data(callback, globalObject)
55 ExecState* exec = m_data.globalObject()->globalExec();
H A DJSCustomVoidCallback.cpp43 JSCustomVoidCallback::JSCustomVoidCallback(JSObject* callback, JSDOMGlobalObject* globalObject) argument
44 : m_data(new JSCallbackData(callback, globalObject))
45 , m_scriptExecutionContext(globalObject->scriptExecutionContext())
H A DJSCustomVoidCallback.h43 static PassRefPtr<JSCustomVoidCallback> create(JSC::JSObject* callback, JSDOMGlobalObject* globalObject) argument
45 return adoptRef(new JSCustomVoidCallback(callback, globalObject));
H A DJSElementCustom.cpp69 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, Element* element) argument
78 wrapper = createJSHTMLWrapper(exec, globalObject, toHTMLElement(element));
81 wrapper = createJSSVGWrapper(exec, globalObject, static_cast<SVGElement*>(element));
84 wrapper = CREATE_DOM_NODE_WRAPPER(exec, globalObject, Element, element);
H A DJSEventTarget.cpp107 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, EventTarget* target) argument
114 return toJS(exec, globalObject, eventSource);
120 return toJS(exec, globalObject, instance);
124 return toJS(exec, globalObject, node);
127 return toJS(exec, globalObject, domWindow);
130 return toJS(exec, globalObject, xhr);
133 return toJS(exec, globalObject, upload);
137 return toJS(exec, globalObject, cache);
141 return toJS(exec, globalObject, messagePort);
145 return toJS(exec, globalObject, worke
[all...]
H A DJSStyleSheetCustom.cpp38 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, StyleSheet* styleSheet) argument
48 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSStyleSheet, styleSheet);
50 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, StyleSheet, styleSheet);
H A DCallbackFunction.h49 PassRefPtr<JSCallbackType> createFunctionOnlyCallback(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, JSC::JSValue value, CallbackAllowedValueFlags acceptedValues = 0) argument
52 return JSCallbackType::create(asObject(value), globalObject);
H A DJSAudioConstructor.cpp42 JSAudioConstructor::JSAudioConstructor(ExecState* exec, JSDOMGlobalObject* globalObject) argument
43 : DOMConstructorWithDocument(JSAudioConstructor::createStructure(globalObject->globalData(), globalObject->objectPrototype()), globalObject)
46 putDirect(exec->globalData(), exec->propertyNames().prototype, JSHTMLAudioElementPrototype::self(exec, globalObject), None);
61 toJS(exec, jsConstructor->globalObject(), document);
69 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(),
H A DJSDOMWindowCustom.h28 inline JSDOMWindow* asJSDOMWindow(JSC::JSGlobalObject* globalObject) argument
30 return static_cast<JSDOMWindow*>(globalObject);
33 inline const JSDOMWindow* asJSDOMWindow(const JSC::JSGlobalObject* globalObject) argument
35 return static_cast<const JSDOMWindow*>(globalObject);
H A DJSFloat32ArrayCustom.cpp41 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Float32Array* object) argument
43 return toJSArrayBufferView<JSFloat32Array>(exec, globalObject, object);
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
H A DJSFloat64ArrayCustom.cpp41 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Float64Array* object) argument
43 return toJSArrayBufferView<JSFloat64Array>(exec, globalObject, object);
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
H A DJSImageConstructor.cpp37 JSImageConstructor::JSImageConstructor(ExecState* exec, JSDOMGlobalObject* globalObject) argument
38 : DOMConstructorWithDocument(JSImageConstructor::createStructure(globalObject->globalData(), globalObject->objectPrototype()), globalObject)
41 putDirect(exec->globalData(), exec->propertyNames().prototype, JSHTMLImageElementPrototype::self(exec, globalObject), None);
54 toJS(exec, jsConstructor->globalObject(), document);
68 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(),
H A DJSInt16ArrayCustom.cpp41 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Int16Array* object) argument
43 return toJSArrayBufferView<JSInt16Array>(exec, globalObject, object);
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
H A DJSInt32ArrayCustom.cpp41 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Int32Array* object) argument
43 return toJSArrayBufferView<JSInt32Array>(exec, globalObject, object);
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
H A DJSInt8ArrayCustom.cpp42 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Int8Array* object) argument
44 return toJSArrayBufferView<JSInt8Array>(exec, globalObject, object);
59 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get())));
H A DJSNodeCustom.h77 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Node* node) argument
86 return createWrapper(exec, globalObject, node);
H A DJSOptionConstructor.cpp38 JSOptionConstructor::JSOptionConstructor(ExecState* exec, JSDOMGlobalObject* globalObject) argument
39 : DOMConstructorWithDocument(JSOptionConstructor::createStructure(globalObject->globalData(), globalObject->objectPrototype()), globalObject)
42 putDirect(exec->globalData(), exec->propertyNames().prototype, JSHTMLOptionElementPrototype::self(exec, globalObject), None);
70 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), element.release())));
/external/webkit/Source/WebKit/mac/WebView/
H A DWebScriptDebugger.h65 JSC::JSGlobalObject* globalObject() const { return m_globalObject.get(); } function in class:WebScriptDebugger
/external/webkit/Source/JavaScriptCore/API/
H A DJSCallbackFunction.cpp45 JSCallbackFunction::JSCallbackFunction(ExecState* exec, JSGlobalObject* globalObject, JSObjectCallAsFunctionCallback callback, const Identifier& name) argument
46 : InternalFunction(&exec->globalData(), globalObject, globalObject->callbackFunctionStructure(), name)
/external/webkit/Source/JavaScriptCore/interpreter/
H A DRegisterFile.cpp73 void RegisterFile::setGlobalObject(JSGlobalObject* globalObject) argument
75 m_globalObject.set(globalObject->globalData(), globalObject, &m_globalObjectOwner, this);
78 JSGlobalObject* RegisterFile::globalObject() function in class:JSC::RegisterFile
/external/webkit/Source/JavaScriptCore/qt/benchmarks/qscriptengine/
H A Dtst_qscriptengine.cpp38 void globalObject();
124 void tst_QScriptEngine::globalObject() function in class:tst_QScriptEngine
128 engine.globalObject();
/external/webkit/Source/JavaScriptCore/runtime/
H A DErrorConstructor.cpp32 ErrorConstructor::ErrorConstructor(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, ErrorPrototype* errorPrototype) argument
33 : InternalFunction(&exec->globalData(), globalObject, structure, Identifier(exec, errorPrototype->classInfo()->className))
45 Structure* errorStructure = asInternalFunction(exec->callee())->globalObject()->errorStructure();
58 Structure* errorStructure = asInternalFunction(exec->callee())->globalObject()->errorStructure();
H A DInternalFunction.cpp44 InternalFunction::InternalFunction(JSGlobalData* globalData, JSGlobalObject* globalObject, Structure* structure, const Identifier& name) argument
45 : JSObjectWithGlobalObject(globalObject, structure)
H A DNumberObject.cpp45 NumberObject* constructNumber(ExecState* exec, JSGlobalObject* globalObject, JSValue number) argument
47 NumberObject* object = new (exec) NumberObject(exec->globalData(), globalObject->numberObjectStructure());

Completed in 195 milliseconds

1234567