Home
last modified time | relevance | path

Searched refs:startIndex (Results 1 – 16 of 16) sorted by relevance

/libcore/luni/src/main/java/java/util/
DHugeEnumSet.java325 int startIndex = startOrdinal / BIT_IN_LONG; in setRange() local
332 if (startIndex == endIndex) { in setRange()
334 size -= Long.bitCount(bits[startIndex]); in setRange()
335 bits[startIndex] |= range; in setRange()
336 size += Long.bitCount(bits[startIndex]); in setRange()
340 size -= Long.bitCount(bits[startIndex]); in setRange()
341 bits[startIndex] |= range; in setRange()
342 size += Long.bitCount(bits[startIndex]); in setRange()
350 for (int i = (startIndex + 1); i <= (endIndex - 1); i++) { in setRange()
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()
190 int lo = startIndex; 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()
240 int lo = startIndex; 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()
290 int lo = startIndex; in binarySearch()
349 public static int binarySearch(float[] array, int startIndex, int endIndex, float value) { in binarySearch() argument
[all …]
DFormatter.java1612 private CharSequence padding(CharSequence source, int startIndex) { in padding() argument
1613 int start = startIndex; in padding()
1675 int startIndex = 0; in transformFromInteger() local
1695 startIndex += 1; in transformFromInteger()
1698 startIndex += 2; in transformFromInteger()
1716 startIndex++; in transformFromInteger()
1721 startIndex += 1; in transformFromInteger()
1724 startIndex += 1; in transformFromInteger()
1743 return padding(result, startIndex); in transformFromInteger()
1752 int startIndex = 0; in transformFromBigInteger() local
[all …]
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
2100 int i = startIndex; in extractExtensions()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArraysTest.java1031 int startIndex = arraySize / 4; in test_sort$BII() local
1039 Arrays.sort(reversedArray, startIndex, endIndex); in test_sort$BII()
1040 for (int counter = 0; counter < startIndex; counter++) in test_sort$BII()
1043 for (int counter = startIndex; counter < endIndex - 1; counter++) in test_sort$BII()
1052 Arrays.sort(reversedArray, startIndex + 1, startIndex); in test_sort$BII()
1058 Arrays.sort(reversedArray, -1, startIndex); in test_sort$BII()
1064 Arrays.sort(reversedArray, startIndex, reversedArray.length + 1); in test_sort$BII()
1090 int startIndex = arraySize / 4; in test_sort$CII() local
1098 Arrays.sort(reversedArray, startIndex, endIndex); in test_sort$CII()
1099 for (int counter = 0; counter < startIndex; counter++) in test_sort$CII()
[all …]
DTreeMapExtendTest.java1758 int startIndex, endIndex; in test_AscendingSubMap_subMap() local
1766 startIndex = (Integer) startEntry.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()
4418 int startIndex = (Integer) startEntry.getValue();
4420 if (startIndex < endIndex) {
[all …]
/libcore/luni/src/main/native/
Djava_util_regex_Matcher.cpp124 static jint Matcher_findImpl(JNIEnv* env, jclass, jlong addr, jstring javaText, jint startIndex, ji… in Matcher_findImpl() argument
126 UBool result = matcher->find(startIndex, matcher.status()); in Matcher_findImpl()
/libcore/luni/src/main/java/java/util/regex/
DMatcher.java617 private static native boolean findImpl(long addr, String s, int startIndex, int[] offsets); in findImpl() argument
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java563 private static int[] getOffsetsOfType(ZoneInfo zoneInfo, int startIndex, int isDst) {
579 int transitionIndex = startIndex + delta;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DIntBufferTest.java643 int startIndex, int startValue, int length) { in assertContentLikeTestData1() argument
646 assertEquals(buf.get(startIndex + i), value); in assertContentLikeTestData1()
DDoubleBufferTest.java656 private void assertContentLikeTestData1(DoubleBuffer buf, int startIndex, in assertContentLikeTestData1() argument
660 assertEquals(buf.get(startIndex + i), value, 0.01); in assertContentLikeTestData1()
DFloatBufferTest.java667 int startIndex, float startValue, int length) { in assertContentLikeTestData1() argument
670 assertEquals(buf.get(startIndex + i), value, 0.01); in assertContentLikeTestData1()
DLongBufferTest.java650 int startIndex, long startValue, int length) { in assertContentLikeTestData1() argument
653 assertEquals(buf.get(startIndex + i), value); in assertContentLikeTestData1()
DShortBufferTest.java630 int startIndex, short startValue, int length) { in assertContentLikeTestData1() argument
633 assertEquals(buf.get(startIndex + i), value); in assertContentLikeTestData1()
DCharBufferTest.java848 private void assertContentLikeTestData1(CharBuffer buf, int startIndex, in assertContentLikeTestData1() argument
852 assertEquals(buf.get(startIndex + i), value); in assertContentLikeTestData1()
DByteBufferTest.java2032 int startIndex, byte startValue, int length) { in assertContentLikeTestData1() argument
2035 assertEquals(buf.get(startIndex + i), value); in assertContentLikeTestData1()