Home | History | Annotate | Download | only in dom

Lines Matching refs:collectionType

84     PassRefPtr<T> addCacheWithAtomicName(Node* node, CollectionType collectionType, const AtomicString& name)
86 NodeListAtomicNameCacheMap::AddResult result = m_atomicNameCaches.add(namedNodeListKey(collectionType, name), 0);
90 RefPtr<T> list = T::create(node, collectionType, name);
97 PassRefPtr<T> addCacheWithAtomicName(Node* node, CollectionType collectionType)
99 NodeListAtomicNameCacheMap::AddResult result = m_atomicNameCaches.add(namedNodeListKey(collectionType, starAtom), 0);
103 RefPtr<T> list = T::create(node, collectionType);
109 T* cacheWithAtomicName(CollectionType collectionType)
111 return static_cast<T*>(m_atomicNameCaches.get(namedNodeListKey(collectionType, starAtom)));
115 PassRefPtr<T> addCacheWithName(Node* node, CollectionType collectionType, const String& name)
117 NodeListNameCacheMap::AddResult result = m_nameCaches.add(namedNodeListKey(collectionType, name), 0);
138 void removeCacheWithAtomicName(LiveNodeListBase* list, CollectionType collectionType, const AtomicString& name = starAtom)
140 ASSERT(list == m_atomicNameCaches.get(namedNodeListKey(collectionType, name)));
143 m_atomicNameCaches.remove(namedNodeListKey(collectionType, name));
146 void removeCacheWithName(LiveNodeListBase* list, CollectionType collectionType, const String& name)
148 ASSERT(list == m_nameCaches.get(namedNodeListKey(collectionType, name)));
151 m_nameCaches.remove(namedNodeListKey(collectionType, name));
213 std::pair<unsigned char, AtomicString> namedNodeListKey(CollectionType type, const AtomicString& name)
218 std::pair<unsigned char, String> namedNodeListKey(CollectionType type, const String& name)