Home
last modified time | relevance | path

Searched refs:absIndex (Results 1 – 6 of 6) sorted by relevance

/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Misc/
DFastQueue.cs83 int absIndex = _p + i;
84 if (absIndex >= _data.Count)
85 …new ArgumentException(string.Format("queue index {0} > last index {1}", absIndex, _data.Count - 1)…
86 if (absIndex < 0)
87 throw new ArgumentException(string.Format("queue index {0} < 0", absIndex));
89 if (absIndex > Range)
90 Range = absIndex;
92 return _data[absIndex];
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
DFastQueue.cs76 int absIndex = _p + i;
77 if (absIndex >= _data.Count)
78 …new ArgumentException(string.Format("queue index {0} > last index {1}", absIndex, _data.Count - 1)…
79 if (absIndex < 0)
80 throw new ArgumentException(string.Format("queue index {0} < 0", absIndex));
82 if (absIndex > Range)
83 Range = absIndex;
85 return _data[absIndex];
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
DFastQueue.java79 int absIndex = p + i; in elementAt() local
80 if ( absIndex >= data.size() ) { in elementAt()
81 … throw new NoSuchElementException("queue index "+ absIndex +" > last index "+(data.size()-1)); in elementAt()
83 if ( absIndex < 0 ) { in elementAt()
84 throw new NoSuchElementException("queue index "+ absIndex +" < 0"); in elementAt()
86 if ( absIndex>range ) range = absIndex; in elementAt()
87 return data.get(absIndex); in elementAt()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRFastQueue.m131 NSUInteger absIndex;
133 absIndex = p + i;
134 if ( absIndex >= [data count] ) {
135 …Exception:[NSString stringWithFormat:@"queue index %d > last index %d", absIndex, [data count]-1]];
137 if ( absIndex < 0 ) {
138 …LRNoSuchElementException newException:[NSString stringWithFormat:@"queue index %d < 0", absIndex]];
140 if ( absIndex > range ) range = absIndex;
141 return [data objectAtIndex:absIndex];
/external/webkit/Source/WebCore/dom/
DDocument.cpp2608 int absIndex = 0; in nodeAbsIndex() local
2610 absIndex++; in nodeAbsIndex()
2611 return absIndex; in nodeAbsIndex()
2614 Node* Document::nodeWithAbsIndex(int absIndex) in nodeWithAbsIndex() argument
2617 for (int i = 0; n && (i < absIndex); i++) in nodeWithAbsIndex()
DDocument.h784 Node* nodeWithAbsIndex(int absIndex);