Home
last modified time | relevance | path

Searched refs:domObject (Results 1 – 10 of 10) sorted by relevance

/external/webkit/Source/WebCore/bindings/v8/
DDOMData.h56 …c void handleWeakObject(DOMDataStore::DOMWrapperMapType, v8::Persistent<v8::Object>, T* domObject);
64 static void derefObject(WrapperTypeInfo* type, void* domObject);
69 …virtual void visitDOMWrapper(DOMDataStore* store, T* domObject, v8::Persistent<v8::Object> v8Objec… in visitDOMWrapper() argument
72 derefObject(type, domObject); in visitDOMWrapper()
81 …kObject(DOMDataStore::DOMWrapperMapType mapType, v8::Persistent<v8::Object> v8Object, T* domObject) in handleWeakObject() argument
91 if (domMap->removeIfPresent(domObject, v8Object)) { in handleWeakObject()
92 derefObject(type, domObject); in handleWeakObject()
101 derefObject(type, domObject); in handleWeakObject()
DDOMDataStore.cpp137 void DOMDataStore::weakDOMObjectCallback(v8::Persistent<v8::Value> v8Object, void* domObject) in weakDOMObjectCallback() argument
141 …andleWeakObject(DOMDataStore::DOMObjectMap, v8::Persistent<v8::Object>::Cast(v8Object), domObject); in weakDOMObjectCallback()
144 void DOMDataStore::weakActiveDOMObjectCallback(v8::Persistent<v8::Value> v8Object, void* domObject) in weakActiveDOMObjectCallback() argument
148 …eakObject(DOMDataStore::ActiveDOMObjectMap, v8::Persistent<v8::Object>::Cast(v8Object), domObject); in weakActiveDOMObjectCallback()
151 void DOMDataStore::weakNodeCallback(v8::Persistent<v8::Value> value, void* domObject) in weakNodeCallback() argument
155 Node* node = static_cast<Node*>(domObject); in weakNodeCallback()
178 …d DOMDataStore::weakSVGElementInstanceCallback(v8::Persistent<v8::Value> v8Object, void* domObject) in weakSVGElementInstanceCallback() argument
182 …tanceMap, v8::Persistent<v8::Object>::Cast(v8Object), static_cast<SVGElementInstance*>(domObject)); in weakSVGElementInstanceCallback()
DDOMDataStore.h95 … static void weakActiveDOMObjectCallback(v8::Persistent<v8::Value> v8Object, void* domObject);
98 static void weakNodeCallback(v8::Persistent<v8::Value> v8Object, void* domObject);
99 static void weakDOMObjectCallback(v8::Persistent<v8::Value> v8Object, void* domObject);
101 … static void weakSVGElementInstanceCallback(v8::Persistent<v8::Value> v8Object, void* domObject);
DDOMData.cpp59 void DOMData::derefObject(WrapperTypeInfo* type, void* domObject) in derefObject() argument
61 type->derefObject(domObject); in derefObject()
/external/webkit/Source/WebCore/bindings/js/
DJSDOMBinding.h155 inline void* wrapperContext(DOMWrapperWorld*, void* domObject) { return domObject; } in wrapperContext() argument
157 …pename DOMClass> inline JSDOMWrapper* getCachedWrapper(DOMWrapperWorld* world, DOMClass* domObject) in getCachedWrapper() argument
159 if (JSDOMWrapper* wrapper = getInlineCachedWrapper(world, domObject)) in getCachedWrapper()
161 return world->m_wrappers.get(domObject).get(); in getCachedWrapper()
164 …me DOMClass> inline void cacheWrapper(DOMWrapperWorld* world, DOMClass* domObject, JSDOMWrapper* w… in cacheWrapper() argument
166 if (setInlineCachedWrapper(world, domObject, wrapper)) in cacheWrapper()
168 ASSERT(!world->m_wrappers.contains(domObject)); in cacheWrapper()
169 …rappers.set(domObject, JSC::Weak<JSDOMWrapper>(*world->globalData(), wrapper, wrapperOwner(world, in cacheWrapper()
172 … DOMClass> inline void uncacheWrapper(DOMWrapperWorld* world, DOMClass* domObject, JSDOMWrapper* w… in uncacheWrapper() argument
174 if (clearInlineCachedWrapper(world, domObject, wrapper)) in uncacheWrapper()
[all …]
DDOMWrapperWorld.cpp35 void* domObject = context; in finalize() local
36 uncacheWrapper(m_world, domObject, wrapper); in finalize()
/external/webkit/Source/WebCore/bindings/scripts/test/JS/
DJSTestSerializedScriptValueInterface.cpp157 …JSTestSerializedScriptValueInterface* domObject = static_cast<JSTestSerializedScriptValueInterface… in jsTestSerializedScriptValueInterfaceConstructor() local
158 return JSTestSerializedScriptValueInterface::getConstructor(exec, domObject->globalObject()); in jsTestSerializedScriptValueInterfaceConstructor()
DJSTestMediaQueryListListener.cpp158 …JSTestMediaQueryListListener* domObject = static_cast<JSTestMediaQueryListListener*>(asObject(slot… in jsTestMediaQueryListListenerConstructor() local
159 return JSTestMediaQueryListListener::getConstructor(exec, domObject->globalObject()); in jsTestMediaQueryListListenerConstructor()
DJSTestInterface.cpp162 JSTestInterface* domObject = static_cast<JSTestInterface*>(asObject(slotBase)); in jsTestInterfaceConstructor() local
163 return JSTestInterface::getConstructor(exec, domObject->globalObject()); in jsTestInterfaceConstructor()
DJSTestObj.cpp603 JSTestObj* domObject = static_cast<JSTestObj*>(asObject(slotBase)); in jsTestObjConstructor() local
604 return JSTestObj::getConstructor(exec, domObject->globalObject()); in jsTestObjConstructor()