HomeSort by relevance Sort by last modified time
    Searched full:startindex (Results 1 - 25 of 838) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/base/core/tests/coretests/src/android/view/textclassifier/
TextClassificationManagerTest.java 60 int startIndex = text.indexOf(selected);
61 int endIndex = startIndex + selected.length();
65 assertThat(mClassifier.suggestSelection(text, startIndex, endIndex, LOCALES),
76 int startIndex = text.indexOf(selected);
77 int endIndex = startIndex + selected.length();
82 assertThat(mClassifier.suggestSelection(text, startIndex, endIndex, nullLocales),
93 int startIndex = text.indexOf(selected);
94 int endIndex = startIndex + selected.length();
98 assertThat(mClassifier.suggestSelection(text, startIndex, endIndex, LOCALES),
108 int startIndex = text.indexOf(selected)
    [all...]
  /external/r8/src/main/java/com/android/tools/r8/code/
InstructionFactory.java 24 public Instruction[] readSequenceFrom(ByteBuffer buffer, int startIndex, int length,
26 return readSequenceFrom(buffer.asShortBuffer(), startIndex, length, mapping);
29 public Instruction[] readSequenceFrom(ShortBuffer buffer, int startIndex, int length,
32 new ShortBufferBytecodeStream(buffer, startIndex, length);
59 private final int startIndex;
66 ShortBufferBytecodeStream(ShortBuffer source, int startIndex, int length) {
67 this.startIndex = startIndex;
76 int result = source.get(startIndex + offset);
  /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/support/paging/common/src/main/java/android/arch/paging/
BoundedDataSource.java 60 public List<Value> loadAfter(int startIndex, int pageSize) {
61 return loadRange(startIndex, pageSize);
67 public List<Value> loadBefore(int startIndex, int pageSize) {
68 if (startIndex < 0) {
71 int loadSize = Math.min(pageSize, startIndex + 1);
72 startIndex = startIndex - loadSize + 1;
73 List<Value> result = loadRange(startIndex, loadSize);
  /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/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);
  /frameworks/support/compat/java/android/support/v4/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 = mX[endIndex] - mX[startIndex];
108 return mY[startIndex];
111 final float tInRange = t - mX[startIndex];
114 final float startY = mY[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 */));
  /external/pdfium/core/fpdfapi/render/
cpdf_textrenderer.cpp 38 uint32_t startIndex = 0;
46 if (!pDevice->DrawTextPath(i - startIndex,
47 CharPosList.m_pCharPos + startIndex, font,
53 startIndex = i;
57 if (!pDevice->DrawTextPath(CharPosList.m_nChars - startIndex,
58 CharPosList.m_pCharPos + startIndex, font,
143 uint32_t startIndex = 0;
152 i - startIndex, CharPosList.m_pCharPos + startIndex, font,
157 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);

Completed in 769 milliseconds

1 2 3 4 5 6 7 8 91011>>