HomeSort by relevance Sort by last modified time
    Searched refs:globalObject (Results 1 - 25 of 244) sorted by null

1 2 3 4 5 6 7 8 910

  /external/webkit/Source/JavaScriptCore/runtime/
JSObjectWithGlobalObject.cpp 33 JSObjectWithGlobalObject::JSObjectWithGlobalObject(JSGlobalObject* globalObject, Structure* structure)
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)
48 ASSERT(!globalObject || globalObject->isGlobalObject())
    [all...]
  /external/webkit/Source/WebCore/bindings/js/
JSSVGPathSegCustom.cpp 61 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, SVGPathSeg* object)
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, SVGPathSegCurvetoQuadraticRel, object)
    [all...]
JSIDBAnyCustom.cpp 54 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, IDBAny* idbAny)
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);
JSCDATASectionCustom.cpp 35 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, CDATASection* section)
40 return CREATE_DOM_NODE_WRAPPER(exec, globalObject, CDATASection, section);
JSTextCustom.cpp 35 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, Text* text)
40 return CREATE_DOM_NODE_WRAPPER(exec, globalObject, Text, text);
JSTouchCustom.cpp 37 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, Touch* touch)
42 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, Touch, touch);
JSTouchListCustom.cpp 37 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, TouchList* touchList)
42 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, TouchList, touchList);
JSEventCustom.cpp 114 return impl()->isClipboardEvent() ? toJS(exec, globalObject(), impl()->clipboardData()) : jsUndefined();
117 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, Event* event)
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, UIEvent, event)
    [all...]
JSCustomPositionErrorCallback.h 39 static PassRefPtr<JSCustomPositionErrorCallback> create(JSC::JSObject* callback, JSDOMGlobalObject* globalObject)
41 return adoptRef(new JSCustomPositionErrorCallback(callback, globalObject));
45 JSCustomPositionErrorCallback(JSC::JSObject* callback, JSDOMGlobalObject* globalObject);
JSCSSValueCustom.cpp 47 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, CSSValue* value)
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);
JSCSSRuleCustom.cpp 61 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, CSSRule* rule)
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, CSSRule, rule)
    [all...]
JSCanvasRenderingContextCustom.cpp 40 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, CanvasRenderingContext* object)
47 return wrap<JSWebGLRenderingContext>(exec, globalObject, static_cast<WebGLRenderingContext*>(object));
50 return wrap<JSCanvasRenderingContext2D>(exec, globalObject, static_cast<CanvasRenderingContext2D*>(object));
JSCustomApplicationInstalledCallback.h 39 static PassRefPtr<JSCustomApplicationInstalledCallback> create(JSC::JSObject* callback, JSDOMGlobalObject* globalObject)
41 return adoptRef(new JSCustomApplicationInstalledCallback(callback, globalObject));
47 JSCustomApplicationInstalledCallback(JSC::JSObject* callback, JSDOMGlobalObject* globalObject);
JSEntryCustom.cpp 47 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, Entry* entry)
53 return getDOMObjectWrapper<JSFileEntry>(exec, globalObject, static_cast<FileEntry*>(entry));
56 return getDOMObjectWrapper<JSDirectoryEntry>(exec, globalObject, static_cast<DirectoryEntry*>(entry));
JSEntrySyncCustom.cpp 47 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, EntrySync* entry)
53 return getDOMObjectWrapper<JSFileEntrySync>(exec, globalObject, static_cast<FileEntrySync*>(entry));
56 return getDOMObjectWrapper<JSDirectoryEntrySync>(exec, globalObject, static_cast<DirectoryEntrySync*>(entry));
JSHTMLElementCustom.cpp 41 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)));
JSCustomPositionCallback.cpp 40 JSCustomPositionCallback::JSCustomPositionCallback(JSObject* callback, JSDOMGlobalObject* globalObject)
41 : PositionCallback(globalObject->scriptExecutionContext())
42 , m_data(callback, globalObject)
55 ExecState* exec = m_data.globalObject()->globalExec();
JSCustomPositionErrorCallback.cpp 40 JSCustomPositionErrorCallback::JSCustomPositionErrorCallback(JSObject* callback, JSDOMGlobalObject* globalObject)
41 : PositionErrorCallback(globalObject->scriptExecutionContext())
42 , m_data(callback, globalObject)
55 ExecState* exec = m_data.globalObject()->globalExec();
JSCustomPositionCallback.h 40 static PassRefPtr<JSCustomPositionCallback> create(JSC::JSObject* callback, JSDOMGlobalObject* globalObject)
42 return adoptRef(new JSCustomPositionCallback(callback, globalObject));
JSDOMWrapper.h 31 explicit JSDOMWrapper(JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
32 : JSObjectWithGlobalObject(globalObject, structure)
JSAudioConstructor.cpp 42 JSAudioConstructor::JSAudioConstructor(ExecState* exec, JSDOMGlobalObject* globalObject)
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(),
JSImageConstructor.cpp 37 JSImageConstructor::JSImageConstructor(ExecState* exec, JSDOMGlobalObject* globalObject)
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(),
JSErrorHandler.cpp 70 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);
  /external/webkit/Source/JavaScriptCore/debugger/
Debugger.cpp 81 ExecState* exec = function->scope()->globalObject->JSGlobalObject::globalExec();
83 if (m_debugger == function->scope()->globalObject->debugger())
98 void Debugger::attach(JSGlobalObject* globalObject)
100 ASSERT(!globalObject->debugger());
101 globalObject->setDebugger(this);
102 m_globalObjects.add(globalObject);
105 void Debugger::detach(JSGlobalObject* globalObject)
107 ASSERT(m_globalObjects.contains(globalObject));
108 m_globalObjects.remove(globalObject);
109 globalObject->setDebugger(0)
    [all...]
  /external/webkit/Source/JavaScriptGlue/
testjsglue.cpp 47 JSObjectRef globalObject = JSRunCopyGlobalObject(jsRun);
49 JSObjectRef getX = JSObjectCopyProperty(globalObject, CFSTR("getX"));
50 JSObjectRef jsResult = JSObjectCallFunction(getX, globalObject, 0);

Completed in 234 milliseconds

1 2 3 4 5 6 7 8 910