Home
last modified time | relevance | path

Searched refs:Children (Results 1 – 25 of 105) sorted by relevance

12345

/third_party/mindspore/tests/ut/cpp/dataset/
Dtree_modifying_function_test.cc64 std::shared_ptr<DatasetNode> ds4_node = ir_tree->RootIRNode()->Children()[0]->Children()[0]; in TEST_F()
69 EXPECT_TRUE( ds4_node->Children()[2] == node_to_insert); in TEST_F()
121 std::shared_ptr<DatasetNode> ds4_node = ir_tree->RootIRNode()->Children()[0]->Children()[0]; in TEST_F()
124 std::shared_ptr<DatasetNode> ds2_node = ds4_node->Children()[1]; in TEST_F()
127 EXPECT_TRUE( ds4_node->Children()[1] == ds6_to_insert); in TEST_F()
128 EXPECT_TRUE( ds4_node->Children()[2] == ds2_node); in TEST_F()
134 ds4_node = ir_tree->RootIRNode()->Children()[0]->Children()[0]; in TEST_F()
137 std::shared_ptr<DatasetNode> ds3_node = ds4_node->Children()[0]; in TEST_F()
140 EXPECT_TRUE( ds4_node->Children()[0] == ds6_to_insert); in TEST_F()
141 EXPECT_TRUE( ds4_node->Children()[1] == ds3_node); in TEST_F()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf/
DFieldMaskTree.cs65 public Dictionary<string, Node> Children { get; } = new Dictionary<string, Node>(); property in Google.Protobuf.FieldMaskTree.Node
117 && node.Children.Count == 0) in AddFieldPath()
124 if (!node.Children.TryGetValue(part, out childNode)) in AddFieldPath()
128 node.Children.Add(part, childNode); in AddFieldPath()
134 node.Children.Clear(); in AddFieldPath()
157 if (root.Children.Count != 0) in ToFieldMask()
172 if (node.Children.Count == 0) in GetFieldPaths()
178 foreach (var entry in node.Children) in GetFieldPaths()
190 if (root.Children.Count == 0) in IntersectFieldPath()
205 && node.Children.Count == 0) in IntersectFieldPath()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/
DInlineInfo.h67 std::vector<InlineInfo> Children; member
74 Children.clear(); in clear()
174 LHS.Children == RHS.Children;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/opt/pre/
Depoch_ctrl_pass.cc34 CHECK_FAIL_RETURN_UNEXPECTED(node->Children().size() > 0, in Visit()
37 injection_point_ = node->Children()[0]; in Visit()
63 CHECK_FAIL_RETURN_UNEXPECTED(node->Children().size() > 0, in VisitAfter()
67 injection_point_ = node->Children()[0]; in VisitAfter()
Ddeep_copy_pass.cc34 auto children = node->Children(); in Visit()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DGenericDomTree.h64 std::vector<DomTreeNodeBase *> Children;
76 iterator begin() { return Children.begin(); }
77 iterator end() { return Children.end(); }
78 const_iterator begin() const { return Children.begin(); }
79 const_iterator end() const { return Children.end(); }
85 const std::vector<DomTreeNodeBase *> &getChildren() const { return Children; }
89 Children.push_back(C.get());
93 size_t getNumChildren() const { return Children.size(); }
95 void clearAllChildren() { Children.clear(); }
121 auto I = find(IDom->Children, this);
[all …]
DGenericDomTreeConstruction.h1143 auto ChIt = llvm::find(IDom->Children, TN); in EraseNode()
1144 assert(ChIt != IDom->Children.end()); in EraseNode()
1145 std::swap(*ChIt, IDom->Children.back()); in EraseNode()
1146 IDom->Children.pop_back(); in EraseNode()
1413 SmallVector<TreeNodePtr, 8> Children(Node->begin(), Node->end()); in VerifyDFSNumbers()
1414 llvm::sort(Children, [](const TreeNodePtr Ch1, const TreeNodePtr Ch2) { in VerifyDFSNumbers()
1418 auto PrintChildrenError = [Node, &Children, PrintNodeAndDFSNums]( in VerifyDFSNumbers()
1434 for (const TreeNodePtr Ch : Children) { in VerifyDFSNumbers()
1443 if (Children.front()->getDFSNumIn() != Node->getDFSNumIn() + 1) { in VerifyDFSNumbers()
1444 PrintChildrenError(Children.front(), nullptr); in VerifyDFSNumbers()
[all …]
DGenericIteratedDominanceFrontier.h124 auto Children = children<OrderedNodeTy>(N); in get() local
125 return {Children.begin(), Children.end()}; in get()
/third_party/skia/third_party/externals/swiftshader/tests/regres/cov/
Doptimization.go142 wg.Add(len(tc.Children))
143 for id, child := range tc.Children {
153 for _, child := range tc.Children {
163 child := tc.Children.index(idx)
166 delete(tc.Children, idx)
Dtree.go137 delete(parent.Children, indexedTest.index)
153 child := tc.Children.index(TestIndex(i))
167 tcm = tc.Children
183 spans = spans.addAll(spans.invertAll(t.allSpans(tf, tc.Children)))
274 Children TestCoverageMap member
288 if len(tc.Children) > 0 {
290 sb.WriteString(tc.Children.String(t, s))
298 return len(tc.Spans) == 0 && tc.Group == nil && len(tc.Children) == 0
308 tc.Children.traverse(cb)
327 Children: TestCoverageMap{},
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DIteratedDominanceFrontier.h72 auto Children = children<OrderedNodeTy>(N);
73 return {Children.begin(), Children.end()};
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DDIE.h90 bool Children; variable
96 DIEAbbrev(dwarf::Tag T, bool C) : Tag(T), Children(C) {} in DIEAbbrev()
102 bool hasChildren() const { return Children; } in hasChildren()
104 void setChildrenFlag(bool hasChild) { Children = hasChild; } in setChildrenFlag()
727 IntrusiveBackList<DIE> Children; variable
752 bool hasChildren() const { return ForceChildren || !Children.empty(); } in hasChildren()
761 return make_range(Children.begin(), Children.end()); in children()
764 return make_range(Children.begin(), Children.end()); in children()
822 Children.push_back(*Child); in addChild()
823 return Children.back(); in addChild()
[all …]
DLexicalScopes.h65 SmallVectorImpl<LexicalScope *> &getChildren() { return Children; } in getChildren()
69 void addChild(LexicalScope *S) { Children.push_back(S); } in addChild()
127 SmallVector<LexicalScope *, 4> Children; // Scopes defined in scope. variable
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceTimerTree.cpp123 if (Nodes[Parent].Children.size() <= ID) in getChildIndex()
124 Nodes[Parent].Children.resize(ID + 1); in getChildIndex()
125 if (Nodes[Parent].Children[ID] == 0) { in getChildIndex()
127 Nodes[Parent].Children[ID] = Size; in getChildIndex()
132 return Nodes[Parent].Children[ID]; in getChildIndex()
171 assert(Nodes[Nodes[StackTop].Parent].Children[ID] == StackTop); in pop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLexicalScopes.cpp240 const SmallVectorImpl<LexicalScope *> &Children = WS->getChildren(); in constructScopeNest() local
242 for (auto &ChildScope : Children) in constructScopeNest()
332 if (!Children.empty()) in dump()
334 for (unsigned i = 0, e = Children.size(); i != e; ++i) in dump()
335 if (Children[i] != this) in dump()
336 Children[i]->dump(Indent + 2); in dump()
DMachineOutliner.cpp126 DenseMap<unsigned, SuffixTreeNode *> Children; member
283 Parent.Children[Edge] = N; in insertLeaf()
307 Parent->Children[Edge] = N; in insertInternalNode()
329 for (auto &ChildPair : CurrNode->Children) { in setSuffixIndices()
336 if (CurrNode->Children.size() == 0 && !CurrNode->isRoot()) in setSuffixIndices()
372 if (Active.Node->Children.count(FirstChar) == 0) { in extend()
385 SuffixTreeNode *NextNode = Active.Node->Children[FirstChar]; in extend()
443 SplitNode->Children[Str[NextNode->StartIdx]] = NextNode; in extend()
538 for (auto &ChildPair : Curr->Children) { in advance()
DMachineCSE.cpp750 const std::vector<MachineDomTreeNode*> &Children = Node->getChildren(); in PerformCSE() local
751 OpenChildren[Node] = Children.size(); in PerformCSE()
752 for (MachineDomTreeNode *Child : Children) in PerformCSE()
858 const std::vector<MachineDomTreeNode *> &Children = Node->getChildren(); in PerformSimplePRE() local
859 for (MachineDomTreeNode *Child : Children) in PerformSimplePRE()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
DInlineInfo.cpp34 for (const auto &Child : II.Children) in operator <<()
47 for (const auto &Child : II.Children) { in getInlineStackHelper()
212 Inline.Children.emplace_back(std::move(*Child)); in decode()
232 bool HasChildren = !Children.empty(); in encode()
242 for (const auto &Child : Children) { in encode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DWindowsResource.h171 using Children = std::map<T, std::unique_ptr<TreeNode>>;
181 const Children<uint32_t> &getIDChildren() const { return IDChildren; } in getIDChildren()
182 const Children<std::string> &getStringChildren() const { in getStringChildren()
225 Children<uint32_t> IDChildren;
226 Children<std::string> StringChildren;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp435 SmallVector<DIE *, 8> Children; in constructScopeDIE() local
446 createScopeChildrenDIE(Scope, Children); in constructScopeDIE()
456 createScopeChildrenDIE(Scope, Children, &HasNonScopeChildren); in constructScopeDIE()
462 std::make_move_iterator(Children.begin()), in constructScopeDIE()
463 std::make_move_iterator(Children.end())); in constructScopeDIE()
471 for (auto &I : Children) in constructScopeDIE()
792 SmallVectorImpl<DIE *> &Children, in createScopeChildrenDIE() argument
794 assert(Children.empty()); in createScopeChildrenDIE()
800 Children.push_back(constructVariableDIE(*DV.second, *Scope, ObjectPointer)); in createScopeChildrenDIE()
805 Children.push_back(constructVariableDIE(*DV, *Scope, ObjectPointer)); in createScopeChildrenDIE()
[all …]
DDebugHandlerBase.cpp99 const SmallVectorImpl<LexicalScope *> &Children = S->getChildren(); in identifyScopeMarkers() local
100 if (!Children.empty()) in identifyScopeMarkers()
101 WorkList.append(Children.begin(), Children.end()); in identifyScopeMarkers()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUMachineCFGStructurizer.cpp514 SetVector<MRT *> Children; member in __anonf7505d060211::RegionMRT
528 for (auto CI : Children) { in ~RegionMRT()
544 return (*(Children.begin()))->getBBSelectRegOut(); in getInnerOutputRegister()
547 void addChild(MRT *Tree) { Children.insert(Tree); } in addChild()
549 SetVector<MRT *> *getChildren() { return &Children; } in getChildren()
562 for (auto MRTI : Children) { in dump()
567 MRT *getEntryTree() { return Children.back(); } in getEntryTree()
569 MRT *getExitTree() { return Children.front(); } in getExitTree()
572 MRT *Tree = Children.back(); in getEntry()
578 MRT *Tree = Children.front(); in getExit()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsOptimizePICCall.cpp221 const std::vector<MachineDomTreeNode *> &Children = Node->getChildren(); in runOnMachineFunction() local
222 WorkList.append(Children.begin(), Children.end()); in runOnMachineFunction()
/third_party/boost/boost/graph/
Dsubgraph.hpp599 template < typename Vertex, typename Edge, typename Children, typename G >
601 Children& c, subgraph< G >* orig) in children_add_edge()
603 for (typename Children::iterator i = c.begin(); i != c.end(); ++i) in children_add_edge()
699 template < typename Vertex, typename Children >
700 void children_remove_edge(Vertex u_global, Vertex v_global, Children& c) in children_remove_edge()
702 for (typename Children::iterator i = c.begin(); i != c.end(); ++i) in children_remove_edge()
741 template < typename G, typename Edge, typename Children >
742 void children_remove_edge(Edge e_global, Children& c) in children_remove_edge()
744 for (typename Children::iterator i = c.begin(); i != c.end(); ++i) in children_remove_edge()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/
Dtree_adapter_lite.cc43 for (const std::shared_ptr<DatasetNode> &child_ir : ir->Children()) { in BuildExecutionTreeRecur()

12345