Searched refs:globalObject (Results 1 - 25 of 244) sorted by relevance

12345678910

/external/webkit/Source/JavaScriptCore/runtime/
H A DJSObjectWithGlobalObject.cpp33 JSObjectWithGlobalObject::JSObjectWithGlobalObject(JSGlobalObject* globalObject, Structure* structure) argument
34 : JSNonFinalObject(globalObject->globalData(), structure)
37 ASSERT(!globalObject || globalObject->isGlobalObject());
38 if (!globalObject)
41 putAnonymousValue(globalObject->globalData(), GlobalObjectSlot, globalObject);
44 JSObjectWithGlobalObject::JSObjectWithGlobalObject(JSGlobalData& globalData, JSGlobalObject* globalObject, Structure* structure) argument
48 ASSERT(!globalObject || globalObject
[all...]
/external/webkit/Source/WebCore/bindings/js/
H A DJSSVGPathSegCustom.cpp61 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, SVGPathSeg* object) argument
71 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegClosePath, object);
73 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegMovetoAbs, object);
75 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegMovetoRel, object);
77 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegLinetoAbs, object);
79 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegLinetoRel, object);
81 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegCurvetoCubicAbs, object);
83 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegCurvetoCubicRel, object);
85 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegCurvetoQuadraticAbs, object);
87 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegCurvetoQuadraticRe
[all...]
H A DJSIDBAnyCustom.cpp54 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, IDBAny* idbAny) argument
65 return toJS(exec, globalObject, idbAny->idbCursor());
67 return toJS(exec, globalObject, idbAny->idbDatabase());
69 return toJS(exec, globalObject, idbAny->idbFactory());
71 return toJS(exec, globalObject, idbAny->idbIndex());
73 return toJS(exec, globalObject, idbAny->idbKey());
75 return toJS(exec, globalObject, idbAny->idbObjectStore());
77 return toJS(exec, globalObject, idbAny->idbTransaction());
79 return idbAny->serializedScriptValue()->deserialize(exec, globalObject);
H A DJSCDATASectionCustom.cpp35 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, CDATASection* section) argument
40 return CREATE_DOM_NODE_WRAPPER(exec, globalObject, CDATASection, section);
H A DJSTextCustom.cpp35 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, Text* text) argument
40 return CREATE_DOM_NODE_WRAPPER(exec, globalObject, Text, text);
H A DJSTouchCustom.cpp37 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, Touch* touch) argument
42 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, Touch, touch);
H A DJSTouchListCustom.cpp37 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, TouchList* touchList) argument
42 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, TouchList, touchList);
H A DJSEventCustom.cpp114 return impl()->isClipboardEvent() ? toJS(exec, globalObject(), impl()->clipboardData()) : jsUndefined();
117 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, Event* event) argument
130 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, KeyboardEvent, event);
132 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, TextEvent, event);
134 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, MouseEvent, event);
136 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, WheelEvent, event);
139 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGZoomEvent, event);
142 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CompositionEvent, event);
145 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, TouchEvent, event);
148 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, UIEven
[all...]
H A DJSCSSValueCustom.cpp47 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, CSSValue* value) argument
58 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, WebKitCSSTransformValue, value);
60 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSValueList, value);
63 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPaint, value);
65 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGColor, value);
68 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSPrimitiveValue, value);
70 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSValue, value);
H A DJSCSSRuleCustom.cpp61 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, CSSRule* rule) argument
72 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSStyleRule, rule);
75 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSMediaRule, rule);
78 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSFontFaceRule, rule);
81 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSPageRule, rule);
84 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSImportRule, rule);
87 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSCharsetRule, rule);
90 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, WebKitCSSKeyframeRule, rule);
93 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, WebKitCSSKeyframesRule, rule);
96 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSRul
[all...]
H A DJSCanvasRenderingContextCustom.cpp40 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, CanvasRenderingContext* object) argument
47 return wrap<JSWebGLRenderingContext>(exec, globalObject, static_cast<WebGLRenderingContext*>(object));
50 return wrap<JSCanvasRenderingContext2D>(exec, globalObject, static_cast<CanvasRenderingContext2D*>(object));
H A DJSCustomPositionErrorCallback.h39 static PassRefPtr<JSCustomPositionErrorCallback> create(JSC::JSObject* callback, JSDOMGlobalObject* globalObject) argument
41 return adoptRef(new JSCustomPositionErrorCallback(callback, globalObject));
45 JSCustomPositionErrorCallback(JSC::JSObject* callback, JSDOMGlobalObject* globalObject);
H A DJSEntryCustom.cpp47 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, Entry* entry) argument
53 return getDOMObjectWrapper<JSFileEntry>(exec, globalObject, static_cast<FileEntry*>(entry));
56 return getDOMObjectWrapper<JSDirectoryEntry>(exec, globalObject, static_cast<DirectoryEntry*>(entry));
H A DJSEntrySyncCustom.cpp47 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, EntrySync* entry) argument
53 return getDOMObjectWrapper<JSFileEntrySync>(exec, globalObject, static_cast<FileEntrySync*>(entry));
56 return getDOMObjectWrapper<JSDirectoryEntrySync>(exec, globalObject, static_cast<DirectoryEntrySync*>(entry));
H A DJSHTMLElementCustom.cpp41 scope = scope->push(asObject(toJS(exec, globalObject(), element->ownerDocument())));
45 scope = scope->push(asObject(toJS(exec, globalObject(), form)));
48 return scope->push(asObject(toJS(exec, globalObject(), element)));
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 DJSDOMWrapper.h31 explicit JSDOMWrapper(JSC::JSGlobalObject* globalObject, JSC::Structure* structure) argument
32 : JSObjectWithGlobalObject(globalObject, structure)
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 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 DJSErrorHandler.cpp70 JSDOMGlobalObject* globalObject = toJSDOMGlobalObject(scriptExecutionContext, isolatedWorld());
71 if (!globalObject)
74 ExecState* exec = globalObject->globalExec();
82 Event* savedEvent = globalObject->currentEvent();
83 globalObject->setCurrentEvent(event);
90 JSGlobalData& globalData = globalObject->globalData();
91 DynamicGlobalObjectScope globalObjectScope(globalData, globalData.dynamicGlobalObject ? globalData.dynamicGlobalObject : globalObject);
93 JSValue thisValue = globalObject->toThisObject(exec);
99 globalObject->setCurrentEvent(savedEvent);
H A DJSCustomApplicationInstalledCallback.cpp38 JSCustomApplicationInstalledCallback::JSCustomApplicationInstalledCallback(JSObject* callback, JSDOMGlobalObject* globalObject) argument
39 : m_data(callback, globalObject)
48 ExecState* exec = m_data.globalObject()->globalExec();
H A DJSCustomApplicationInstalledCallback.h39 static PassRefPtr<JSCustomApplicationInstalledCallback> create(JSC::JSObject* callback, JSDOMGlobalObject* globalObject) argument
41 return adoptRef(new JSCustomApplicationInstalledCallback(callback, globalObject));
47 JSCustomApplicationInstalledCallback(JSC::JSObject* callback, JSDOMGlobalObject* globalObject);
/external/webkit/Source/JavaScriptCore/debugger/
H A DDebugger.cpp81 ExecState* exec = function->scope()->globalObject->JSGlobalObject::globalExec();
83 if (m_debugger == function->scope()->globalObject->debugger())
98 void Debugger::attach(JSGlobalObject* globalObject) argument
100 ASSERT(!globalObject->debugger());
101 globalObject->setDebugger(this);
102 m_globalObjects.add(globalObject);
105 void Debugger::detach(JSGlobalObject* globalObject) argument
107 ASSERT(m_globalObjects.contains(globalObject));
108 m_globalObjects.remove(globalObject);
109 globalObject
124 evaluateInGlobalCallFrame(const UString& script, JSValue& exception, JSGlobalObject* globalObject) argument
[all...]
/external/webkit/Source/JavaScriptGlue/
H A Dtestjsglue.cpp47 JSObjectRef globalObject = JSRunCopyGlobalObject(jsRun); local
49 JSObjectRef getX = JSObjectCopyProperty(globalObject, CFSTR("getX"));
50 JSObjectRef jsResult = JSObjectCallFunction(getX, globalObject, 0);

Completed in 218 milliseconds

12345678910