Home
last modified time | relevance | path

Searched refs:getChildCount (Results 1 – 25 of 202) sorted by relevance

123456789

/external/antlr/runtime/JavaScript/src/org/antlr/runtime/tree/
DBaseTreeAdaptor.js46 var n = this.getChildCount(t),
107 var nc = newRootTree.getChildCount();
126 if ( r.getChildCount()===0 ) {
129 else if ( r.getChildCount()===1 ) {
192 getChildCount: function(t) {
193 return t.getChildCount();
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/
DBaseTreeAdaptor.java93 int n = getChildCount(t); in dupTree()
152 int nc = newRootTree.getChildCount(); in becomeRoot()
172 if ( r.getChildCount()==0 ) { in rulePostProcessing()
175 else if ( r.getChildCount()==1 ) { in rulePostProcessing()
252 public int getChildCount(Object t) { in getChildCount() method in BaseTreeAdaptor
253 return ((Tree)t).getChildCount(); in getChildCount()
DTreeIterator.java81 if ( adaptor.getChildCount(tree)>0 ) return true; in hasNext()
89 if ( adaptor.getChildCount(tree)==0 ) { // single node tree (special) in next()
102 if ( adaptor.getChildCount(tree)>0 ) { in next()
111 adaptor.getChildIndex(tree)+1 >= adaptor.getChildCount(parent) ) in next()
DTreeWizard.java195 int n = adaptor.getChildCount(t); in _index()
266 int n = adaptor.getChildCount(t); in _visit()
356 int n1 = adaptor.getChildCount(t1); in _parse()
357 int n2 = tpattern.getChildCount(); in _parse()
424 int n1 = adaptor.getChildCount(t1); in _equals()
425 int n2 = adaptor.getChildCount(t2); in _equals()
DBaseTree.java78 public int getChildCount() { in getChildCount() method in BaseTree
163 if (i < 0 || i > getChildCount()) { in insertChild()
272 int n = getChildCount(); in freshenParentAndChildIndexes()
285 int n = getChildCount(); in freshenParentAndChildIndexesDeeply()
305 int n = this.getChildCount(); in sanityCheckParentAndChildIndexes()
/external/angle/src/compiler/translator/
DIntermNode.h112 virtual size_t getChildCount() const = 0;
223 size_t getChildCount() const final;
262 size_t getChildCount() const final;
304 size_t getChildCount() const final;
380 size_t getChildCount() const final;
456 size_t getChildCount() const final;
509 size_t getChildCount() const final;
555 size_t getChildCount() const final;
640 size_t getChildCount() const final;
696 size_t getChildCount() const final;
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowViewAnimator.java22 for (int i = ((ViewGroup) realView).getChildCount() - 1; i >= 0; i--) { in setDisplayedChild()
35 setDisplayedChild((getDisplayedChild() + 1) % ((ViewGroup) realView).getChildCount()); in showNext()
40 …setDisplayedChild(getDisplayedChild() == 0 ? ((ViewGroup) realView).getChildCount() - 1 : getDispl… in showPrevious()
DShadowViewGroup.java43 for (int i = 0; i < realViewGroup.getChildCount(); i++) { in innerText()
62 if (realViewGroup.getChildCount() > 0) { in dump()
65 for (int i = 0; i < realViewGroup.getChildCount(); i++) { in dump()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowViewAnimator.java22 for (int i = ((ViewGroup) realView).getChildCount() - 1; i >= 0; i--) { in setDisplayedChild()
35 setDisplayedChild((getDisplayedChild() + 1) % ((ViewGroup) realView).getChildCount()); in showNext()
40 …setDisplayedChild(getDisplayedChild() == 0 ? ((ViewGroup) realView).getChildCount() - 1 : getDispl… in showPrevious()
DShadowViewGroup.java48 for (int i = 0; i < realViewGroup.getChildCount(); i++) { in innerText()
69 if (realViewGroup.getChildCount() > 0) { in dump()
72 for (int i = 0; i < realViewGroup.getChildCount(); i++) { in dump()
/external/antlr/tool/src/main/java/org/antlr/tool/
DGrammarAST.java327 if (getChildCount() == 0) in getLastChild()
329 return (GrammarAST)getChild(getChildCount() - 1); in getLastChild()
341 return (GrammarAST)parent.getChild(parent.getChildCount() - 1); in getLastSibling()
362 int count = root.getChildCount(); in descendants()
412 for (int i = 0; i < getChildCount(); i++){ in _findAllType()
491 for (int i = 0; i < t.getChildCount(); i++){ in getChildrenForDupTree()
521 for (int i= 0; i < t.getChildCount(); i++) { in dupTree()
530 if (getChildCount() == 0) return; in setTreeEnclosingRuleNameDeeply()
562 for (int j =0 ; j < getChildCount(); j++) { in getBlockALT()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/
DPDBSymbolTypeFunctionSig.cpp38 uint32_t getChildCount() const override { in getChildCount() function in __anon39d182d70111::FunctionArgEnumerator
39 return Enumerator->getChildCount(); in getChildCount()
81 uint32_t NumArgs = SigArguments->getChildCount(); in isCVarArgs()
/external/antlr/runtime/C/src/
Dantlr3basetreeadaptor.c70 static ANTLR3_UINT32 getChildCount (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t);
144 adaptor->getChildCount = (ANTLR3_UINT32 (*)(pANTLR3_BASE_TREE_ADAPTOR, void *)) in antlr3BaseTreeAdaptorInit()
145 getChildCount; in antlr3BaseTreeAdaptorInit()
177 nCount = adaptor->getChildCount(adaptor, t); in defineDotNodes()
256 nCount = adaptor->getChildCount(adaptor, t); in defineDotEdges()
485 n = adaptor->getChildCount (adaptor, t); in dupTreeTT()
510 n = adaptor->getChildCount(adaptor, tree); in simulateTreeConstruction()
645 if (newRootTree->getChildCount(newRootTree) > 1) in becomeRoot()
715 if (root->getChildCount(root) == 0) in rulePostProcessing()
719 else if (root->getChildCount(root) == 1) in rulePostProcessing()
[all …]
/external/antlr/runtime/Python3/antlr3/
Dtree.py118 def getChildCount(self): member in Tree
537 def getChildCount(self, t): member in TreeAdaptor
721 def getChildCount(self): member in BaseTree
1005 for i in range(self.getChildCount(t)):
1070 nc = newRoot.getChildCount()
1089 if root.getChildCount() == 0:
1092 elif root.getChildCount() == 1:
1154 def getChildCount(self, t): member in BaseTreeAdaptor
1155 return t.getChildCount()
1266 if self.getChildCount():
[all …]
Dtreewizard.py394 for i in range(self.adaptor.getChildCount(t)):
491 for i in range(self.adaptor.getChildCount(t)):
567 n1 = self.adaptor.getChildCount(t1)
568 n2 = tpattern.getChildCount()
608 n1 = adaptor.getChildCount(t1)
609 n2 = adaptor.getChildCount(t2)
/external/antlr/runtime/Python/antlr3/
Dtree.py118 def getChildCount(self): member in Tree
537 def getChildCount(self, t): member in TreeAdaptor
725 def getChildCount(self): member in BaseTree
1012 for i in range(self.getChildCount(t)):
1077 nc = newRoot.getChildCount()
1096 if root.getChildCount() == 0:
1099 elif root.getChildCount() == 1:
1161 def getChildCount(self, t): member in BaseTreeAdaptor
1162 return t.getChildCount()
1273 if self.getChildCount():
[all …]
Dtreewizard.py394 for i in range(self.adaptor.getChildCount(t)):
491 for i in range(self.adaptor.getChildCount(t)):
567 n1 = self.adaptor.getChildCount(t1)
568 n2 = tpattern.getChildCount()
608 n1 = adaptor.getChildCount(t1)
609 n2 = adaptor.getChildCount(t2)
/external/llvm/tools/llvm-pdbdump/
DTypeDumper.cpp35 Printer << ": (" << Enums->getChildCount() << " items)"; in start()
44 Printer << ": (" << Typedefs->getChildCount() << " items)"; in start()
53 Printer << ": (" << Classes->getChildCount() << " items)"; in start()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DNativeEnumModules.cpp25 uint32_t NativeEnumModules::getChildCount() const { in getChildCount() function in llvm::pdb::NativeEnumModules
35 if (Index >= getChildCount()) in getNext()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/
DIPDBEnumChildren.h26 virtual uint32_t getChildCount() const = 0;
34 virtual uint32_t getChildCount() const override { return 0; } in getChildCount() function
DConcreteSymbolEnumerator.h30 uint32_t getChildCount() const override { in getChildCount() function
31 return Enumerator->getChildCount(); in getChildCount()
/external/antlr/runtime/ObjC/Framework/test/runtime/tree/
DCommonTreeTest.m187 …rtEquals((NSInteger)[parent getChildCount], (NSInteger)1, @"There should be 1 child but there were…
239 …STAssertEquals((NSInteger)[parent getChildCount], (NSInteger)0, @"There were supposed to be no chi…
263 …Equals((NSInteger)[newParent getChildCount], (NSInteger)1, @"Parent should only have 1 child: %d",…
284 …uals((NSInteger)[parent getChildCount], (NSInteger)1, @"There were either no children or more than…
311 …STAssertTrue([parent getChildCount] == 1, @"There were either no children or more than 1: %d", [pa…
430 STAssertEquals((NSInteger)[parent getChildCount], (NSInteger)0, @"Child count should be zero!");
529 …ssertEquals((NSInteger)[parent2 getChildCount], (NSInteger)1, @"Should have one child but has %d",…
549 …ssertEquals((NSInteger)[parent2 getChildCount], (NSInteger)2, @"Should have one child but has %d",…
/external/doclava/src/com/google/doclava/
DInfoBuilder.java383 for (int i = 0; i < tree.getChildCount(); i++) { in parseFile()
394 for (int i = 0; i < tree.getChildCount(); i++) { in buildPackage()
416 for (int j = 0; j < tree.getChildCount(); j++) { in buildQualifiedName()
430 for (int i = 1; i < tree.getChildCount(); i++) { in buildImport()
434 || (i == tree.getChildCount()-1 && ";".equals(part))) { in buildImport()
724 if (child.getChildCount() > 1) { in buildFields()
735 } while (j < child.getChildCount() && !"=".equals(tmp.toString())); in buildFields()
741 if (j < child.getChildCount()) { in buildFields()
781 if (tree.getChildCount() > 1) { in parseExpression()
797 tree = (ParseTree) tree.getChild(tree.getChildCount()-1); in parseExpression()
[all …]
/external/llvm/include/llvm/DebugInfo/PDB/
DConcreteSymbolEnumerator.h28 uint32_t getChildCount() const override { in getChildCount() function
29 return Enumerator->getChildCount(); in getChildCount()
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/kdom/
DNode.java74 addChild(getChildCount(), type, child); in addChild()
103 public int getChildCount() { in getChildCount() method in Node
201 int len = getChildCount(); in indexOf()

123456789