Searched refs:domObject (Results 1 – 7 of 7) sorted by relevance
/external/webkit/WebCore/bindings/v8/ |
D | DOMData.cpp | 61 void DOMData::ensureDeref(V8ClassIndex::V8WrapperType type, void* domObject) in ensureDeref() argument 65 derefObject(type, domObject); in ensureDeref() 70 m_delayedObjectMap.set(domObject, type); in ensureDeref() 81 void DOMData::derefObject(V8ClassIndex::V8WrapperType type, void* domObject) in derefObject() argument 85 static_cast<Node*>(domObject)->deref(); in derefObject() 89 case V8ClassIndex::type: static_cast<name*>(domObject)->deref(); break; in derefObject() 95 case V8ClassIndex::type: static_cast<name*>(domObject)->deref(); break; in derefObject() 101 static_cast<V8SVGPODTypeWrapper<name>*>(domObject)->deref(); break; in derefObject()
|
D | DOMDataStore.cpp | 145 void DOMDataStore::weakDOMObjectCallback(v8::Persistent<v8::Value> v8Object, void* domObject) in weakDOMObjectCallback() argument 149 …andleWeakObject(DOMDataStore::DOMObjectMap, v8::Persistent<v8::Object>::Cast(v8Object), domObject); in weakDOMObjectCallback() 152 void DOMDataStore::weakActiveDOMObjectCallback(v8::Persistent<v8::Value> v8Object, void* domObject) in weakActiveDOMObjectCallback() argument 156 …eakObject(DOMDataStore::ActiveDOMObjectMap, v8::Persistent<v8::Object>::Cast(v8Object), domObject); in weakActiveDOMObjectCallback() 159 void DOMDataStore::weakNodeCallback(v8::Persistent<v8::Value> v8Object, void* domObject) in weakNodeCallback() argument 163 Node* node = static_cast<Node*>(domObject); in weakNodeCallback() 193 …d DOMDataStore::weakSVGElementInstanceCallback(v8::Persistent<v8::Value> v8Object, void* domObject) in weakSVGElementInstanceCallback() argument 197 …tanceMap, v8::Persistent<v8::Object>::Cast(v8Object), static_cast<SVGElementInstance*>(domObject)); in weakSVGElementInstanceCallback() 200 …DOMDataStore::weakSVGObjectWithContextCallback(v8::Persistent<v8::Value> v8Object, void* domObject) in weakSVGObjectWithContextCallback() argument 204 …t(DOMDataStore::DOMSVGObjectWithContextMap, v8::Persistent<v8::Object>::Cast(v8Object), domObject); in weakSVGObjectWithContextCallback()
|
D | DOMData.h | 54 …c void handleWeakObject(DOMDataStore::DOMWrapperMapType, v8::Persistent<v8::Object>, T* domObject); 72 void ensureDeref(V8ClassIndex::V8WrapperType type, void* domObject); 73 static void derefObject(V8ClassIndex::V8WrapperType type, void* domObject); 78 virtual void visitDOMWrapper(T* domObject, v8::Persistent<v8::Object> v8Object) in visitDOMWrapper() argument 81 derefObject(type, domObject); in visitDOMWrapper() 99 …kObject(DOMDataStore::DOMWrapperMapType mapType, v8::Persistent<v8::Object> v8Object, T* domObject) in handleWeakObject() argument 108 if (domMap->removeIfPresent(domObject, v8Object)) { in handleWeakObject() 110 store->domData()->derefObject(V8DOMWrapper::domWrapperType(v8Object), domObject); in handleWeakObject()
|
D | V8GCController.cpp | 151 void V8GCController::gcProtect(void* domObject) in gcProtect() argument 153 if (!domObject) in gcProtect() 155 if (gcProtectedMap().contains(domObject)) in gcProtect() 157 if (!getDOMObjectMap().contains(domObject)) in gcProtect() 161 v8::Persistent<v8::Object> wrapper = getDOMObjectMap().get(domObject); in gcProtect() 165 gcProtectedMap().set(domObject, *v8::Persistent<v8::Object>::New(wrapper)); in gcProtect() 168 void V8GCController::gcUnprotect(void* domObject) in gcUnprotect() argument 170 if (!domObject) in gcUnprotect() 172 if (!gcProtectedMap().contains(domObject)) in gcUnprotect() 176 v8::Persistent<v8::Object> wrapper(gcProtectedMap().take(domObject)); in gcUnprotect()
|
D | DOMDataStore.h | 277 … static void weakActiveDOMObjectCallback(v8::Persistent<v8::Value> v8Object, void* domObject); 280 static void weakNodeCallback(v8::Persistent<v8::Value> v8Object, void* domObject); 281 static void weakDOMObjectCallback(v8::Persistent<v8::Value> v8Object, void* domObject); 283 … static void weakSVGElementInstanceCallback(v8::Persistent<v8::Value> v8Object, void* domObject); 285 … static void weakSVGObjectWithContextCallback(v8::Persistent<v8::Value> v8Object, void* domObject);
|
D | V8GCController.h | 70 static void gcProtect(void* domObject); 71 static void gcUnprotect(void* domObject);
|
D | ScriptController.cpp | 94 void ScriptController::gcProtectJSWrapper(void* domObject) in gcProtectJSWrapper() argument 96 V8GCController::gcProtect(domObject); in gcProtectJSWrapper() 99 void ScriptController::gcUnprotectJSWrapper(void* domObject) in gcUnprotectJSWrapper() argument 101 V8GCController::gcUnprotect(domObject); in gcUnprotectJSWrapper()
|