/libcore/ojluni/src/main/java/sun/misc/ |
FormattedFloatingDecimal.java | 164 int startIndex = isNegative ? 1 : 0; 170 System.arraycopy(digits, 0, mantissa, startIndex, nDigits); 171 Arrays.fill(mantissa, startIndex + nDigits, startIndex + nDigits + extraZeros, '0'); 172 mantissa[startIndex + nDigits + extraZeros] = '.'; 173 mantissa[startIndex + nDigits + extraZeros+1] = '0'; 177 System.arraycopy(digits, 0, mantissa, startIndex, exp); 178 mantissa[startIndex + exp ] = '.'; 179 System.arraycopy(digits, exp, mantissa, startIndex+exp+1, t); 182 System.arraycopy(digits, 0, mantissa, startIndex, nDigits) [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRRuleMemo.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; [all...] |
ANTLRCommonTree.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 [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
WspTypeDecoder.java | 213 * @param startIndex The starting position of the "Text-string" in this pdu 219 public boolean decodeTextString(int startIndex) { 220 int index = startIndex; 224 mDataLength = index - startIndex + 1; 225 if (mWspData[startIndex] == 127) { 226 mStringValue = new String(mWspData, startIndex + 1, mDataLength - 2); 228 mStringValue = new String(mWspData, startIndex, mDataLength - 1); 236 * @param startIndex The starting position of the "Token-text" in this pdu 242 public boolean decodeTokenText(int startIndex) { 243 int index = startIndex; [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
ComprehensionTlv.java | 84 * @param startIndex Index in data at which to start parsing 88 public static List<ComprehensionTlv> decodeMany(byte[] data, int startIndex) 92 while (startIndex < endIndex) { 93 ComprehensionTlv ctlv = ComprehensionTlv.decode(data, startIndex); 96 startIndex = ctlv.mValueIndex + ctlv.mLength; 110 * @param startIndex Index in data at which to start parsing 114 public static ComprehensionTlv decode(byte[] data, int startIndex) 116 int curIndex = startIndex; 129 ", startIndex=" + startIndex + " curIndex=" + curIndex [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
FreePathInterpolator.java | 99 int startIndex = 0; 104 return mY[startIndex]; 110 while (endIndex - startIndex > 1) { 111 int midIndex = (startIndex + endIndex) / 2; 115 startIndex = midIndex; 119 float xRange = mX[endIndex] - mX[startIndex]; 121 return mY[startIndex]; 124 float tInRange = t - mX[startIndex]; 127 float startY = mY[startIndex]; 138 int startIndex = 0 [all...] |
/frameworks/base/core/java/com/android/internal/alsa/ |
LineTokenizer.java | 32 int nextToken(String line, int startIndex) { 34 int offset = startIndex; 45 int nextDelimiter(String line, int startIndex) { 47 int offset = startIndex;
|
/external/skia/gm/ |
pathcontourstart.cpp | 50 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { 52 path.addRect(rect, dir, startIndex); 56 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { 58 path.addOval(rect, dir, startIndex); 62 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { 68 path.addRRect(rrect, dir, startIndex); 72 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { 77 path.addRRect(rrect, dir, startIndex); 81 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { 86 path.addRRect(rrect, dir, startIndex); [all...] |
/external/skqp/gm/ |
pathcontourstart.cpp | 50 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { 52 path.addRect(rect, dir, startIndex); 56 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { 58 path.addOval(rect, dir, startIndex); 62 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { 68 path.addRRect(rrect, dir, startIndex); 72 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { 77 path.addRRect(rrect, dir, startIndex); 81 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) { 86 path.addRRect(rrect, dir, startIndex); [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncSubstring.java | 58 int startIndex; 66 startIndex = 0; 71 startIndex = (start > 0) ? (int) start - 1 : 0; 85 if (startIndex > lenOfS1) 86 startIndex = lenOfS1; 88 substr = s1.substring(startIndex, end); 92 if (startIndex > lenOfS1) 93 startIndex = lenOfS1; 94 substr = s1.substring(startIndex);
|
/developers/samples/android/ui/text/TextStyling-Java/app/src/main/java/com/android/example/text/styling/renderer/ |
MarkdownBuilder.java | 100 int startIndex = builder.length(); 104 builder.setSpan(new BulletPointSpan(20, bulletPointColor), startIndex, 109 int startIndex = builder.length(); 112 builder.setSpan(new StyleSpan(Typeface.ITALIC), startIndex, builder.length(), 114 builder.setSpan(new LeadingMarginSpan.Standard(40), startIndex, builder.length(), 116 builder.setSpan(new RelativeSizeSpan(1.1f), startIndex, builder.length(), 121 int startIndex = builder.length(); 123 builder.setSpan(new CodeBlockSpan(codeBlockTypeface, codeBackgroundColor), startIndex,
|
/frameworks/support/compat/src/main/java/androidx/core/view/animation/ |
PathInterpolatorApi14.java | 73 int startIndex = 0; 75 while (endIndex - startIndex > 1) { 76 int midIndex = (startIndex + endIndex) / 2; 80 startIndex = midIndex; 84 final float xRange = mX[endIndex] - mX[startIndex]; 86 return mY[startIndex]; 89 final float tInRange = t - mX[startIndex]; 92 final float startY = mY[startIndex];
|
/packages/apps/Dialer/java/com/android/dialer/compat/ |
PathInterpolatorCompat.java | 95 int startIndex = 0; 97 while (endIndex - startIndex > 1) { 98 int midIndex = (startIndex + endIndex) / 2; 102 startIndex = midIndex; 106 final float xRange = x[endIndex] - x[startIndex]; 108 return y[startIndex]; 111 final float tInRange = t - x[startIndex]; 114 final float startY = y[startIndex];
|
/packages/apps/PhoneCommon/src/com/android/phone/common/compat/ |
PathInterpolatorCompat.java | 80 int startIndex = 0; 82 while (endIndex - startIndex > 1) { 83 int midIndex = (startIndex + endIndex) / 2; 87 startIndex = midIndex; 91 final float xRange = mX[endIndex] - mX[startIndex]; 93 return mY[startIndex]; 96 final float tInRange = t - mX[startIndex]; 99 final float startY = mY[startIndex];
|
/external/lzma/Java/SevenZip/Compression/RangeCoder/ |
BitTreeEncoder.java | 72 public static int ReverseGetPrice(short[] Models, int startIndex,
81 price += Encoder.GetPrice(Models[startIndex + m], bit);
87 public static void ReverseEncode(short[] Models, int startIndex,
94 rangeEncoder.Encode(Models, startIndex + m, bit);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
ContactsDictionaryUtilsTest.java | 39 testString1, testString1.length(), 0 /* startIndex */)); 42 testString1, testString1.length(), 6 /* startIndex */)); 46 testString2, testString1.length(), 0 /* startIndex */)); 50 testString3, testString1.length(), 0 /* startIndex */));
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
TextClassificationManagerTest.java | 82 int startIndex = text.indexOf(selected); 83 int endIndex = startIndex + selected.length(); 87 text, startIndex, endIndex) 103 int startIndex = text.indexOf(selected); 104 int endIndex = startIndex + selected.length(); 108 text, startIndex, endIndex) 123 int startIndex = text.indexOf(selected); 124 int endIndex = startIndex + selected.length(); 126 text, startIndex, endIndex) 132 isTextSelection(startIndex, endIndex, NO_TYPE)) [all...] |
/external/pdfium/core/fpdfapi/render/ |
cpdf_textrenderer.cpp | 46 uint32_t startIndex = 0; 53 if (!pDevice->DrawTextPath(i - startIndex, 54 CharPosList.m_pCharPos + startIndex, font, 60 startIndex = i; 63 if (!pDevice->DrawTextPath(CharPosList.m_nChars - startIndex, 64 CharPosList.m_pCharPos + startIndex, font, 148 uint32_t startIndex = 0; 156 i - startIndex, CharPosList.m_pCharPos + startIndex, font, 161 startIndex = i [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureTrailDrawingPoints.java | 178 int startIndex; 179 for (startIndex = mTrailStartIndex; startIndex < trailSize; startIndex++) { 180 final int elapsedTime = sinceDown - eventTimes[startIndex]; 186 mTrailStartIndex = startIndex; 188 if (startIndex < trailSize) { 192 int p1x = getXCoordValue(xCoords[startIndex]); 193 int p1y = yCoords[startIndex]; 194 final int lastTime = sinceDown - eventTimes[startIndex]; [all...] |
/hardware/libhardware/modules/input/evdev/ |
BitUtils.cpp | 47 size_t startIndex = start / 8; 50 ALOGD("startIndex=%d, endIndex=%d", startIndex, endIndex); 52 for (size_t i = startIndex; i < endIndex; ++i) { 60 if (i == startIndex) {
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
AudioFileOutput.java | 56 * endIndex <= startIndex: Writes [startIndex, data.length) then [0, endIndex) 57 * endIndex > startIndex : Writes [startIndex, endIndex) 60 public boolean writeRingBufferData(double[] data, int startIndex, int endIndex) { 70 int sampleCount = endIndex - startIndex; 76 if (endIndex > startIndex) { 77 writeDataBuffer(data, startIndex, endIndex); 79 writeDataBuffer(data, startIndex, data.length); 147 private void writeDataBuffer(double [] data, int startIndex, int end) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
CommonTree.cs | 56 protected int startIndex = -1; 74 this.startIndex = node.startIndex; 152 if (startIndex == -1 && token != null) { 155 return startIndex; 158 startIndex = value; 196 if (startIndex < 0 || stopIndex < 0) { 197 startIndex = stopIndex = token.TokenIndex; 204 if (startIndex >= 0 && stopIndex >= 0) 209 startIndex = firstChild.TokenStartIndex [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
CommonTree.cs | 56 protected int startIndex = -1; 76 this.startIndex = node.startIndex; 194 if ( startIndex == -1 && Token != null ) 197 return startIndex; 202 startIndex = value; 255 if ( startIndex < 0 || stopIndex < 0 ) 256 startIndex = stopIndex = Token.TokenIndex; 270 if ( startIndex >= 0 && stopIndex >= 0 ) 277 startIndex = firstChild.TokenStartIndex [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
CommonTree.java | 45 protected int startIndex=-1, stopIndex=-1; 58 this.startIndex = node.startIndex; 113 if ( startIndex==-1 && token!=null ) { 116 return startIndex; 120 startIndex = index; 140 if ( startIndex<0 || stopIndex<0 ) { 141 startIndex = stopIndex = token.getTokenIndex(); 148 if ( startIndex>=0 && stopIndex>=0 ) return; // already set 152 startIndex = firstChild.getTokenStartIndex() [all...] |
/external/lzma/CS/7zip/Compress/RangeCoder/ |
RangeCoderBitTree.cs | 74 public static UInt32 ReverseGetPrice(BitEncoder[] Models, UInt32 startIndex,
83 price += Models[startIndex + m].GetPrice(bit);
89 public static void ReverseEncode(BitEncoder[] Models, UInt32 startIndex,
96 Models[startIndex + m].Encode(rangeEncoder, bit);
142 public static uint ReverseDecode(BitDecoder[] Models, UInt32 startIndex,
149 uint bit = Models[startIndex + m].Decode(rangeDecoder);
|