Home
last modified time | relevance | path

Searched refs:new_child (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tools/aapt2/
DDominatorTree.cpp42 bool DominatorTree::Node::TryAddChild(std::unique_ptr<Node> new_child) { in TryAddChild() argument
43 CHECK(new_child->value_) << "cannot add a root or empty node as a child"; in TryAddChild()
44 if (value_ && !Dominates(new_child.get())) { in TryAddChild()
48 return AddChild(std::move(new_child)); in TryAddChild()
51 bool DominatorTree::Node::AddChild(std::unique_ptr<Node> new_child) { in AddChild() argument
55 if (new_child->Dominates(child.get())) { in AddChild()
56 child->parent_ = new_child.get(); in AddChild()
57 new_child->children_.push_back(std::move(child)); in AddChild()
73 if (child->Dominates(new_child.get())) { in AddChild()
74 child->AddChild(std::move(new_child)); in AddChild()
[all …]
DDominatorTree.h68 bool TryAddChild(std::unique_ptr<Node> new_child);
71 bool AddChild(std::unique_ptr<Node> new_child);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/
Dstubout.py109 def Set(self, parent, child_name, new_child): argument
126 setattr(parent, child_name, new_child)