HomeSort by relevance Sort by last modified time
    Searched refs:identifierHashes (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/css/
SelectorFilter.h 52 inline bool fastRejectSelector(const unsigned* identifierHashes) const;
53 static void collectIdentifierHashes(const CSSSelector*, unsigned* identifierHashes, unsigned maximumIdentifierCount);
60 Vector<unsigned, 4> identifierHashes;
70 inline bool SelectorFilter::fastRejectSelector(const unsigned* identifierHashes) const
73 for (unsigned n = 0; n < maximumIdentifierCount && identifierHashes[n]; ++n) {
74 if (!m_ancestorIdentifierFilter->mayContain(identifierHashes[n]))
SelectorFilter.cpp 39 static inline void collectElementIdentifierHashes(const Element& element, Vector<unsigned, 4>& identifierHashes)
41 identifierHashes.append(element.localName().impl()->existingHash() * TagNameSalt);
43 identifierHashes.append(element.idForStyleResolution().impl()->existingHash() * IdAttributeSalt);
48 identifierHashes.append(classNames[i].impl()->existingHash() * ClassAttributeSalt);
61 collectElementIdentifierHashes(parent, parentFrame.identifierHashes);
62 size_t count = parentFrame.identifierHashes.size();
64 m_ancestorIdentifierFilter->add(parentFrame.identifierHashes[i]);
72 size_t count = parentFrame.identifierHashes.size();
74 m_ancestorIdentifierFilter->remove(parentFrame.identifierHashes[i]);
131 void SelectorFilter::collectIdentifierHashes(const CSSSelector* selector, unsigned* identifierHashes, unsigned maximumIdentifierCount
    [all...]

Completed in 170 milliseconds