Home
last modified time | relevance | path

Searched refs:getChildCount (Results 1 – 25 of 223) 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;
206 size_t getChildCount() const final;
245 size_t getChildCount() const final;
287 size_t getChildCount() const final;
362 size_t getChildCount() const final;
437 size_t getChildCount() const final;
488 size_t getChildCount() const final;
532 size_t getChildCount() const final;
612 size_t getChildCount() const final;
682 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/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/llvm-project/llvm/unittests/DebugInfo/PDB/
DNativeSymbolReuseTest.cpp69 ASSERT_EQ(2U, Compilands->getChildCount()); in TEST()
86 ASSERT_EQ(2U, Compilands->getChildCount()); in TEST()
113 ASSERT_EQ(2U, Compilands->getChildCount()); in TEST()
117 for (int I = Compilands->getChildCount() - 1; I >= 0; --I) { in TEST()
/external/llvm-project/llvm/lib/DebugInfo/PDB/
DPDBSymbolTypeFunctionSig.cpp38 uint32_t getChildCount() const override { in getChildCount() function in __anon0648b2450111::FunctionArgEnumerator
39 return Enumerator->getChildCount(); in getChildCount()
81 uint32_t NumArgs = SigArguments->getChildCount(); in isCVarArgs()
DPDBContext.cpp50 if (!LineNumbers || LineNumbers->getChildCount() == 0) in getLineInfoForAddress()
74 if (!LineNumbers || LineNumbers->getChildCount() == 0) in getLineInfoForAddressRange()
100 if (!Frames || Frames->getChildCount() == 0) { in getInliningInfoForAddress()
108 if (!LineNumbers || LineNumbers->getChildCount() == 0) in getInliningInfoForAddress()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/
DPDBSymbolTypeFunctionSig.cpp38 uint32_t getChildCount() const override { in getChildCount() function in __anona5597cb90111::FunctionArgEnumerator
39 return Enumerator->getChildCount(); in getChildCount()
81 uint32_t NumArgs = SigArguments->getChildCount(); in isCVarArgs()
/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/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 …]
/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 …]
/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/llvm-project/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()
DNativeEnumLineNumbers.cpp27 uint32_t NativeEnumLineNumbers::getChildCount() const { in getChildCount() function in NativeEnumLineNumbers
33 if (N >= getChildCount()) in getChildAtIndex()
/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/llvm-project/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",…

123456789