Home
last modified time | relevance | path

Searched refs:getChildren (Results 1 – 25 of 165) sorted by relevance

1234567

/external/guava/refactorings/
DTraverserRewrite.java31 abstract Iterable<N> getChildren(N node); in getChildren() method in TraverserRewrite.TreeTraverserPreOrder
35 return TreeTraverser.using((N node) -> getChildren(node)).preOrderTraversal(root); in before1()
43 return getChildren(node); in before2()
50 return Traverser.forTree((N node) -> getChildren(node)).depthFirstPreOrder(root); in after()
56 abstract Iterable<N> getChildren(N node);
60 return TreeTraverser.using((N node) -> getChildren(node)).postOrderTraversal(root);
68 return getChildren(node);
75 return Traverser.forTree((N node) -> getChildren(node)).depthFirstPostOrder(root);
81 abstract Iterable<N> getChildren(N node);
85 return TreeTraverser.using((N node) -> getChildren(node)).breadthFirstTraversal(root);
[all …]
/external/python/cpython2/Lib/compiler/
Dast.py25 def getChildren(self): member in Node
28 for n in self.getChildren():
31 return self.getChildren()
44 def getChildren(self): member in Expression
59 def getChildren(self): member in Add
73 def getChildren(self): member in And
91 def getChildren(self): member in AssAttr
105 def getChildren(self): member in AssList
122 def getChildren(self): member in AssName
136 def getChildren(self): member in AssTuple
[all …]
/external/llvm-project/clang/include/clang/AST/
DStmtOpenMP.h397 void setTaskReductionRefExpr(Expr *E) { Data->getChildren()[0] = E; } in setTaskReductionRefExpr()
429 return cast_or_null<Expr>(Data->getChildren()[0]); in getTaskReductionRefExpr()
514 &Data->getChildren()[getArraysOffset(getDirectiveKind())]); in getCounters()
521 &Data->getChildren()[getArraysOffset(getDirectiveKind()) + in getPrivateCounters()
529 &Data->getChildren()[getArraysOffset(getDirectiveKind()) + in getInits()
537 &Data->getChildren()[getArraysOffset(getDirectiveKind()) + in getUpdates()
545 &Data->getChildren()[getArraysOffset(getDirectiveKind()) + in getFinals()
553 &Data->getChildren()[getArraysOffset(getDirectiveKind()) + in getDependentCounters()
561 &Data->getChildren()[getArraysOffset(getDirectiveKind()) + in getDependentInits()
569 &Data->getChildren()[getArraysOffset(getDirectiveKind()) + in getFinalsConditions()
[all …]
DDeclOpenMP.h120 auto **Storage = reinterpret_cast<Expr **>(Data->getChildren().data()); in getVars()
125 auto **Storage = reinterpret_cast<Expr **>(Data->getChildren().data()); in getVars()
144 bool varlist_empty() const { return Data->getChildren().empty(); } in varlist_empty()
349 Expr *getMapperVarRef() { return cast_or_null<Expr>(Data->getChildren()[0]); } in getMapperVarRef()
351 return cast_or_null<Expr>(Data->getChildren()[0]); in getMapperVarRef()
355 Data->getChildren()[0] = MapperVarRefE; in setMapperVarRef()
483 auto **Storage = reinterpret_cast<Expr **>(Data->getChildren().data()); in getVars()
488 auto **Storage = reinterpret_cast<Expr **>(Data->getChildren().data()); in getVars()
511 bool varlist_empty() const { return Data->getChildren().empty(); } in varlist_empty()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DRobolectricTestRunnerMultiApiTest.java73 assertThat(apisFor(runner.getChildren())).containsExactly( in createChildrenForEachSupportedApi()
80 assertThat(apisFor(runner.getChildren())).containsExactly(M); in withConfigSdkLatest_shouldUseLatestSupported()
87 runner.getChildren(); in withConfigSdkAndMinMax_shouldUseMinMax()
100 assertThat(runner.getChildren()).hasSize(2); in withEnabledSdks_createChildrenForEachSupportedSdk()
106 assertThat(runner.getChildren().get(0).getName()).isEqualTo("testSomeApiLevel[16]"); in shouldAddApiLevelToNameOfAllButHighestNumberedMethodName()
107 assertThat(runner.getChildren().get(1).getName()).isEqualTo("testSomeApiLevel[17]"); in shouldAddApiLevelToNameOfAllButHighestNumberedMethodName()
108 assertThat(runner.getChildren().get(2).getName()).isEqualTo("testSomeApiLevel[18]"); in shouldAddApiLevelToNameOfAllButHighestNumberedMethodName()
109 assertThat(runner.getChildren().get(3).getName()).isEqualTo("testSomeApiLevel[19]"); in shouldAddApiLevelToNameOfAllButHighestNumberedMethodName()
110 assertThat(runner.getChildren().get(4).getName()).isEqualTo("testSomeApiLevel"); in shouldAddApiLevelToNameOfAllButHighestNumberedMethodName()
116 assertThat(apisFor(runner.getChildren())).containsExactly( in noConfig()
[all …]
/external/junit-params/src/test/java/junitparams/
DFilterableTest.java48 assertThat(description.getChildren()).hasSize(1); in shouldReturnOneDescriptionForSimpleTestCase()
49 assertThat(description.getChildren().get(0).getChildren()).hasSize(0); in shouldReturnOneDescriptionForSimpleTestCase()
58 assertThat(description.getChildren()).hasSize(1); in shouldReturnParametrizedDescriptionsForParametrizedTestCase()
59 assertThat(description.getChildren().get(0).getChildren()).hasSize(2); in shouldReturnParametrizedDescriptionsForParametrizedTestCase()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPNode.java121 return (XMPNode) getChildren().get(index - 1); in getChild()
135 getChildren().add(node); in addChild()
151 getChildren().add(index - 1, node); in addChild()
164 getChildren().set(index - 1, node); in replaceChild()
174 getChildren().remove(itemIndex - 1); in removeChild()
187 getChildren().remove(node); in removeChild()
232 return find(getChildren(), expr); in findChildByName()
362 return getChildren().iterator(); in iterateChildren()
785 XMPNode[] children = (XMPNode[]) getChildren()
823 private List getChildren()
[all …]
/external/junit-params/src/test/java/junitparams/internal/
DTestMethodTest.java52 assertTrue(description.getChildren().isEmpty()); in flatTestMethodStructure()
66 …a (forOthersToWork)(junitparams.internal.TestMethodTest)", description.getChildren().get(0).getDis… in hierarchicalTestMethodStructure()
67 …b (forOthersToWork)(junitparams.internal.TestMethodTest)", description.getChildren().get(1).getDis… in hierarchicalTestMethodStructure()
80 description.getChildren().get(0).getDisplayName()); in hierarchicalArrayTestMethodStructure()
82 description.getChildren().get(1).getDisplayName()); in hierarchicalArrayTestMethodStructure()
/external/doclava/src/com/google/doclava/
DSampleCode.java436 if (groupnodes.get(n).getChildren() == null) { in writeSamplesNavTree()
440 Collections.sort(groupnodes.get(n).getChildren(), byLabel); in writeSamplesNavTree()
470 if (groupnodes.get(i).getChildren() == null) { in appendNodeGroups()
474 groupnodes.get(i).getChildren().add(gNode); in appendNodeGroups()
517 (list.get(i).getChildren().get(0).getChildren() != null)) { in squashNodes()
519 String childLabel = list.get(i).getChildren().get(0).getLabel(); in squashNodes()
522 list.get(i).setChildren(list.get(i).getChildren().get(0).getChildren()); in squashNodes()
627 if (isChild == true && list.get(i).getChildren() != null) { in renderGroupNodesTOCYaml()
647 if (list.get(i).getChildren() != null) { in renderGroupNodesTOCYaml()
666 if (list.get(i).getChildren() == null) { in renderGroupNodesTOC()
[all …]
DInfoBuilder.java457 Iterator<ParseTree> it = (Iterator<ParseTree>) tree.getChildren().iterator(); in buildClass()
522 for (Object o : tree.getChildren()) { in parseInterfaces()
625 for (Object o : tree.getChildren()) { in buildClassBody()
693 Iterator<ParseTree> it = (Iterator<ParseTree>) tree.getChildren().iterator(); in buildFields()
806 for (Object o : tree.getChildren()) { in parseExpression()
841 for (Object namePart : ((ParseTree) tree.getChild(0)).getChildren()) { in buildType()
893 for (Object o : tree.getChildren()) { in buildTypeVariables()
935 for (Object obj : value.getChildren()) { in buildTypeVariables()
980 Iterator<ParseTree> it = (Iterator<ParseTree>) tree.getChildren().iterator(); in buildMethod()
1035 for (Object o : child.getChildren()) { in buildMethod()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/recursive/
DHumanTest.java151 Set<Human> children2 = father2.getChildren(); in testChildren()
153 assertSame(father2.getPartner().getChildren(), children2); in testChildren()
224 Set<Human> children2 = father2.getChildren(); in testChildrenPretty()
226 assertSame(father2.getPartner().getChildren(), children2); in testChildrenPretty()
297 Map<Human2, String> children2 = father2.getChildren(); in testChildren2()
299 assertSame(father2.getPartner().getChildren(), children2); in testChildren2()
364 List<Human3> children2 = father2.getChildren(); in testChildren3()
366 assertSame(father2.getPartner().getChildren(), children2); in testChildren3()
401 assertSame(father2.getPartner().getChildren(), children2); in testChildrenSetAsRoot()
439 assertSame(father2.getPartner().getChildren(), children2); in testChildrenMapAsRoot()
[all …]
DHuman_WithArrayOfChildrenTest.java73 public Human_WithArrayOfChildren[] getChildren() { in getChildren() method in Human_WithArrayOfChildrenTest.Human_WithArrayOfChildren
132 Human_WithArrayOfChildren[] fathersChildren = father2.getChildren(); in checkSon()
134 Human_WithArrayOfChildren[] mothersChildren = father2.getPartner().getChildren(); in checkSon()
/external/emma/core/java12/com/vladium/emma/report/
DItem.java39 public final Iterator getChildren () in getChildren() method in Item
44 public final Iterator getChildren (final ItemComparator /* IItem */ order) in getChildren() method in Item
49 return getChildren (); in getChildren()
DIItem.java28 Iterator /* IItem */ getChildren (); in getChildren() method
34 Iterator /* IItem */ getChildren (ItemComparator /* IItem */ order); in getChildren() method
DSrcFileItem.java106 for (Iterator children = getChildren (); children.hasNext (); ) in getAggregate()
140 for (Iterator classes = getChildren (); classes.hasNext (); ) in getAggregate()
148 for (Iterator methods = cls.getChildren (); methods.hasNext (); ) in getAggregate()
/external/llvm-project/clang/lib/Tooling/Syntax/
DTree.cpp22 for (const syntax::Node &C : T->getChildren()) in traverse()
230 for (const syntax::Node &It : T->getChildren()) { in dumpNode()
279 for (const Node &C : T->getChildren()) { in assertInvariants()
294 for (const Node &C : T->getChildren()) { in assertInvariants()
313 for (const Node &C : getChildren()) { in findFirstLeaf()
333 for (const Node &C : getChildren()) { in findChild()
347 for (Node &C : getChildren()) { in getElementsAsNodesAndDelimiters()
392 for (Node &C : getChildren()) { in getElementsAsNodes()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/recursive/generics/
DHumanGenericsTest.java169 Set<HumanGen> children2 = father2.getChildren(); in testChildren()
171 assertSame(father2.getPartner().getChildren(), children2); in testChildren()
242 Map<HumanGen2, String> children2 = father2.getChildren(); in testChildren2()
244 assertSame(father2.getPartner().getChildren(), children2); in testChildren2()
311 List<HumanGen3> children2 = father2.getChildren(); in testChildren3()
313 assertSame(father2.getPartner().getChildren(), children2); in testChildren3()
352 assertSame(father2.getPartner().getChildren(), children2); in testChildrenSetAsRoot()
391 assertSame(father2.getPartner().getChildren(), children2); in testChildrenMapAsRoot()
446 String output = yaml.dump(father.getChildren()); in testChildrenListRoot()
463 assertSame(father2.getPartner().getChildren(), children2); in testChildrenListRoot()
/external/junit-params/src/test/java/junitparams/naming/
DNamingStrategyIsUsedByRunnerTest.java25 assertThat(sampleMethodDescription.getChildren()).extracting("displayName").containsExactly( in checkTestCaseNames()
44 for (Description childDescription : parent.getChildren()) { in getChildDescriptionByName()
/external/eigen/unsupported/Eigen/src/BVH/
DBVAlgorithms.h31 tree.getChildren(todo.back(), vBegin, vEnd, oBegin, oEnd); in intersect_helper()
112 tree1.getChildren(todo.back().first, vBegin1, vEnd1, oBegin1, oEnd1); in BVIntersect()
113 tree2.getChildren(todo.back().second, vBegin2, vEnd2, oBegin2, oEnd2); in BVIntersect()
164 tree.getChildren(todo.top().second, vBegin, vEnd, oBegin, oEnd); in minimize_helper()
258 tree1.getChildren(todo.top().second.first, vBegin1, vEnd1, oBegin1, oEnd1); in BVMinimize()
259 tree2.getChildren(todo.top().second.second, vBegin2, vEnd2, oBegin2, oEnd2); in BVMinimize()
/external/guice/extensions/persist/test/com/google/inject/persist/jpa/
DManualLocalTransactionsConfidenceTest.java84 entity.getChildren().add(child); in runOperationInTxn()
88 entity.getChildren().add(child); in runOperationInTxn()
/external/junit/src/main/java/junit/framework/
DJUnit4TestAdapterCache.java37 for (Description child : description.getChildren()) { in createTest()
70 for (Description child : description.getChildren()) { in asTestList()
/external/deqp/framework/common/
DtcuTestHierarchyIterator.cpp66 testPackage->getChildren(children); in enterTestPackage()
81 testGroup->getChildren(children); in enterGroupNode()
205 … case NODETYPE_ROOT: static_cast<TestPackageRoot*>(node)->getChildren(iter.children); break; in next()
/external/python/cpython2/Tools/compiler/
Dastgen.py263 def getChildren(self): member in Node
266 for n in self.getChildren():
269 return self.getChildren()
282 def getChildren(self): member in Expression
/external/emma/core/java12/com/vladium/emma/report/lcov/
DReportGenerator.java124 for (Iterator packages = item.getChildren(order); packages.hasNext(); ) in visit()
148 for (Iterator srcORclsFiles = item.getChildren(order); in visit()
211 for (Iterator classes = item.getChildren(order); in emitFileCoverage()
226 for (Iterator methods = cls.getChildren(order2); methods.hasNext(); ) in emitFileCoverage()
/external/emma/core/java12/com/vladium/emma/report/txt/
DReportGenerator.java177 for (Iterator packages = item.getChildren (order); packages.hasNext (); ) in visit()
226 for (Iterator srcORclsFiles = item.getChildren (order); srcORclsFiles.hasNext (); ) in visit()
268 for (Iterator classes = item.getChildren (order); classes.hasNext (); ) in visit()
286 for (Iterator methods = cls.getChildren (order2); methods.hasNext (); ) in visit()
318 for (Iterator methods = item.getChildren (order); methods.hasNext (); ) in visit()

1234567