Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/text/
DFieldPosition.java36 private int endIndex; field in FieldPosition
73 beginIndex == pos.beginIndex && endIndex == pos.endIndex; in equals()
87 return endIndex; in getEndIndex()
106 return attributeHash + field * 10 + beginIndex * 100 + endIndex; in hashCode()
120 endIndex = index; in setEndIndex()
131 ",endIndex=" + endIndex + in toString()
/libcore/luni/src/main/java/java/util/
DArrays.java188 public static int binarySearch(byte[] array, int startIndex, int endIndex, byte value) { in binarySearch() argument
189 checkBinarySearchBounds(startIndex, endIndex, array.length); in binarySearch()
191 int hi = endIndex - 1; in binarySearch()
238 public static int binarySearch(char[] array, int startIndex, int endIndex, char value) { in binarySearch() argument
239 checkBinarySearchBounds(startIndex, endIndex, array.length); in binarySearch()
241 int hi = endIndex - 1; in binarySearch()
288 public static int binarySearch(double[] array, int startIndex, int endIndex, double value) { in binarySearch() argument
289 checkBinarySearchBounds(startIndex, endIndex, array.length); in binarySearch()
291 int hi = endIndex - 1; in binarySearch()
349 public static int binarySearch(float[] array, int startIndex, int endIndex, float value) { in binarySearch() argument
[all …]
DHugeEnumSet.java329 int endIndex = endOrdinal / BIT_IN_LONG; in setRange() local
332 if (startIndex == endIndex) { in setRange()
347 size -= Long.bitCount(bits[endIndex]); in setRange()
348 bits[endIndex] |= range; in setRange()
349 size += Long.bitCount(bits[endIndex]); in setRange()
350 for (int i = (startIndex + 1); i <= (endIndex - 1); i++) { in setRange()
DLocale.java2076 private static void extractVariantSubtags(String[] subtags, int startIndex, int endIndex, in extractVariantSubtags() argument
2078 for (int i = startIndex; i < endIndex; i++) { in extractVariantSubtags()
2095 private static int extractExtensions(String[] subtags, int startIndex, int endIndex, in extractExtensions() argument
2101 for (; i < endIndex; i++) { in extractExtensions()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArraysTest.java1032 int endIndex = 3 * arraySize / 4; in test_sort$BII() local
1039 Arrays.sort(reversedArray, startIndex, endIndex); in test_sort$BII()
1043 for (int counter = startIndex; counter < endIndex - 1; counter++) in test_sort$BII()
1046 for (int counter = endIndex; counter < arraySize; counter++) in test_sort$BII()
1091 int endIndex = 3 * arraySize / 4; in test_sort$CII() local
1098 Arrays.sort(reversedArray, startIndex, endIndex); in test_sort$CII()
1102 for (int counter = startIndex; counter < endIndex - 1; counter++) in test_sort$CII()
1105 for (int counter = endIndex; counter < arraySize; counter++) in test_sort$CII()
1184 int endIndex = 3 * arraySize / 4; in test_sort$DII() local
1191 Arrays.sort(reversedArray, startIndex, endIndex); in test_sort$DII()
[all …]
DTreeMapExtendTest.java1758 int startIndex, endIndex; in test_AscendingSubMap_subMap() local
1770 endIndex = (Integer) endEntry.getValue(); in test_AscendingSubMap_subMap()
1772 if (startIndex > endIndex) { in test_AscendingSubMap_subMap()
1816 for (int index = startIndex; index < endIndex; index++) { in test_AscendingSubMap_subMap()
1825 for (int index = startIndex + 1; index < endIndex; index++) { in test_AscendingSubMap_subMap()
1834 for (int index = startIndex + 1; index < endIndex; index++) { in test_AscendingSubMap_subMap()
1843 for (int index = startIndex; index < endIndex; index++) { in test_AscendingSubMap_subMap()
1851 for (int index = startIndex; index <= endIndex; index++) { in test_AscendingSubMap_subMap()
4419 int endIndex = (Integer) endEntry.getValue();
4420 if (startIndex < endIndex) {
[all …]
/libcore/luni/src/main/java/java/lang/
DStringBuffer.java360 public synchronized int codePointCount(int beginIndex, int endIndex) { in codePointCount() argument
361 return super.codePointCount(beginIndex, endIndex); in codePointCount()
DCharacter.java2090 int endIndex) { in codePointCount() argument
2095 if (beginIndex < 0 || endIndex > len || beginIndex > endIndex) { in codePointCount()
2100 for (int i = beginIndex; i < endIndex; i++) { in codePointCount()
2103 if (++i < endIndex) { in codePointCount()
2139 int endIndex = offset + count; in codePointCount() local
2141 for (int i = offset; i < endIndex; i++) { in codePointCount()
2144 if (++i < endIndex) { in codePointCount()
/libcore/luni/src/main/java/java/net/
DURI.java454 int endIndex = temp.indexOf(']'); in parseAuthority() local
458 if (index != -1 && endIndex < index) { in parseAuthority()
1223 int endIndex = path.lastIndexOf('/') + 1; in resolve() local
1224 resolvedPath = path.substring(0, endIndex) + relative.path; in resolve()