Home
last modified time | relevance | path

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

12345678910

/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/r8/src/main/java/com/android/tools/r8/code/
DInstructionFactory.java24 public Instruction[] readSequenceFrom(ByteBuffer buffer, int startIndex, int length, in readSequenceFrom() argument
26 return readSequenceFrom(buffer.asShortBuffer(), startIndex, length, mapping); in readSequenceFrom()
29 public Instruction[] readSequenceFrom(ShortBuffer buffer, int startIndex, int length, in readSequenceFrom() argument
32 new ShortBufferBytecodeStream(buffer, startIndex, length); in readSequenceFrom()
59 private final int startIndex; field in InstructionFactory.ShortBufferBytecodeStream
66 ShortBufferBytecodeStream(ShortBuffer source, int startIndex, int length) { in ShortBufferBytecodeStream() argument
67 this.startIndex = startIndex; in ShortBufferBytecodeStream()
76 int result = source.get(startIndex + offset); in nextShort()
/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/pdfium/core/fpdfapi/render/
Dcpdf_textrenderer.cpp38 uint32_t startIndex = 0; in DrawTextPath() local
46 if (!pDevice->DrawTextPath(i - startIndex, in DrawTextPath()
47 CharPosList.m_pCharPos + startIndex, font, in DrawTextPath()
53 startIndex = i; in DrawTextPath()
57 if (!pDevice->DrawTextPath(CharPosList.m_nChars - startIndex, in DrawTextPath()
58 CharPosList.m_pCharPos + startIndex, font, in DrawTextPath()
143 uint32_t startIndex = 0; in DrawNormalText() local
152 i - startIndex, CharPosList.m_pCharPos + startIndex, font, in DrawNormalText()
157 startIndex = i; in DrawNormalText()
161 if (!pDevice->DrawNormalText(CharPosList.m_nChars - startIndex, in DrawNormalText()
[all …]
/external/skia/gm/
Dpathcontourstart.cpp50 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw() argument
52 path.addRect(rect, dir, startIndex); in onDraw()
56 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw() argument
58 path.addOval(rect, dir, startIndex); in onDraw()
62 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw() argument
68 path.addRRect(rrect, dir, startIndex); in onDraw()
72 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw() argument
77 path.addRRect(rrect, dir, startIndex); in onDraw()
81 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { in onDraw() argument
86 path.addRRect(rrect, dir, startIndex); in onDraw()
/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()
300 INT startIndex, /*!< Start index. */ in FDKsbrEnc_sbrNoiseFloorEstimateQmf() argument
318 startPos[0] = startIndex; in FDKsbrEnc_sbrNoiseFloorEstimateQmf()
319 stopPos[0] = startIndex + min(numberOfEstimatesPerFrame,2); in FDKsbrEnc_sbrNoiseFloorEstimateQmf()
322 startPos[0] = startIndex; in FDKsbrEnc_sbrNoiseFloorEstimateQmf()
[all …]
/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/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/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/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DAudioFileOutput.java60 public boolean writeRingBufferData(double[] data, int startIndex, int endIndex) { in writeRingBufferData() argument
70 int sampleCount = endIndex - startIndex; in writeRingBufferData()
76 if (endIndex > startIndex) { in writeRingBufferData()
77 writeDataBuffer(data, startIndex, endIndex); in writeRingBufferData()
79 writeDataBuffer(data, startIndex, data.length); in writeRingBufferData()
147 private void writeDataBuffer(double [] data, int startIndex, int end) { in writeDataBuffer() argument
153 for (int ii = startIndex; ii < end; ii += bufferSize) { in writeDataBuffer()
/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()
/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/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()

12345678910