/libcore/luni/src/main/java/java/util/ |
D | HugeEnumSet.java | 325 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()
|
D | Arrays.java | 188 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 …]
|
D | Formatter.java | 1612 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 …]
|
D | Locale.java | 2076 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/ |
D | ArraysTest.java | 1031 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 …]
|
D | TreeMapExtendTest.java | 1758 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/ |
D | java_util_regex_Matcher.cpp | 124 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/ |
D | Matcher.java | 617 private static native boolean findImpl(long addr, String s, int startIndex, int[] offsets); in findImpl() argument
|
/libcore/luni/src/main/java/libcore/util/ |
D | ZoneInfo.java | 563 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/ |
D | IntBufferTest.java | 643 int startIndex, int startValue, int length) { in assertContentLikeTestData1() argument 646 assertEquals(buf.get(startIndex + i), value); in assertContentLikeTestData1()
|
D | DoubleBufferTest.java | 656 private void assertContentLikeTestData1(DoubleBuffer buf, int startIndex, in assertContentLikeTestData1() argument 660 assertEquals(buf.get(startIndex + i), value, 0.01); in assertContentLikeTestData1()
|
D | FloatBufferTest.java | 667 int startIndex, float startValue, int length) { in assertContentLikeTestData1() argument 670 assertEquals(buf.get(startIndex + i), value, 0.01); in assertContentLikeTestData1()
|
D | LongBufferTest.java | 650 int startIndex, long startValue, int length) { in assertContentLikeTestData1() argument 653 assertEquals(buf.get(startIndex + i), value); in assertContentLikeTestData1()
|
D | ShortBufferTest.java | 630 int startIndex, short startValue, int length) { in assertContentLikeTestData1() argument 633 assertEquals(buf.get(startIndex + i), value); in assertContentLikeTestData1()
|
D | CharBufferTest.java | 848 private void assertContentLikeTestData1(CharBuffer buf, int startIndex, in assertContentLikeTestData1() argument 852 assertEquals(buf.get(startIndex + i), value); in assertContentLikeTestData1()
|
D | ByteBufferTest.java | 2032 int startIndex, byte startValue, int length) { in assertContentLikeTestData1() argument 2035 assertEquals(buf.get(startIndex + i), value); in assertContentLikeTestData1()
|