/libcore/ojluni/src/main/java/jdk/internal/math/ |
D | FormattedFloatingDecimal.java | 182 int startIndex = isNegative ? 1 : 0; in fillCompatible() local 188 System.arraycopy(digits, 0, mantissa, startIndex, nDigits); in fillCompatible() 189 Arrays.fill(mantissa, startIndex + nDigits, startIndex + nDigits + extraZeros, '0'); in fillCompatible() 190 mantissa[startIndex + nDigits + extraZeros] = '.'; in fillCompatible() 191 mantissa[startIndex + nDigits + extraZeros+1] = '0'; in fillCompatible() 195 System.arraycopy(digits, 0, mantissa, startIndex, exp); in fillCompatible() 196 mantissa[startIndex + exp ] = '.'; in fillCompatible() 197 System.arraycopy(digits, exp, mantissa, startIndex+exp+1, t); in fillCompatible() 200 System.arraycopy(digits, 0, mantissa, startIndex, nDigits); in fillCompatible() 201 mantissa[startIndex + nDigits ] = '.'; in fillCompatible() [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StackStreamFactory.java | 382 frameBuffer.startIndex(), in beginStackWalk() 393 int startIndex = frameBuffer.startIndex(); in fetchStackFrames() local 394 frameBuffer.resize(startIndex, batchSize); in fetchStackFrames() 397 startIndex, in fetchStackFrames() 401 batchSize, frameBuffer.startIndex(), endIndex); in fetchStackFrames() 403 int numFrames = endIndex - startIndex; in fetchStackFrames() 407 frameBuffer.setBatch(depth, startIndex, endIndex); in fetchStackFrames() 427 int batchSize, int startIndex, in callStackWalk() argument 435 int endIndex = fetchStackFrames(mode, anchor, batchSize, startIndex, frames); in callStackWalk() 436 return doStackWalk(anchor, skipframes, batchSize, startIndex, endIndex); in callStackWalk() [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/src/test/java/nio/file/Path/ |
D | PathOps.java | 105 PathOps subpath(int startIndex, int endIndex, String expected) { in subpath() argument 107 check(path.subpath(startIndex, endIndex), expected); in subpath()
|
/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 | ShortBufferTest.java | 630 int startIndex, short startValue, int length) { in assertContentLikeTestData1() argument 633 assertEquals(buf.get(startIndex + i), value); 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 | 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 | 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 | 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()
|