Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/jdk/internal/math/
DFormattedFloatingDecimal.java182 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/
DStackStreamFactory.java382 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/
DDNSName.java84 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/
DArraysTest.java1042 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 …]
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/test/java/libcore/java/util/
DAbstractListTest.java61 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/
DPathOps.java105 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/
DMatcher.java205 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/
DShortBufferTest.java630 int startIndex, short startValue, int length) { in assertContentLikeTestData1() argument
633 assertEquals(buf.get(startIndex + i), value); in assertContentLikeTestData1()
DIntBufferTest.java643 int startIndex, int startValue, int length) { in assertContentLikeTestData1() argument
646 assertEquals(buf.get(startIndex + i), value); 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()
DDoubleBufferTest.java667 private void assertContentLikeTestData1(DoubleBuffer buf, int startIndex, in assertContentLikeTestData1() argument
671 assertEquals(buf.get(startIndex + i), value, 0.01); in assertContentLikeTestData1()
DCharBufferTest.java848 private void assertContentLikeTestData1(CharBuffer buf, int startIndex, in assertContentLikeTestData1() argument
852 assertEquals(buf.get(startIndex + i), value); in assertContentLikeTestData1()
DByteBufferTest.java2129 int startIndex, byte startValue, int length) { in assertContentLikeTestData1() argument
2132 assertEquals(buf.get(startIndex + i), value); in assertContentLikeTestData1()