/libcore/ojluni/src/main/java/sun/misc/ |
D | FormattedFloatingDecimal.java | 164 int startIndex = isNegative ? 1 : 0; in fillCompatible() local 170 System.arraycopy(digits, 0, mantissa, startIndex, nDigits); in fillCompatible() 171 Arrays.fill(mantissa, startIndex + nDigits, startIndex + nDigits + extraZeros, '0'); in fillCompatible() 172 mantissa[startIndex + nDigits + extraZeros] = '.'; in fillCompatible() 173 mantissa[startIndex + nDigits + extraZeros+1] = '0'; in fillCompatible() 177 System.arraycopy(digits, 0, mantissa, startIndex, exp); in fillCompatible() 178 mantissa[startIndex + exp ] = '.'; in fillCompatible() 179 System.arraycopy(digits, exp, mantissa, startIndex+exp+1, t); in fillCompatible() 182 System.arraycopy(digits, 0, mantissa, startIndex, nDigits); in fillCompatible() 183 mantissa[startIndex + nDigits ] = '.'; in fillCompatible() [all …]
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | DNSName.java | 84 for (int endIndex,startIndex=0; startIndex < name.length(); startIndex = endIndex+1) { in DNSName() 85 endIndex = name.indexOf('.', startIndex); in DNSName() 89 if ((endIndex-startIndex) < 1) in DNSName() 93 if (alpha.indexOf(name.charAt(startIndex)) < 0) in DNSName() 96 for (int nonStartIndex=startIndex+1; nonStartIndex < endIndex; nonStartIndex++) { in DNSName()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ArraysTest.java | 1042 int startIndex = arraySize / 4; in test_sort$BII() local 1050 Arrays.sort(reversedArray, startIndex, endIndex); in test_sort$BII() 1051 for (int counter = 0; counter < startIndex; counter++) in test_sort$BII() 1054 for (int counter = startIndex; counter < endIndex - 1; counter++) in test_sort$BII() 1063 Arrays.sort(reversedArray, startIndex + 1, startIndex); in test_sort$BII() 1069 Arrays.sort(reversedArray, -1, startIndex); in test_sort$BII() 1075 Arrays.sort(reversedArray, startIndex, reversedArray.length + 1); in test_sort$BII() 1101 int startIndex = arraySize / 4; in test_sort$CII() local 1109 Arrays.sort(reversedArray, startIndex, endIndex); in test_sort$CII() 1110 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/test/java/libcore/java/util/ |
D | AbstractListTest.java | 61 private static<T> void assertSubListOutOfBounds(List<T> list, int startIndex, int endIndex) { in assertSubListOutOfBounds() argument 63 list.subList(startIndex, endIndex); in assertSubListOutOfBounds()
|
/libcore/ojluni/annotations/hiddenapi/java/util/regex/ |
D | Matcher.java | 205 private static native boolean findImpl(long addr, int startIndex, int[] offsets); in findImpl() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | DoubleBufferTest.java | 667 private void assertContentLikeTestData1(DoubleBuffer buf, int startIndex, in assertContentLikeTestData1() argument 671 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 | IntBufferTest.java | 643 int startIndex, int startValue, int length) { in assertContentLikeTestData1() argument 646 assertEquals(buf.get(startIndex + i), value); 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 | 2129 int startIndex, byte startValue, int length) { in assertContentLikeTestData1() argument 2132 assertEquals(buf.get(startIndex + i), value); in assertContentLikeTestData1()
|