Home
last modified time | relevance | path

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

123456789

/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DResizableDoubleArray.java132 protected int startIndex = 0; field in ResizableDoubleArray
297 if ((startIndex + numElements) > internalArray.length) { in addElement()
300 internalArray[startIndex + (numElements - 1)] = value; in addElement()
314 System.arraycopy(internalArray, startIndex, tempArray, 0, numElements); in addElements()
317 startIndex = 0; in addElements()
338 double discarded = internalArray[startIndex]; in addElementRolling()
340 if ((startIndex + (numElements + 1)) > internalArray.length) { in addElementRolling()
344 startIndex += 1; in addElementRolling()
347 internalArray[startIndex + (numElements - 1)] = value; in addElementRolling()
371 double discarded = internalArray[startIndex + (numElements - 1)]; in substituteMostRecentElement()
[all …]
DCompositeFormat.java118 final int startIndex = pos.getIndex(); in parseNumber() local
119 final int endIndex = startIndex + n; in parseNumber()
121 if (source.substring(startIndex, endIndex).compareTo(sb.toString()) == 0) { in parseNumber()
142 final int startIndex = pos.getIndex(); in parseNumber() local
147 if (startIndex == endIndex) { in parseNumber()
173 final int startIndex = pos.getIndex(); in parseFixedstring() local
174 final int endIndex = startIndex + expected.length(); in parseFixedstring()
175 if ((startIndex >= source.length()) || in parseFixedstring()
177 (source.substring(startIndex, endIndex).compareTo(expected) != 0)) { in parseFixedstring()
179 pos.setIndex(startIndex); in parseFixedstring()
[all …]
/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,…
/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/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/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/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/jetty/src/java/org/eclipse/jetty/webapp/
DClasspathPattern.java193 int startIndex = 0; in match() local
195 while(startIndex < name.length() && name.charAt(startIndex) == '.') { in match()
196 startIndex++; in match()
209 … if (name.regionMatches(startIndex, entry.classpath, 0, entry.classpath.length())) in match()
217 int regionLength = endIndex-startIndex; in match()
219 && name.regionMatches(startIndex, entry.classpath, 0, regionLength)) in match()
/external/lzma/CPP/Common/
DMyString.h313 CStringBase Mid(int startIndex) const in Mid() argument
314 { return Mid(startIndex, _length - startIndex); } in Mid()
315 CStringBase Mid(int startIndex, int count) const in Mid() argument
317 if (startIndex + count > _length) in Mid()
318 count = _length - startIndex; in Mid()
320 if (startIndex == 0 && startIndex + count == _length) in Mid()
327 result._chars[i] = _chars[startIndex + i]; in Mid()
366 int Find(T c, int startIndex) const in Find() argument
368 const T *p = _chars + startIndex; in Find()
379 int Find(const CStringBase &s, int startIndex) const in Find() argument
[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/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/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/lzma/CPP/7zip/Archive/7z/
D7zExtract.cpp127 CNum startIndex = db.FolderStartFileIndex[folderIndex]; in Extract() local
129 index <= fileIndex - startIndex; index++) in Extract()
135 efi.ExtractStatuses.Add(index == fileIndex - startIndex); in Extract()
182 CNum startIndex; in Extract() local
184 startIndex = efi.FileIndex; in Extract()
186 startIndex = db.FolderStartFileIndex[efi.FolderIndex]; in Extract()
194 startIndex, in Extract()
/external/proguard/src/proguard/
DWordReader.java187 int startIndex = currentIndex; in nextWord() local
190 char startChar = currentLine.charAt(startIndex); in nextWord()
196 startIndex++; in nextWord()
206 currentWord = currentLine.substring(startIndex-1, currentIndex); in nextWord()
236 while (endIndex > startIndex && in nextWord()
268 currentWord = currentLine.substring(startIndex, endIndex); in nextWord()
/external/lzma/CS/7zip/Compress/RangeCoder/
DRangeCoderBitTree.cs74 public static UInt32 ReverseGetPrice(BitEncoder[] Models, UInt32 startIndex, in ReverseGetPrice()
83 price += Models[startIndex + m].GetPrice(bit); in ReverseGetPrice()
89 public static void ReverseEncode(BitEncoder[] Models, UInt32 startIndex, in ReverseEncode()
96 Models[startIndex + m].Encode(rangeEncoder, bit); in ReverseEncode()
142 public static uint ReverseDecode(BitDecoder[] Models, UInt32 startIndex, in ReverseDecode()
149 uint bit = Models[startIndex + m].Decode(rangeDecoder); in ReverseDecode()

123456789