/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
D | ResizableDoubleArray.java | 132 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 …]
|
D | CompositeFormat.java | 118 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/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | CommonTree.cs | 56 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/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
D | CommonTree.cs | 56 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/ |
D | FuncSubstring.java | 58 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/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
D | CommonTree.java | 45 protected int startIndex=-1, stopIndex=-1; field in CommonTree 58 this.startIndex = node.startIndex; in CommonTree() 120 if ( startIndex==-1 && token!=null ) { in getTokenStartIndex() 123 return startIndex; in getTokenStartIndex() 128 startIndex = index; in setTokenStartIndex() 150 if ( startIndex<0 || stopIndex<0 ) { in setUnknownTokenBoundaries() 151 startIndex = stopIndex = token.getTokenIndex(); in setUnknownTokenBoundaries() 158 if ( startIndex>=0 && stopIndex>=0 ) return; // already set in setUnknownTokenBoundaries() 162 startIndex = firstChild.getTokenStartIndex(); in setUnknownTokenBoundaries()
|
/external/antlr/runtime/ObjC/Framework/ |
D | RuleMemo.m | 37 @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 …]
|
D | CommonTree.m | 73 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 …]
|
D | BufferedTokenStream.h | 84 - (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<Token>)startIndex ToToken:(id<Token>)stopIndex;
|
D | CommonToken.m | 46 @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; 274 if ( startIndex < n && stopIndex < n) { 275 return [input substringWithRange:NSMakeRange(startIndex, (stopIndex-startIndex)+1)]; 342 return startIndex; 347 startIndex = aStart; [all …]
|
D | BufferedTokenStream.m | 215 - (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/pdfium/core/fpdfapi/render/ |
D | cpdf_textrenderer.cpp | 46 uint32_t startIndex = 0; in DrawTextPath() local 53 if (!pDevice->DrawTextPath(i - startIndex, in DrawTextPath() 54 CharPosList.m_pCharPos + startIndex, font, in DrawTextPath() 60 startIndex = i; in DrawTextPath() 63 if (!pDevice->DrawTextPath(CharPosList.m_nChars - startIndex, in DrawTextPath() 64 CharPosList.m_pCharPos + startIndex, font, in DrawTextPath() 148 uint32_t startIndex = 0; in DrawNormalText() local 156 i - startIndex, CharPosList.m_pCharPos + startIndex, font, in DrawNormalText() 161 startIndex = i; in DrawNormalText() 164 if (!pDevice->DrawNormalText(CharPosList.m_nChars - startIndex, in DrawNormalText() [all …]
|
/external/skqp/gm/ |
D | pathcontourstart.cpp | 50 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/skia/gm/ |
D | pathcontourstart.cpp | 50 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/ |
D | JavascriptTokenBuffer.java | 58 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/antlr/tool/src/main/java/org/antlr/misc/ |
D | Utils.java | 60 int startIndex = 0; in replace() local 63 result.append(src.substring(startIndex,endIndex)); in replace() 67 startIndex = endIndex + replacee.length(); in replace() 68 endIndex = src.indexOf(replacee,startIndex); in replace() 70 result.append(src.substring(startIndex,src.length())); in replace()
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | AudioFileOutput.java | 61 public boolean writeRingBufferData(double[] data, int startIndex, int endIndex) { in writeRingBufferData() argument 71 int sampleCount = endIndex - startIndex; in writeRingBufferData() 77 if (endIndex > startIndex) { in writeRingBufferData() 78 writeDataBuffer(data, startIndex, endIndex); in writeRingBufferData() 80 writeDataBuffer(data, startIndex, data.length); in writeRingBufferData() 148 private void writeDataBuffer(double[] data, int startIndex, int end) { in writeDataBuffer() argument 154 for (int ii = startIndex; ii < end; ii += bufferSize) { in writeDataBuffer()
|
/external/grpc-grpc/src/csharp/Grpc.Core/ |
D | CallCredentials.cs | 110 private CallCredentialsSafeHandle ToNativeRecursive(int startIndex) in ToNativeRecursive() argument 112 if (startIndex == credentials.Count - 1) in ToNativeRecursive() 114 return credentials[startIndex].ToNativeCredentials(); in ToNativeRecursive() 117 using (var cred1 = credentials[startIndex].ToNativeCredentials()) in ToNativeRecursive() 118 using (var cred2 = ToNativeRecursive(startIndex + 1)) in ToNativeRecursive()
|
/external/aac/libSBRenc/src/ |
D | nf_est.cpp | 198 INT startIndex, /*!< Start index. */ in qmfBasedNoiseFloorDetection() argument 222 FIXP_DBL invIndex = GetInvInt(stopIndex - startIndex); in qmfBasedNoiseFloorDetection() 235 for (k = startIndex; k < stopIndex; k++) { in qmfBasedNoiseFloorDetection() 242 for (k = startIndex; k < stopIndex; k++) { in qmfBasedNoiseFloorDetection() 251 for (k = startIndex; k < stopIndex; k++) { in qmfBasedNoiseFloorDetection() 258 for (k = startIndex; k < stopIndex; k++) { in qmfBasedNoiseFloorDetection() 342 INT startIndex, /*!< Start index. */ in FDKsbrEnc_sbrNoiseFloorEstimateQmf() argument 358 startPos[0] = startIndex; in FDKsbrEnc_sbrNoiseFloorEstimateQmf() 361 stopPos[0] = startIndex + min(numberOfEstimatesPerFrame, 2); in FDKsbrEnc_sbrNoiseFloorEstimateQmf() 363 stopPos[0] = startIndex + 1; in FDKsbrEnc_sbrNoiseFloorEstimateQmf() [all …]
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
D | SubList.cs | 16 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/runtime/JavaScript/src/org/antlr/runtime/tree/ |
D | CommonTree.js | 11 this.startIndex = -1; 26 this.startIndex = node.startIndex; 85 return this.startIndex; 89 this.startIndex = index;
|
/external/proguard/src/proguard/classfile/util/ |
D | ExternalTypeEnumeration.java | 81 int startIndex = index; in nextType() local 85 startIndex); in nextType() 91 startIndex); in nextType() 98 return descriptor.substring(startIndex, index++).trim(); in nextType()
|
/external/proguard/src/proguard/ |
D | WordReader.java | 187 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/ |
D | RangeCoderBitTree.cs | 74 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()
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
D | ClassTable.java | 175 int startIndex = 0; in writeClassTable() local 177 while (startIndex < classTable.length) { in writeClassTable() 178 int startID = classTable[startIndex].getGlyphID(); in writeClassTable() 179 int classID = classTable[startIndex].getClassID(); in writeClassTable() 184 for (endIndex = startIndex; endIndex < classTable.length; endIndex += 1) { in writeClassTable() 200 startIndex = endIndex; in writeClassTable()
|