Searched refs:m_selectorArray (Results 1 – 2 of 2) sorted by relevance
43 m_selectorArray = reinterpret_cast<CSSSelector*>(fastMalloc(sizeof(CSSSelector) * otherLength)); in CSSSelectorList()45 new (&m_selectorArray[i]) CSSSelector(other.m_selectorArray[i]); in CSSSelectorList()51 m_selectorArray = list.m_selectorArray; in adopt()52 list.m_selectorArray = 0; in adopt()64 … m_selectorArray = reinterpret_cast<CSSSelector*>(fastMalloc(sizeof(CSSSelector) * flattenedSize)); in adoptSelectorVector()71 memcpy(&m_selectorArray[arrayIndex], currentSelector, sizeof(CSSSelector)); in adoptSelectorVector()75 ASSERT(!m_selectorArray[arrayIndex].isLastInSelectorList()); in adoptSelectorVector()77 m_selectorArray[arrayIndex].setNotLastInTagHistory(); in adoptSelectorVector()80 ASSERT(m_selectorArray[arrayIndex - 1].isLastInTagHistory()); in adoptSelectorVector()83 m_selectorArray[arrayIndex - 1].setLastInSelectorList(); in adoptSelectorVector()[all …]
38 CSSSelectorList() : m_selectorArray(0) { } in CSSSelectorList()46 bool isValid() const { return !!m_selectorArray; } in isValid()47 const CSSSelector* first() const { return m_selectorArray; } in first()49 bool hasOneSelector() const { return m_selectorArray && !next(m_selectorArray); } in hasOneSelector()50 const CSSSelector* selectorAt(size_t index) const { return &m_selectorArray[index]; } in selectorAt()58 return current - m_selectorArray; in indexOfNextSelectorAfter()77 CSSSelector* m_selectorArray; variable