Home
last modified time | relevance | path

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

1234567

/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DCommonTree.cs56 protected int startIndex = -1; field in Antlr.Runtime.Tree.CommonTree
76 this.startIndex = node.startIndex; in CommonTree()
194 if ( startIndex == -1 && Token != null )
197 return startIndex;
202 startIndex = value;
255 if ( startIndex < 0 || stopIndex < 0 ) in SetUnknownTokenBoundaries()
256 startIndex = stopIndex = Token.TokenIndex; in SetUnknownTokenBoundaries()
270 if ( startIndex >= 0 && stopIndex >= 0 ) in SetUnknownTokenBoundaries()
277 startIndex = firstChild.TokenStartIndex; in SetUnknownTokenBoundaries()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DCommonTree.cs56 protected int startIndex = -1; field in Antlr.Runtime.Tree.CommonTree
74 this.startIndex = node.startIndex; in CommonTree()
152 if (startIndex == -1 && token != null) {
155 return startIndex;
158 startIndex = value;
196 if (startIndex < 0 || stopIndex < 0) { in SetUnknownTokenBoundaries()
197 startIndex = stopIndex = token.TokenIndex; in SetUnknownTokenBoundaries()
204 if (startIndex >= 0 && stopIndex >= 0) in SetUnknownTokenBoundaries()
209 startIndex = firstChild.TokenStartIndex; in SetUnknownTokenBoundaries()
/external/apache-xml/src/main/java/org/apache/xpath/functions/
DFuncSubstring.java58 int startIndex; in execute() local
66 startIndex = 0; in execute()
71 startIndex = (start > 0) ? (int) start - 1 : 0; in execute()
85 if (startIndex > lenOfS1) in execute()
86 startIndex = lenOfS1; in execute()
88 substr = s1.substring(startIndex, end); in execute()
92 if (startIndex > lenOfS1) in execute()
93 startIndex = lenOfS1; in execute()
94 substr = s1.substring(startIndex); in execute()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DCommonTree.java45 protected int startIndex=-1, stopIndex=-1; field in CommonTree
58 this.startIndex = node.startIndex; in CommonTree()
113 if ( startIndex==-1 && token!=null ) { in getTokenStartIndex()
116 return startIndex; in getTokenStartIndex()
120 startIndex = index; in setTokenStartIndex()
140 if ( startIndex<0 || stopIndex<0 ) { in setUnknownTokenBoundaries()
141 startIndex = stopIndex = token.getTokenIndex(); in setUnknownTokenBoundaries()
148 if ( startIndex>=0 && stopIndex>=0 ) return; // already set in setUnknownTokenBoundaries()
152 startIndex = firstChild.getTokenStartIndex(); in setUnknownTokenBoundaries()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRRuleMemo.m37 @synthesize startIndex;
53 startIndex = nil;
63 startIndex = aStartIndex;
75 copy.startIndex = startIndex;
84 if (startIndex != nil) aCnt++;
98 if (aStartIndex == [aMatchMemo.startIndex integerValue] ) {
110 if (aStartIndex == [aMatchMemo.startIndex integerValue] ) {
122 if (aStartIndex == [aMatchMemo.startIndex integerValue] ) {
132 return startIndex;
137 if ( aStartIndex != startIndex ) {
[all …]
DANTLRCommonTree.m73 startIndex = -1;
87 startIndex = aNode.startIndex;
101 startIndex = -1;
114 // startIndex = token.startIndex;
115 startIndex = -1;
129 // startIndex = token.startIndex;
130 startIndex = -1;
160 copy.startIndex = startIndex;
233 if ( startIndex == -1 && token != nil ) {
236 return startIndex;
[all …]
DANTLRBufferedTokenStream.h84 - (AMutableArray *)getFrom:(NSInteger)startIndex To:(NSInteger) stopIndex;
93 - (AMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex;
94 - (AMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex With:(ANTLRBitSet *)…
95 - (AMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithList:(AMutableAr…
96 - (AMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithType:(NSInteger)…
98 - (NSString *) toStringFromStart:(NSInteger)startIndex ToEnd:(NSInteger)stopIndex;
99 - (NSString *) toStringFromToken:(id<ANTLRToken>)startIndex ToToken:(id<ANTLRToken>)stopIndex;
DANTLRCommonToken.m46 @synthesize startIndex;
139 startIndex = 0;
157 startIndex = aStart;
162 text = [input substringWithRange:NSMakeRange(startIndex, (stopIndex-startIndex)+1)];
181 startIndex = oldToken.startIndex;
229 copy.startIndex = startIndex;
273 return [input substringWithRange:NSMakeRange(startIndex, (stopIndex-startIndex)+1)];
336 return startIndex;
341 startIndex = aStart;
389 …return [NSString stringWithFormat:@"[@%d, %d:%d='%@',<%d>%@,%d:%d]", index, startIndex, stopIndex,…
DANTLRBufferedTokenStream.m215 - (AMutableArray *)getFrom:(NSInteger)startIndex To:(NSInteger)stopIndex
217 if ( startIndex < 0 || stopIndex < 0 )
226 for (NSInteger i = startIndex; i <= stopIndex; i++) {
289 - (AMutableArray *)getTokensFrom:(NSInteger) startIndex To:(NSInteger) stopIndex
291 return [self getTokensFrom:startIndex To:stopIndex With:(ANTLRBitSet *)nil];
298 - (AMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex With:(ANTLRBitSet *)…
306 if ( startIndex < 0 )
307 startIndex = 0;
308 if ( startIndex > stopIndex )
313 for (NSInteger i = startIndex; i <= stopIndex; i++) {
[all …]
/external/jsilver/src/com/google/streamhtmlparser/util/
DJavascriptTokenBuffer.java58 private int startIndex; field in JavascriptTokenBuffer
69 startIndex = 0; in JavascriptTokenBuffer()
82 startIndex = aJavascriptTokenBuffer.startIndex; in JavascriptTokenBuffer()
117 if (endIndex == startIndex) { in appendChar()
118 startIndex = (endIndex + 1) % buffer.length; in appendChar()
129 if (startIndex == endIndex) { in popChar()
250 int len = endIndex - startIndex;
/external/webkit/Tools/Scripts/
Dbisect-builds131 my $startIndex = $revisions[0] ? findNearestNightlyIndex(@nightlies, $revisions[0], 'ceil') : 0;
141 $nightlies[$startIndex]->{rev};
142 … downloadNightly($nightlies[$startIndex]->{file}, $nightlyFilesURLBase, $nightlyDownloadDirectory);
143 …mountAndRunNightly($nightlies[$startIndex]->{file}, $nightlyDownloadDirectory, $safariPath, $tempF…
144 $didReproduceBug = promptForTest($nightlies[$startIndex]->{rev});
145 $startIndex-- if $didReproduceBug < 0;
166 printStatus($nightlies[$startIndex]->{rev}, $nightlies[$endIndex]->{rev}, $isProgression);
169 while (abs($endIndex - $startIndex) > 1) {
170 my $index = $startIndex + int(($endIndex - $startIndex) / 2);
175 my $buildsLeft = max(max(0, $endIndex - $index - 1), max(0, $index - $startIndex - 1));
[all …]
/external/aac/libSBRenc/src/
Dnf_est.cpp169 INT startIndex, /*!< Start index. */ in qmfBasedNoiseFloorDetection() argument
182 FIXP_DBL invIndex = GetInvInt(stopIndex-startIndex); in qmfBasedNoiseFloorDetection()
195 for(k = startIndex ; k < stopIndex; k++){ in qmfBasedNoiseFloorDetection()
202 for(k = startIndex ; k < stopIndex; k++){ in qmfBasedNoiseFloorDetection()
213 for(k = startIndex ; k < stopIndex; k++){ in qmfBasedNoiseFloorDetection()
220 for(k = startIndex ; k < stopIndex; k++){ in qmfBasedNoiseFloorDetection()
299 INT startIndex, /*!< Start index. */ in FDKsbrEnc_sbrNoiseFloorEstimateQmf() argument
317 startPos[0] = startIndex; in FDKsbrEnc_sbrNoiseFloorEstimateQmf()
318 stopPos[0] = startIndex + min(numberOfEstimatesPerFrame,2); in FDKsbrEnc_sbrNoiseFloorEstimateQmf()
321 startPos[0] = startIndex; in FDKsbrEnc_sbrNoiseFloorEstimateQmf()
[all …]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
DUtils.java63 int startIndex = 0; in replace() local
66 result.append(src.substring(startIndex,endIndex)); in replace()
70 startIndex = endIndex + replacee.length(); in replace()
71 endIndex = src.indexOf(replacee,startIndex); in replace()
73 result.append(src.substring(startIndex,src.length())); in replace()
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRBufferedTokenStream.h81 - (NSMutableArray *)getFrom:(NSInteger)startIndex To:(NSInteger) stopIndex;
90 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex;
91 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex With:(ANTLRBitSet *…
92 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithList:(NSMutable…
93 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithType:(NSInteger…
94 - (NSString *) toStringFromStart:(NSInteger)startIndex ToEnd:(NSInteger)stopIndex;
95 - (NSString *) toStringFromToken:(id<ANTLRToken>)startIndex ToToken:(id<ANTLRToken>)stopIndex;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRBufferedTokenStream.h81 - (NSMutableArray *)getFrom:(NSInteger)startIndex To:(NSInteger) stopIndex;
90 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex;
91 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex With:(ANTLRBitSet *…
92 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithList:(NSMutable…
93 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithType:(NSInteger…
94 - (NSString *) toStringFromStart:(NSInteger)startIndex ToEnd:(NSInteger)stopIndex;
95 - (NSString *) toStringFromToken:(id<ANTLRToken>)startIndex ToToken:(id<ANTLRToken>)stopIndex;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRBufferedTokenStream.h81 - (NSMutableArray *)getFrom:(NSInteger)startIndex To:(NSInteger) stopIndex;
90 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex;
91 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex With:(ANTLRBitSet *…
92 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithList:(NSMutable…
93 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithType:(NSInteger…
94 - (NSString *) toStringFromStart:(NSInteger)startIndex ToEnd:(NSInteger)stopIndex;
95 - (NSString *) toStringFromToken:(id<ANTLRToken>)startIndex ToToken:(id<ANTLRToken>)stopIndex;
/external/webkit/Source/JavaScriptCore/runtime/
DArgList.cpp33 void ArgList::getSlice(int startIndex, ArgList& result) const in getSlice() argument
35 if (startIndex <= 0 || static_cast<unsigned>(startIndex) >= m_argCount) { in getSlice()
39 result = ArgList(m_args + startIndex, m_argCount - startIndex); in getSlice()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DArraysTest.java868 int startIndex = arraySize / 4; in test_sort$BII() local
876 Arrays.sort(reversedArray, startIndex, endIndex); in test_sort$BII()
877 for (int counter = 0; counter < startIndex; counter++) in test_sort$BII()
880 for (int counter = startIndex; counter < endIndex - 1; counter++) in test_sort$BII()
889 Arrays.sort(reversedArray, startIndex + 1, startIndex); in test_sort$BII()
895 Arrays.sort(reversedArray, -1, startIndex); in test_sort$BII()
901 Arrays.sort(reversedArray, startIndex, reversedArray.length + 1); in test_sort$BII()
908 Arrays.sort(new byte[1], startIndex + 1, startIndex); in test_sort$BII()
934 int startIndex = arraySize / 4; in test_sort$CII() local
942 Arrays.sort(reversedArray, startIndex, endIndex); in test_sort$CII()
[all …]
/external/proguard/src/proguard/classfile/util/
DExternalTypeEnumeration.java81 int startIndex = index; in nextType() local
85 startIndex); in nextType()
91 startIndex); in nextType()
98 return descriptor.substring(startIndex, index++).trim(); in nextType()
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
DCommonTree.js11 this.startIndex = -1;
26 this.startIndex = node.startIndex;
85 return this.startIndex;
89 this.startIndex = index;
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DSubList.cs16 public SubList( IList source, int startIndex, int endIndex ) in SubList() argument
20 if ( startIndex < 0 || endIndex < 0 ) in SubList()
22 if ( startIndex > endIndex || endIndex >= source.Count ) in SubList()
26 _startIndex = startIndex; in SubList()
177 public SubList( IList<T> source, int startIndex, int endIndex ) in SubList() argument
181 if ( startIndex < 0 || endIndex < 0 ) in SubList()
183 if ( startIndex > endIndex || endIndex >= source.Count ) in SubList()
187 _startIndex = startIndex; in SubList()
DStringExtensions.cs61 public static int indexOf( this string str, char value, int startIndex ) in indexOf() argument
63 return str.IndexOf( value, startIndex ); in indexOf()
73 public static int indexOf( this string str, string value, int startIndex ) in indexOf() argument
75 return str.IndexOf( value, startIndex ); in indexOf()
/external/proguard/src/proguard/
DWordReader.java176 int startIndex = currentIndex; in nextWord() local
179 char startChar = currentLine.charAt(startIndex); in nextWord()
190 startIndex++; in nextWord()
200 currentWord = currentLine.substring(startIndex-1, currentIndex); in nextWord()
229 currentWord = currentLine.substring(startIndex, endIndex); in nextWord()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DStringExtensions.cs60 public static int indexOf( string str, char value, int startIndex ) in indexOf() argument
62 return str.IndexOf( value, startIndex ); in indexOf()
72 public static int indexOf( string str, string value, int startIndex ) in indexOf() argument
74 return str.IndexOf( value, startIndex ); in indexOf()
/external/jmonkeyengine/engine/src/core/com/jme3/font/
DColorTags.java47 int startIndex = 0; in setText() local
53 builder.append(charSeq.subSequence(startIndex, m.start())); in setText()
55 startIndex = m.end(); in setText()
58 builder.append(charSeq.subSequence(startIndex, charSeq.length())); in setText()

1234567