Home
last modified time | relevance | path

Searched refs:endIndex (Results 1 – 25 of 121) sorted by relevance

12345

/external/jsilver/src/com/google/streamhtmlparser/util/
DJavascriptTokenBuffer.java61 private int endIndex; field in JavascriptTokenBuffer
70 endIndex = 0; in JavascriptTokenBuffer()
83 endIndex = aJavascriptTokenBuffer.endIndex; in JavascriptTokenBuffer()
115 buffer[endIndex] = input; in appendChar()
116 endIndex = (endIndex + 1) % buffer.length; in appendChar()
117 if (endIndex == startIndex) { in appendChar()
118 startIndex = (endIndex + 1) % buffer.length; in appendChar()
129 if (startIndex == endIndex) { in popChar()
132 endIndex--; in popChar()
133 if (endIndex < 0) { in popChar()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/
Dgim_box_set.cpp36 gim_array<GIM_AABB_DATA> & primitive_boxes, GUINT startIndex, GUINT endIndex) in _calc_splitting_axis() argument
42 GUINT numIndices = endIndex-startIndex; in _calc_splitting_axis()
44 for (i=startIndex;i<endIndex;i++) in _calc_splitting_axis()
52 for (i=startIndex;i<endIndex;i++) in _calc_splitting_axis()
68 GUINT endIndex, GUINT splitAxis) in _sort_and_calc_splitting_index() argument
72 GUINT numIndices = endIndex - startIndex; in _sort_and_calc_splitting_index()
76 for (i=startIndex;i<endIndex;i++) in _sort_and_calc_splitting_index()
84 for (i=startIndex;i<endIndex;i++) in _sort_and_calc_splitting_index()
106 …bool unbalanced = ((splitIndex<=(startIndex+rangeBalancedIndices)) || (splitIndex >=(endIndex-1-ra… in _sort_and_calc_splitting_index()
113 btAssert(!((splitIndex==startIndex) || (splitIndex == (endIndex)))); in _sort_and_calc_splitting_index()
[all …]
DbtGImpactBvh.cpp68 GIM_BVH_DATA_ARRAY & primitive_boxes, int startIndex, int endIndex) in _calc_splitting_axis() argument
75 int numIndices = endIndex-startIndex; in _calc_splitting_axis()
77 for (i=startIndex;i<endIndex;i++) in _calc_splitting_axis()
85 for (i=startIndex;i<endIndex;i++) in _calc_splitting_axis()
101 int endIndex, int splitAxis) in _sort_and_calc_splitting_index() argument
105 int numIndices = endIndex - startIndex; in _sort_and_calc_splitting_index()
111 for (i=startIndex;i<endIndex;i++) in _sort_and_calc_splitting_index()
123 for (i=startIndex;i<endIndex;i++) in _sort_and_calc_splitting_index()
146 …bool unbalanced = ((splitIndex<=(startIndex+rangeBalancedIndices)) || (splitIndex >=(endIndex-1-ra… in _sort_and_calc_splitting_index()
153 btAssert(!((splitIndex==startIndex) || (splitIndex == (endIndex)))); in _sort_and_calc_splitting_index()
[all …]
DbtGImpactQuantizedBvh.cpp89 GIM_BVH_DATA_ARRAY & primitive_boxes, int startIndex, int endIndex) in _calc_splitting_axis() argument
96 int numIndices = endIndex-startIndex; in _calc_splitting_axis()
98 for (i=startIndex;i<endIndex;i++) in _calc_splitting_axis()
106 for (i=startIndex;i<endIndex;i++) in _calc_splitting_axis()
122 int endIndex, int splitAxis) in _sort_and_calc_splitting_index() argument
126 int numIndices = endIndex - startIndex; in _sort_and_calc_splitting_index()
132 for (i=startIndex;i<endIndex;i++) in _sort_and_calc_splitting_index()
144 for (i=startIndex;i<endIndex;i++) in _sort_and_calc_splitting_index()
167 …bool unbalanced = ((splitIndex<=(startIndex+rangeBalancedIndices)) || (splitIndex >=(endIndex-1-ra… in _sort_and_calc_splitting_index()
174 btAssert(!((splitIndex==startIndex) || (splitIndex == (endIndex)))); in _sort_and_calc_splitting_index()
[all …]
/external/apache-http/src/org/apache/http/util/
DCharArrayBuffer.java211 public int indexOf(int ch, int beginIndex, int endIndex) { in indexOf() argument
215 if (endIndex > this.len) { in indexOf()
216 endIndex = this.len; in indexOf()
218 if (beginIndex > endIndex) { in indexOf()
221 for (int i = beginIndex; i < endIndex; i++) { in indexOf()
233 public String substring(int beginIndex, int endIndex) { in substring() argument
237 if (endIndex > this.len) { in substring()
240 if (beginIndex > endIndex) { in substring()
243 return new String(this.buffer, beginIndex, endIndex - beginIndex); in substring()
246 public String substringTrimmed(int beginIndex, int endIndex) { in substringTrimmed() argument
[all …]
/external/libgdx/extensions/gdx-jnigen/src/com/badlogic/gdx/jnigen/parsing/
DJavaMethodParser.java33 private final int endIndex; field in JavaMethodParser.JniSection
35 public JniSection (String nativeCode, int startIndex, int endIndex) { in JniSection() argument
38 this.endIndex = endIndex; in JniSection()
54 return endIndex; in getEndIndex()
59 …Section [nativeCode=" + nativeCode + ", startIndex=" + startIndex + ", endIndex=" + endIndex + "]"; in toString()
161 private final int endIndex; field in JavaMethodParser.JavaMethod
164 ArrayList<Argument> arguments, int startIndex, int endIndex) { in JavaMethod() argument
172 this.endIndex = endIndex; in JavaMethod()
225 return endIndex; in getEndIndex()
236 + ", startIndex=" + startIndex + ", endIndex=" + endIndex + "]"; in toString()
DCMethodParser.java41 final int endIndex; field in CMethodParser.CMethod
43 …ic CMethod (String returnType, String head, String[] argumentTypes, int startIndex, int endIndex) { in CMethod() argument
48 this.endIndex = endIndex; in CMethod()
72 return endIndex; in getEndIndex()
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DCompositeFormat.java119 final int endIndex = startIndex + n; in parseNumber() local
120 if (endIndex < source.length()) { in parseNumber()
121 if (source.substring(startIndex, endIndex).compareTo(sb.toString()) == 0) { in parseNumber()
123 pos.setIndex(endIndex); in parseNumber()
144 final int endIndex = pos.getIndex(); in parseNumber() local
147 if (startIndex == endIndex) { in parseNumber()
174 final int endIndex = startIndex + expected.length(); in parseFixedstring() local
176 (endIndex > source.length()) || in parseFixedstring()
177 (source.substring(startIndex, endIndex).compareTo(expected) != 0)) { in parseFixedstring()
185 pos.setIndex(endIndex); in parseFixedstring()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/values/
DGradientColorValue.java36 int startIndex = 0, endIndex = -1; in getColor() local
42 endIndex = i; in getColor()
52 if (endIndex == -1) { in getColor()
58 float factor = (percent - startTime) / (timeline[endIndex] - startTime); in getColor()
59 endIndex *= 3; in getColor()
60 out[index] = r1 + (colors[endIndex] - r1) * factor; in getColor()
61 out[index+1] = g1 + (colors[endIndex + 1] - g1) * factor; in getColor()
62 out[index+2] = b1 + (colors[endIndex + 2] - b1) * factor; in getColor()
DScaledNumericValue.java71 int endIndex = -1; in getScale() local
78 endIndex = i; in getScale()
82 if (endIndex == -1) return scaling[n - 1]; in getScale()
83 int startIndex = endIndex - 1; in getScale()
86 …return startValue + (scaling[endIndex] - startValue) * ((percent - startTime) / (timeline[endIndex in getScale()
/external/skia/src/pathops/
DSkLineParameters.h32 int endIndex = 1; in cubicEndPoints() local
33 cubicEndPoints(pts, 0, endIndex); in cubicEndPoints()
38 cubicEndPoints(pts, 0, ++endIndex); in cubicEndPoints()
39 SkASSERT(endIndex == 2); in cubicEndPoints()
44 cubicEndPoints(pts, 0, ++endIndex); // line in cubicEndPoints()
45 SkASSERT(endIndex == 3); in cubicEndPoints()
55 if (NotAlmostEqualUlps(pts[0].fY, pts[++endIndex].fY)) { in cubicEndPoints()
56 if (pts[0].fY > pts[endIndex].fY) { in cubicEndPoints()
61 if (endIndex == 3) { in cubicEndPoints()
64 SkASSERT(endIndex == 2); in cubicEndPoints()
DSkPathOpsConic.h54 void align(int endIndex, SkDPoint* dstPt) const { in align()
55 fPts.align(endIndex, dstPt); in align()
71 bool isLinear(int startIndex, int endIndex) const { in isLinear()
72 return fPts.isLinear(startIndex, endIndex); in isLinear()
/external/proguard/src/proguard/
DWordReader.java188 int endIndex; in nextWord() local
212 endIndex = currentIndex++; in nextWord()
233 endIndex = currentIndex; in nextWord()
236 while (endIndex > startIndex && in nextWord()
237 Character.isWhitespace(currentLine.charAt(endIndex-1))) in nextWord()
239 endIndex--; in nextWord()
245 endIndex = ++currentIndex; in nextWord()
264 endIndex = currentIndex; in nextWord()
268 currentWord = currentLine.substring(startIndex, endIndex); in nextWord()
/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()
27 _endIndex = endIndex; 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()
188 _endIndex = endIndex; in SubList()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
DUtils.java64 int endIndex = src.indexOf(replacee); in replace() local
65 while(endIndex != -1) { in replace()
66 result.append(src.substring(startIndex,endIndex)); in replace()
70 startIndex = endIndex + replacee.length(); in replace()
71 endIndex = src.indexOf(replacee,startIndex); in replace()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DClassTable.java180 int endIndex; in writeClassTable() local
182 for (endIndex = startIndex; endIndex < classTable.length; endIndex += 1) { in writeClassTable()
183 if (classTable[endIndex].getGlyphID() != nextID || in writeClassTable()
184 classTable[endIndex].getClassID() != classID) { in writeClassTable()
198 startIndex = endIndex; in writeClassTable()
/external/v8/test/mjsunit/regress/
Dregress-3612.js7 var endIndex = 0xffff; variable
8 Object.defineProperty(a, endIndex, {
21 assertEquals(3, a[endIndex-1]);
Dregress-3621.js6 var endIndex = 0xffff; variable
7 a[endIndex] = 3;
/external/icu/icu4c/source/i18n/
Dufieldpositer.cpp42 int32_t *beginIndex, int32_t *endIndex) in ufieldpositer_next() argument
51 if (endIndex) { in ufieldpositer_next()
52 *endIndex = fp.getEndIndex(); in ufieldpositer_next()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSearchIterator.java147 int endIndex() { in endIndex() method in SearchIterator.Search
183 || position > search_.endIndex()) { in setIndex()
186 search_.beginIndex() + " and " + search_.endIndex()); in setIndex()
389 int endIdx = search_.endIndex(); in next()
437 index = search_.endIndex(); // m_search_->textLength in ICU4C in previous()
559 int endIdx = search_.endIndex(); in last()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DSearchIterator.java150 int endIndex() { in endIndex() method in SearchIterator.Search
188 || position > search_.endIndex()) { in setIndex()
191 search_.beginIndex() + " and " + search_.endIndex()); in setIndex()
404 int endIdx = search_.endIndex(); in next()
453 index = search_.endIndex(); // m_search_->textLength in ICU4C in previous()
581 int endIdx = search_.endIndex(); in last()
/external/protobuf/java/src/main/java/com/google/protobuf/
DLiteralByteString.java83 public ByteString substring(int beginIndex, int endIndex) { in substring() argument
88 if (endIndex > size()) { in substring()
89 throw new IndexOutOfBoundsException("End index: " + endIndex + " > " + in substring()
92 int substringLength = endIndex - beginIndex; in substring()
96 + endIndex); in substring()
/external/testng/src/main/java/org/testng/mustache/
DMustache.java44 int endIndex = findClosingIndex(template, ti, conditionalVariable); in run()
52 String subTemplate = template.substring(ti + variable.length() + 4, endIndex); in run()
62 String subTemplate = template.substring(ti + variable.length() + 4, endIndex); in run()
68 ti = endIndex + variable.length() + 4; in run()
/external/guava/guava/src/com/google/common/escape/
DUnicodeEscaper.java224 int endIndex = destIndex + charsSkipped; in escapeSlow() local
225 if (dest.length < endIndex) { in escapeSlow()
226 dest = growBuffer(dest, destIndex, endIndex); in escapeSlow()
229 destIndex = endIndex; in escapeSlow()
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DAllAllocationsRecorder.java50 int endIndex = 2;
59 endIndex = i;
67 new Allocation(desc, size, asList(stackTrace).subList(startIndex, endIndex + 1)));

12345