Searched refs:m_isSorted (Results 1 - 2 of 2) sorted by relevance

/macosx-10.9.5/WebCore-7537.78.1/xml/
H A DXPathNodeSet.h41 NodeSet() : m_isSorted(true), m_subtreesAreDisjoint(false) { }
48 void swap(NodeSet& other) { std::swap(m_isSorted, other.m_isSorted); std::swap(m_subtreesAreDisjoint, other.m_subtreesAreDisjoint); m_nodes.swap(other.m_nodes); }
62 void markSorted(bool isSorted) { m_isSorted = isSorted; }
63 bool isSorted() const { return m_isSorted || m_nodes.size() < 2; }
67 // No node in the set is ancestor of another. Unlike m_isSorted, this is assumed to be false, unless the caller sets it to true.
76 bool m_isSorted; member in class:WebCore::XPath::NodeSet
H A DXPathNodeSet.cpp140 if (m_isSorted)
145 const_cast<bool&>(m_isSorted) = true;

Completed in 120 milliseconds