Home
last modified time | relevance | path

Searched refs:childIndex (Results 1 – 25 of 51) sorted by relevance

123

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestTrees.java53 assertEquals(-1, t.childIndex); in testSingleNode()
63 assertEquals(-1, root_0.childIndex); in testTwoChildrenOfNilRoot()
64 assertEquals(0, t.childIndex); in testTwoChildrenOfNilRoot()
65 assertEquals(1, u.childIndex); in testTwoChildrenOfNilRoot()
76 assertEquals(-1, r0.childIndex); in test4Nodes()
88 assertEquals(-1, r0.childIndex); in testList()
90 assertEquals(0, c0.childIndex); in testList()
92 assertEquals(1, c1.childIndex); in testList()
94 assertEquals(2, c2.childIndex); in testList()
112 assertEquals(-1, root.childIndex); in testList2()
[all …]
DTestTreeWizard.java193 public void visit(Object t, Object parent, int childIndex, Map labels) { in testRepeatsVisitWithContext()
196 "["+childIndex+"]"); in testRepeatsVisitWithContext()
210 public void visit(Object t, Object parent, int childIndex, Map labels) { in testRepeatsVisitWithNullParentAndContext()
213 "["+childIndex+"]"); in testRepeatsVisitWithNullParentAndContext()
242 public void visit(Object t, Object parent, int childIndex, Map labels) { in testVisitPatternMultiple()
245 "["+childIndex+"]"); in testVisitPatternMultiple()
259 public void visit(Object t, Object parent, int childIndex, Map labels) { in testVisitPatternMultipleWithLabels()
262 "["+childIndex+"]"+labels.get("a")+"&"+labels.get("b")); in testVisitPatternMultipleWithLabels()
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/
Dapi_util.js51 var childIndex = -1;
54 childIndex = i;
58 if (childIndex >= 0) {
62 return {'cvoxid': cvoxid, 'childIndex': childIndex};
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/
DTimelineJSProfile.js32 var childIndex = 0;
77 for (; childIndex < originalChildren.length; ++childIndex) {
78 var child = originalChildren[childIndex];
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRCommonTree.m76 childIndex = -1;
90 childIndex = -1;
104 childIndex = -1;
119 childIndex = -1;
134 childIndex = -1;
163 copy.childIndex = childIndex;
302 return childIndex;
317 childIndex = anIndex;
343 @synthesize childIndex;
DANTLRCommonTree.h36 NSInteger childIndex; variable
90 @property (assign) NSInteger childIndex;
DANTLRTreeWizard.h43 …RCommonTree *)t Parent:(ANTLRCommonTree *)parent ChildIndex:(NSInteger)childIndex Map:(ANTLRMap *)…
57 …RCommonTree *)t Parent:(ANTLRCommonTree *)parent ChildIndex:(NSInteger)childIndex Map:(ANTLRMap *)…
121 ChildIndex:(NSInteger)childIndex
/external/owasp/sanitizer/src/main/org/owasp/html/
DTrie.java99 int childIndex = 0; in Trie() local
104 childMap[childIndex] = lastCh; in Trie()
105 children[childIndex++] = new Trie( in Trie()
111 childMap[childIndex] = lastCh; in Trie()
112 children[childIndex++] = new Trie(elements, depth + 1, childStart, end); in Trie()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DTreeWizard.java59 public void visit(Object t, Object parent, int childIndex, Map labels); in visit() argument
63 public void visit(Object t, Object parent, int childIndex, Map labels) { in visit() argument
227 public void visit(Object t, Object parent, int childIndex, Map labels) { in find()
254 protected void _visit(Object t, Object parent, int childIndex, int ttype, ContextVisitor visitor) { in _visit() argument
259 visitor.visit(t, parent, childIndex, null); in _visit()
289 public void visit(Object t, Object parent, int childIndex, Map unusedlabels) { in visit()
293 visitor.visit(t, parent, childIndex, labels); in visit()
DCommonTree.java51 public int childIndex = -1; field in CommonTree
158 return childIndex; in getChildIndex()
170 this.childIndex = index; in setChildIndex()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DCommonTree.cs63 int childIndex = -1; field in Antlr.Runtime.Tree.CommonTree
111 return childIndex;
116 childIndex = value;
DTreeWizard.cs73 … void Visit( object t, object parent, int childIndex, IDictionary<string, object> labels ); in Visit() argument
78 …public virtual void Visit( object t, object parent, int childIndex, IDictionary<string, object> la… in Visit() argument
296 … public void Visit( object t, object parent, int childIndex, IDictionary<string, object> labels ) in Visit() argument
362 …protected virtual void VisitCore( object t, object parent, int childIndex, int ttype, IContextVisi… in VisitCore() argument
370 visitor.Visit( t, parent, childIndex, null ); in VisitCore()
395 …public void Visit( object t, object parent, int childIndex, IDictionary<string, object> unusedlabe… in Visit() argument
401 _visitor.Visit( t, parent, childIndex, _labels ); in Visit()
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
DCommonTree.js15 this.childIndex = -1;
104 return this.childIndex;
116 this.childIndex = index;
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DCommonTree.cs63 int childIndex = -1; field in Antlr.Runtime.Tree.CommonTree
99 return childIndex;
102 childIndex = value;
DTreeWizard.cs70 void Visit(object t, object parent, int childIndex, IDictionary<string, object> labels); in Visit() argument
74 …public virtual void Visit(object t, object parent, int childIndex, IDictionary<string, object> lab… in Visit() argument
259 … public void Visit(object t, object parent, int childIndex, IDictionary<string, object> labels) { in Visit() argument
316 …protected virtual void VisitCore(object t, object parent, int childIndex, int ttype, IContextVisit… in VisitCore() argument
321 visitor.Visit(t, parent, childIndex, null); in VisitCore()
343 …public void Visit(object t, object parent, int childIndex, IDictionary<string, object> unusedlabel… in Visit() argument
347 _visitor.Visit(t, parent, childIndex, _labels); in Visit()
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dtesttreewizard.py375 def visitor(node, parent, childIndex, labels): argument
389 def visitor(node, parent, childIndex, labels): argument
403 def visitor(node, parent, childIndex, labels): argument
417 def visitor(node, parent, childIndex, labels): argument
431 def visitor(node, parent, childIndex, labels): argument
432 elements.append('%s@%s[%d]' % (node, parent, childIndex))
445 def visitor(node, parent, childIndex, labels): argument
448 % (node, ['nil', parent][parent is not None], childIndex)
462 def visitor(node, parent, childIndex, labels): argument
478 def visitor(node, parent, childIndex, labels): argument
[all …]
Dtesttree.py64 self.assertEquals(-1, root_0.childIndex)
65 self.assertEquals(0, t.childIndex)
66 self.assertEquals(1, u.childIndex)
560 self.failUnlessEqual(-1, t.childIndex)
571 self.failUnlessEqual(-1, r0.childIndex)
585 self.failUnlessEqual(-1, r0.childIndex)
587 self.failUnlessEqual(0, c0.childIndex)
589 self.failUnlessEqual(1, c1.childIndex)
591 self.failUnlessEqual(2, c2.childIndex)
611 self.failUnlessEqual(-1, root.childIndex)
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
Dtreeoutline.js94 var childIndex = this.children.indexOf(beforeChild);
95 if (childIndex === -1)
98 this.insertChild(child, childIndex);
156 TreeOutline.prototype.removeChildAtIndex = function(childIndex) argument
158 if (childIndex < 0 || childIndex >= this.children.length)
161 var child = this.children[childIndex];
162 this.children.splice(childIndex, 1);
199 var childIndex = this.children.indexOf(child);
200 if (childIndex === -1)
203 this.removeChildAtIndex.call(this, childIndex);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/profiler/
DCPUProfileDataGrid.js193 for (var childIndex = 0; childIndex < childCount; ++childIndex)
194 children[childIndex]._recalculateSiblings(childIndex);
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dtreewizard.py422 def visitor(tree, parent, childIndex, labels): argument
447 def visitor(tree, parent, childIndex, label): argument
482 def _visitType(self, t, parent, childIndex, ttype, visitor): argument
489 visitor(t, parent, childIndex, None)
513 def rootvisitor(tree, parent, childIndex, labels): argument
516 visitor(tree, parent, childIndex, labels)
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DBaseTree.as100 c.childIndex = children.length-1;
117 childTree.childIndex = children.length-1;
141 t.childIndex = i;
185 child.childIndex= i;
227 child.childIndex = c;
240 if ( i!=this.childIndex ) {
241 throw new Error("child indexes don't match; expected "+i+" found "+this.childIndex);
251 public function get childIndex():int {
255 public function set childIndex(index:int):void {
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRTreeWizard.h42 - (void) visit:(id<ANTLRTree>)t Parent:(id<ANTLRTree>)parent ChildIndex:(NSInteger)childIndex Map:(…
56 - (void) visit:(id<ANTLRTree>)t Parent:(id<ANTLRTree>)parent ChildIndex:(NSInteger)childIndex Map:(…
121 ChildIndex:(NSInteger)childIndex
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRTreeWizard.h42 - (void) visit:(id<ANTLRTree>)t Parent:(id<ANTLRTree>)parent ChildIndex:(NSInteger)childIndex Map:(…
56 - (void) visit:(id<ANTLRTree>)t Parent:(id<ANTLRTree>)parent ChildIndex:(NSInteger)childIndex Map:(…
121 ChildIndex:(NSInteger)childIndex
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRTreeWizard.h42 - (void) visit:(id<ANTLRTree>)t Parent:(id<ANTLRTree>)parent ChildIndex:(NSInteger)childIndex Map:(…
56 - (void) visit:(id<ANTLRTree>)t Parent:(id<ANTLRTree>)parent ChildIndex:(NSInteger)childIndex Map:(…
121 ChildIndex:(NSInteger)childIndex
DANTLRCommonTree.h36 NSInteger childIndex; variable
43 @property (assign, getter=getChildIndex, setter=setChildIndex) NSInteger childIndex;

123