Searched refs:NodeSet (Results 1 - 25 of 31) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/xml/
H A DXPathNodeSet.h37 class NodeSet : public NoBaseWillBeGarbageCollected<NodeSet> { class in namespace:blink::XPath
40 static PassOwnPtrWillBeRawPtr<NodeSet> create() { return adoptPtrWillBeNoop(new NodeSet); }
41 static PassOwnPtrWillBeRawPtr<NodeSet> create(const NodeSet&);
49 void swap(NodeSet& other) { std::swap(m_isSorted, other.m_isSorted); std::swap(m_subtreesAreDisjoint, other.m_subtreesAreDisjoint); m_nodes.swap(other.m_nodes); }
51 // NodeSet itself does not verify that nodes in it are unique.
53 void append(const NodeSet& nodeSet) { m_nodes.appendVector(nodeSet.m_nodes); }
61 // NodeSet itsel
76 NodeSet() : m_isSorted(true), m_subtreesAreDisjoint(false) { } function in class:blink::XPath::NodeSet
[all...]
H A DXPathValue.h42 static PassRefPtrWillBeRawPtr<ValueData> create(const NodeSet& nodeSet) { return adoptRefWillBeNoop(new ValueData(nodeSet)); }
43 static PassRefPtrWillBeRawPtr<ValueData> create(PassOwnPtrWillBeRawPtr<NodeSet> nodeSet) { return adoptRefWillBeNoop(new ValueData(nodeSet)); }
46 NodeSet& nodeSet() { return *m_nodeSet; }
51 ValueData() : m_nodeSet(NodeSet::create()) { }
52 explicit ValueData(const NodeSet& nodeSet) : m_nodeSet(NodeSet::create(nodeSet)) { }
53 explicit ValueData(PassOwnPtrWillBeRawPtr<NodeSet> nodeSet) : m_nodeSet(nodeSet) { }
54 explicit ValueData(const String& string) : m_string(string), m_nodeSet(NodeSet::create()) { }
56 OwnPtrWillBeMember<NodeSet> m_nodeSet;
71 Value(const NodeSet
[all...]
H A DXPathValue.cpp51 const NodeSet& Value::toNodeSet(EvaluationContext* context) const
57 DEFINE_STATIC_LOCAL(OwnPtrWillBePersistent<NodeSet>, emptyNodeSet, (NodeSet::create()));
64 NodeSet& Value::modifiableNodeSet(EvaluationContext& context)
H A DXPathPath.cpp64 NodeSet& nodes = v.modifiableNodeSet(evaluationContext);
68 OwnPtrWillBeRawPtr<NodeSet> newNodes(NodeSet::create());
127 OwnPtrWillBeRawPtr<NodeSet> nodes(NodeSet::create());
134 void LocationPath::evaluate(EvaluationContext& context, NodeSet& nodes) const
140 OwnPtrWillBeRawPtr<NodeSet> newNodes(NodeSet::create());
154 OwnPtrWillBeRawPtr<NodeSet> matches(NodeSet
[all...]
H A DXPathNodeSet.cpp44 PassOwnPtrWillBeRawPtr<NodeSet> NodeSet::create(const NodeSet& other)
46 OwnPtrWillBeRawPtr<NodeSet> nodeSet = NodeSet::create();
156 void NodeSet::sort() const
212 void NodeSet::traversalSort() const
250 void NodeSet::reverse()
264 Node* NodeSet::firstNode() const
275 Node* NodeSet
[all...]
H A DXPathResult.h88 XPath::NodeSet& nodeSet() { return *m_nodeSet; }
92 OwnPtrWillBeMember<XPath::NodeSet> m_nodeSet; // FIXME: why duplicate the node set stored in m_value?
H A DXPathPredicate.cpp119 const NodeSet& lhsSet = lhs.toNodeSet(&context);
126 const NodeSet& rhsSet = rhs.toNodeSet(&context);
171 const NodeSet& rhsSet = rhs.toNodeSet(&context);
191 // Neither side is a NodeSet.
257 NodeSet& resultSet = lhsResult.modifiableNodeSet(context);
258 const NodeSet& rhsNodes = rhs.toNodeSet(&context);
H A DXPathResult.cpp60 m_nodeSet = NodeSet::create(m_value.toNodeSet(&context));
161 const NodeSet& nodes = m_value.toNodeSet(0);
215 const NodeSet& nodes = m_value.toNodeSet(0);
H A DXPathStep.h103 void evaluate(EvaluationContext&, Node* context, NodeSet&) const;
114 void nodesInAxis(EvaluationContext&, Node* context, NodeSet&) const;
H A DXPathPath.h63 void evaluate(EvaluationContext&, NodeSet&) const; // nodes is an input/output parameter
H A DXPathStep.cpp129 void Step::evaluate(EvaluationContext& evaluationContext, Node* context, NodeSet& nodes) const
139 OwnPtrWillBeRawPtr<NodeSet> newNodes(NodeSet::create());
258 void Step::nodesInAxis(EvaluationContext& evaluationContext, Node* context, NodeSet& nodes) const
/external/chromium_org/components/bookmarks/browser/
H A Dbookmark_client.cc28 const NodeSet& nodes,
H A Dbookmark_client.h36 typedef std::set<const BookmarkNode*> NodeSet; typedef in class:bookmarks::BookmarkClient
63 const NodeSet& nodes,
H A Dbookmark_index.h29 // Index) maps from a lower case string to the set (type NodeSet) of
53 typedef std::set<const BookmarkNode*> NodeSet; typedef in class:bookmarks::BookmarkIndex
54 typedef std::map<base::string16, NodeSet> Index;
H A Dbookmark_index.cc79 NodeSet nodes;
83 NodeSet::const_iterator nodes_begin() const;
87 NodeSet::const_iterator nodes_end() const;
90 BookmarkIndex::NodeSet::const_iterator
95 BookmarkIndex::NodeSet::const_iterator BookmarkIndex::Match::nodes_end() const {
173 NodeSet nodes;
180 for (NodeSet::const_iterator n = i->nodes_begin(); n != i->nodes_end(); ++n)
298 NodeSet intersection;
317 NodeSet intersection;
/external/chromium_org/v8/src/compiler/
H A Dnode.h68 typedef std::set<Node*, std::less<Node*>, zone_allocator<Node*> > NodeSet; typedef in namespace:v8::internal::compiler
69 typedef NodeSet::iterator NodeSetIter;
70 typedef NodeSet::reverse_iterator NodeSetRIter;
H A Dgraph-visualizer.cc39 NodeSet all_nodes_;
40 NodeSet white_nodes_;
268 all_nodes_(NodeSet::key_compare(), NodeSet::allocator_type(zone)),
269 white_nodes_(NodeSet::key_compare(), NodeSet::allocator_type(zone)),
H A Dverifier.cc49 : reached_from_start(NodeSet::key_compare(),
50 NodeSet::allocator_type(zone)),
51 reached_from_end(NodeSet::key_compare(),
52 NodeSet::allocator_type(zone)) {}
58 NodeSet reached_from_start;
59 NodeSet reached_from_end;
248 for (NodeSet::iterator it = visitor.reached_from_end.begin();
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DHitTestResult.h52 typedef WillBeHeapListHashSet<RefPtrWillBeMember<Node> > NodeSet; typedef in class:blink::HitTestResult
127 // If m_rectBasedTestResult is 0 then set it to a new NodeSet. Return *m_rectBasedTestResult. Lazy allocation makes
128 // sense because the NodeSet is seldom necessary, and it's somewhat expensive to allocate and initialize. This method does
130 const NodeSet& rectBasedTestResult() const;
136 NodeSet& mutableRectBasedTestResult(); // See above.
153 mutable OwnPtrWillBeMember<NodeSet> m_rectBasedTestResult;
H A DHitTestResult.cpp89 // Only copy the NodeSet in case of rect hit test.
90 m_rectBasedTestResult = adoptPtrWillBeNoop(other.m_rectBasedTestResult ? new NodeSet(*other.m_rectBasedTestResult) : 0);
110 // Only copy the NodeSet in case of rect hit test.
111 m_rectBasedTestResult = adoptPtrWillBeNoop(other.m_rectBasedTestResult ? new NodeSet(*other.m_rectBasedTestResult) : 0);
434 NodeSet& set = mutableRectBasedTestResult();
435 for (NodeSet::const_iterator it = other.m_rectBasedTestResult->begin(), last = other.m_rectBasedTestResult->end(); it != last; ++it)
440 const HitTestResult::NodeSet& HitTestResult::rectBasedTestResult() const
443 m_rectBasedTestResult = adoptPtrWillBeNoop(new NodeSet);
447 HitTestResult::NodeSet& HitTestResult::mutableRectBasedTestResult()
450 m_rectBasedTestResult = adoptPtrWillBeNoop(new NodeSet);
[all...]
/external/apache-xml/src/main/java/org/apache/xpath/
H A DNodeSet.java19 * $Id: NodeSet.java 468655 2006-10-28 07:12:06Z minchau $
36 * <p>The NodeSet class can act as either a NodeVector,
52 * <p>Thought: Should NodeSet really implement NodeList and NodeIterator,
59 public class NodeSet class in inherits:NodeList,NodeIterator,Cloneable,ContextNodeList
66 public NodeSet() method in class:NodeSet
77 public NodeSet(int blocksize) method in class:NodeSet
84 * Create a NodeSet, and copy the members of the
89 public NodeSet(NodeList nodelist) method in class:NodeSet
98 * Create a NodeSet, and copy the members of the
99 * given NodeSet int
103 public NodeSet(NodeSet nodelist) method in class:NodeSet
117 public NodeSet(NodeIterator ni) method in class:NodeSet
130 public NodeSet(Node node) method in class:NodeSet
[all...]
/external/llvm/include/llvm/CodeGen/PBQP/
H A DRegAllocSolver.h284 NodeSet::iterator NItr = OptimallyReducibleNodes.begin();
306 NodeSet::iterator NItr = ConservativelyAllocatableNodes.begin();
313 NodeSet::iterator NItr =
341 typedef std::set<NodeId> NodeSet; typedef in class:PBQP::RegAlloc::RegAllocSolverImpl
342 NodeSet OptimallyReducibleNodes;
343 NodeSet ConservativelyAllocatableNodes;
344 NodeSet NotProvablyAllocatableNodes;
/external/chromium_org/components/enhanced_bookmarks/
H A Dmetadata_accessor.h25 typedef std::set<const BookmarkNode*> NodeSet; typedef in namespace:enhanced_bookmarks
/external/chromium_org/chrome/browser/bookmarks/
H A Dchrome_bookmark_client.h54 const NodeSet& nodes,
H A Dchrome_bookmark_client.cc127 const NodeSet& nodes,
131 for (NodeSet::const_iterator i = nodes.begin(); i != nodes.end(); ++i) {

Completed in 1090 milliseconds

12