Home
last modified time | relevance | path

Searched defs:fromIndex (Results 1 – 25 of 50) sorted by relevance

12

/libcore/ojluni/annotations/hiddenapi/java/util/
DArrays.java38 private static void rangeCheck(int arrayLength, int fromIndex, int toIndex) { in rangeCheck()
46 public static void sort(int[] a, int fromIndex, int toIndex) { in sort()
54 public static void sort(long[] a, int fromIndex, int toIndex) { in sort()
62 public static void sort(short[] a, int fromIndex, int toIndex) { in sort()
70 public static void sort(char[] a, int fromIndex, int toIndex) { in sort()
78 public static void sort(byte[] a, int fromIndex, int toIndex) { in sort()
86 public static void sort(float[] a, int fromIndex, int toIndex) { in sort()
94 public static void sort(double[] a, int fromIndex, int toIndex) { in sort()
102 public static void parallelSort(byte[] a, int fromIndex, int toIndex) { in parallelSort()
110 public static void parallelSort(char[] a, int fromIndex, int toIndex) { in parallelSort()
[all …]
DArrayList.java146 protected void removeRange(int fromIndex, int toIndex) { in removeRange()
187 public java.util.List<E> subList(int fromIndex, int toIndex) { in subList()
191 static void subListRangeCheck(int fromIndex, int toIndex, int size) { in subListRangeCheck()
351 SubList(java.util.AbstractList<E> parent, int offset, int fromIndex, int toIndex) { in SubList()
375 protected void removeRange(int fromIndex, int toIndex) { in removeRange()
395 public java.util.List<E> subList(int fromIndex, int toIndex) { in subList()
/libcore/ojluni/src/main/java/jdk/internal/util/
DPreconditions.java75 int fromIndex, int toIndex, int length) { in outOfBoundsCheckFromToIndex()
81 int fromIndex, int size, int length) { in outOfBoundsCheckFromIndexSize()
93 long fromIndex, long toIndex, long length) { in outOfBoundsCheckFromToIndex()
99 long fromIndex, long size, long length) { in outOfBoundsCheckFromIndexSize()
DArraysSupport.java199 public static int vectorizedHashCode(Object array, int fromIndex, int length, int initialValue, in vectorizedHashCode()
213 private static int signedHashCode(int result, byte[] a, int fromIndex, int length) { in signedHashCode()
221 private static int hashCode(int result, byte[] a, int fromIndex, int length) { in hashCode()
229 private static int hashCode(int result, char[] a, int fromIndex, int length) { in hashCode()
237 private static int hashCode(int result, short[] a, int fromIndex, int length) { in hashCode()
245 private static int hashCode(int result, int[] a, int fromIndex, int length) { in hashCode()
258 public static int utf16hashCode(int result, byte[] value, int fromIndex, int length) { in utf16hashCode()
/libcore/ojluni/src/main/java/java/util/
DBitSet.java363 private static void checkRange(int fromIndex, int toIndex) { in checkRange()
406 public void flip(int fromIndex, int toIndex) { in flip()
483 public void set(int fromIndex, int toIndex) { in set()
527 public void set(int fromIndex, int toIndex, boolean value) { in set()
566 public void clear(int fromIndex, int toIndex) { in clear()
647 public BitSet get(int fromIndex, int toIndex) { in get()
713 public int nextSetBit(int fromIndex) { in nextSetBit()
743 public int nextClearBit(int fromIndex) { in nextClearBit()
787 public int previousSetBit(int fromIndex) { in previousSetBit()
825 public int previousClearBit(int fromIndex) { in previousClearBit()
[all …]
DHexFormat.java356 public String formatHex(byte[] bytes, int fromIndex, int toIndex) { in formatHex()
407 public <A extends Appendable> A formatHex(A out, byte[] bytes, int fromIndex, int toIndex) { in formatHex()
448 private String formatOptDelimiter(byte[] bytes, int fromIndex, int toIndex) { in formatOptDelimiter()
542 public byte[] parseHex(CharSequence string, int fromIndex, int toIndex) { in parseHex()
602 public byte[] parseHex(char[] chars, int fromIndex, int toIndex) { in parseHex()
905 private static int checkDigitCount(int fromIndex, int toIndex, int limit) { in checkDigitCount()
1019 public static int fromHexDigits(CharSequence string, int fromIndex, int toIndex) { in fromHexDigits()
1080 public static long fromHexDigitsToLong(CharSequence string, int fromIndex, int toIndex) { in fromHexDigitsToLong()
DObjects.java384 int checkFromToIndex(int fromIndex, int toIndex, int length) { in checkFromToIndex()
410 int checkFromIndexSize(int fromIndex, int size, int length) { in checkFromIndexSize()
461 long checkFromToIndex(long fromIndex, long toIndex, long length) { in checkFromToIndex()
487 long checkFromIndexSize(long fromIndex, long size, long length) { in checkFromIndexSize()
DAbstractList.java498 public List<E> subList(int fromIndex, int toIndex) { in subList()
505 static void subListRangeCheck(int fromIndex, int toIndex, int size) { in subListRangeCheck()
596 protected void removeRange(int fromIndex, int toIndex) { in removeRange()
760 public SubList(AbstractList<E> root, int fromIndex, int toIndex) { in SubList()
771 protected SubList(SubList<E> parent, int fromIndex, int toIndex) { in SubList()
811 protected void removeRange(int fromIndex, int toIndex) { in removeRange()
890 public List<E> subList(int fromIndex, int toIndex) { in subList()
927 int fromIndex, int toIndex) { in RandomAccessSubList()
935 int fromIndex, int toIndex) { in RandomAccessSubList()
939 public List<E> subList(int fromIndex, int toIndex) { in subList()
DArrays.java129 public static void sort(int[] a, int fromIndex, int toIndex) { in sort()
167 public static void sort(long[] a, int fromIndex, int toIndex) { in sort()
205 public static void sort(short[] a, int fromIndex, int toIndex) { in sort()
243 public static void sort(char[] a, int fromIndex, int toIndex) { in sort()
281 public static void sort(byte[] a, int fromIndex, int toIndex) { in sort()
335 public static void sort(float[] a, int fromIndex, int toIndex) { in sort()
389 public static void sort(double[] a, int fromIndex, int toIndex) { in sort()
431 public static void parallelSort(byte[] a, int fromIndex, int toIndex) { in parallelSort()
473 public static void parallelSort(char[] a, int fromIndex, int toIndex) { in parallelSort()
515 public static void parallelSort(short[] a, int fromIndex, int toIndex) { in parallelSort()
[all …]
DImmutableCollections.java271 public List<E> subList(int fromIndex, int toIndex) { in subList()
277 static void subListRangeCheck(int fromIndex, int toIndex, int size) { in subListRangeCheck()
456 static <E> SubList<E> fromSubList(SubList<E> parent, int fromIndex, int toIndex) { in fromSubList()
464 static <E> SubList<E> fromList(AbstractImmutableList<E> list, int fromIndex, int toIndex) { in fromList()
486 public List<E> subList(int fromIndex, int toIndex) { in subList()
DArrayList.java824 protected void removeRange(int fromIndex, int toIndex) { in removeRange()
860 private static String outOfBoundsMsg(int fromIndex, int toIndex) { in outOfBoundsMsg()
1206 public List<E> subList(int fromIndex, int toIndex) { in subList()
1220 public SubList(ArrayList<E> root, int fromIndex, int toIndex) { in SubList()
1231 private SubList(SubList<E> parent, int fromIndex, int toIndex) { in SubList()
1273 protected void removeRange(int fromIndex, int toIndex) { in removeRange()
1498 public List<E> subList(int fromIndex, int toIndex) { in subList()
DSpliterators.java175 public static <T> Spliterator<T> spliterator(Object[] array, int fromIndex, int toIndex, in spliterator()
177 checkFromToBounds(Objects.requireNonNull(array).length, fromIndex, toIndex); in spliterator() local
237 public static Spliterator.OfInt spliterator(int[] array, int fromIndex, int toIndex, in spliterator()
239 checkFromToBounds(Objects.requireNonNull(array).length, fromIndex, toIndex); in spliterator() local
303 public static Spliterator.OfLong spliterator(long[] array, int fromIndex, int toIndex, in spliterator()
305 checkFromToBounds(Objects.requireNonNull(array).length, fromIndex, toIndex); in spliterator() local
369 public static Spliterator.OfDouble spliterator(double[] array, int fromIndex, int toIndex, in spliterator()
371 checkFromToBounds(Objects.requireNonNull(array).length, fromIndex, toIndex); in spliterator() local
/libcore/ojluni/annotations/sdk/nullability/java/util/
DArrays.annotated.java48 public static void sort(int @libcore.util.NonNull [] a, int fromIndex, int toIndex) { throw new Run… in sort()
52 public static void sort(long @libcore.util.NonNull [] a, int fromIndex, int toIndex) { throw new Ru… in sort()
56 public static void sort(short @libcore.util.NonNull [] a, int fromIndex, int toIndex) { throw new R… in sort()
60 public static void sort(char @libcore.util.NonNull [] a, int fromIndex, int toIndex) { throw new Ru… in sort()
64 public static void sort(byte @libcore.util.NonNull [] a, int fromIndex, int toIndex) { throw new Ru… in sort()
68 public static void sort(float @libcore.util.NonNull [] a, int fromIndex, int toIndex) { throw new R… in sort()
72 public static void sort(double @libcore.util.NonNull [] a, int fromIndex, int toIndex) { throw new … in sort()
76 public static void parallelSort(byte @libcore.util.NonNull [] a, int fromIndex, int toIndex) { thro… in parallelSort()
80 public static void parallelSort(char @libcore.util.NonNull [] a, int fromIndex, int toIndex) { thro… in parallelSort()
84 public static void parallelSort(short @libcore.util.NonNull [] a, int fromIndex, int toIndex) { thr… in parallelSort()
[all …]
DAbstractList.annotated.java59 …Null public java.util.List<@libcore.util.NullFromTypeParam E> subList(int fromIndex, int toIndex) … in subList()
65 protected void removeRange(int fromIndex, int toIndex) { throw new RuntimeException("Stub!"); } in removeRange()
DArrayList.annotated.java91 protected void removeRange(int fromIndex, int toIndex) { throw new RuntimeException("Stub!"); } in removeRange()
103 …Null public java.util.List<@libcore.util.NullFromTypeParam E> subList(int fromIndex, int toIndex) … in subList()
/libcore/ojluni/src/test/java/lang/String/CompactString/
DIndexOf.java111 public void testIndexOf(String str, int ch, int fromIndex, int expected) { in testIndexOf()
235 public void testIndexOf(String str, String anotherString, int fromIndex, in testIndexOf()
DLastIndexOf.java113 public void testLastIndexOf(String str, int ch, int fromIndex, int expected) { in testLastIndexOf()
212 int fromIndex, int expected) { in testLastIndexOf()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DString.java217 public int indexOf(int ch, int fromIndex) { in indexOf()
221 private int indexOfSupplementary(int ch, int fromIndex) { in indexOfSupplementary()
229 public int lastIndexOf(int ch, int fromIndex) { in lastIndexOf()
233 private int lastIndexOfSupplementary(int ch, int fromIndex) { in lastIndexOfSupplementary()
241 public int indexOf(java.lang.String str, int fromIndex) { in indexOf()
245 private static int indexOf(java.lang.String source, java.lang.String target, int fromIndex) { in indexOf()
254 int fromIndex) { in indexOf()
266 int fromIndex) { in indexOf()
274 public int lastIndexOf(java.lang.String str, int fromIndex) { in lastIndexOf()
279 java.lang.String source, java.lang.String target, int fromIndex) { in lastIndexOf()
[all …]
/libcore/ojluni/src/test/java/util/Arrays/
DSorting.java315 int fromIndex = m; in testSubArray() local
318 prepareSubArray((int[]) gold[0], fromIndex, toIndex); in testSubArray() local
539 private void prepareSubArray(int[] a, int fromIndex, int toIndex) { in prepareSubArray()
1223 private void checkSubArray(Object a, int fromIndex, int toIndex) { in checkSubArray()
1225 checkSubArray((int[]) a, fromIndex, toIndex); in checkSubArray() local
1227 checkSubArray((long[]) a, fromIndex, toIndex); in checkSubArray() local
1229 checkSubArray((byte[]) a, fromIndex, toIndex); in checkSubArray() local
1231 checkSubArray((char[]) a, fromIndex, toIndex); in checkSubArray() local
1233 checkSubArray((short[]) a, fromIndex, toIndex); in checkSubArray() local
1235 checkSubArray((float[]) a, fromIndex, toIndex); in checkSubArray() local
[all …]
/libcore/ojluni/src/main/java/java/lang/
DString.java1962 public int indexOf(int ch, int fromIndex) { in indexOf()
1993 private int indexOfSupplementary(int ch, int fromIndex) { in indexOfSupplementary()
2069 public int lastIndexOf(int ch, int fromIndex) { in lastIndexOf()
2093 private int lastIndexOfSupplementary(int ch, int fromIndex) { in lastIndexOfSupplementary()
2157 public int indexOf(String str, int fromIndex) { in indexOf()
2175 private static int indexOf(String source, String target, int fromIndex) { in indexOf()
2226 String tgtStr, int fromIndex) { in indexOf()
2295 public int lastIndexOf(String str, int fromIndex) { in lastIndexOf()
2313 private static int lastIndexOf(String source, String target, int fromIndex) { in lastIndexOf()
2372 String tgtStr, int fromIndex) { in lastIndexOf()
[all …]
DStringBuilder.java444 public int indexOf(String str, int fromIndex) { in indexOf()
454 public int lastIndexOf(String str, int fromIndex) { in lastIndexOf()
/libcore/luni/src/test/java/libcore/java/util/
DObjectsTest.java54 private static void assertFromIndexSizeOutOfBounds(int fromIndex, int size, int length) { in assertFromIndexSizeOutOfBounds()
86 private static void assertFromToIndexOutOfBounds(int fromIndex, int toIndex, int length) { in assertFromToIndexOutOfBounds()
/libcore/ojluni/annotations/flagged_api/java/util/
DArrayList.annotated.java99 protected void removeRange(int fromIndex, int toIndex) { throw new RuntimeException("Stub!"); } in removeRange()
111 public java.util.List<E> subList(int fromIndex, int toIndex) { throw new RuntimeException("Stub!");… in subList()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DCopyOnWriteArrayList.java151 void removeRange(int fromIndex, int toIndex) { in removeRange()
244 public java.util.List<E> subList(int fromIndex, int toIndex) { in subList()
335 COWSubList(java.util.concurrent.CopyOnWriteArrayList<E> list, int fromIndex, int toIndex) { in COWSubList()
383 public java.util.List<E> subList(int fromIndex, int toIndex) { in subList()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DString.annotated.java124 public int indexOf(int ch, int fromIndex) { throw new RuntimeException("Stub!"); } in indexOf()
128 public int lastIndexOf(int ch, int fromIndex) { throw new RuntimeException("Stub!"); } in lastIndexOf()
132 public int indexOf(@libcore.util.NonNull java.lang.String str, int fromIndex) { throw new RuntimeEx… in indexOf()
136 public int lastIndexOf(@libcore.util.NonNull java.lang.String str, int fromIndex) { throw new Runti… in lastIndexOf()

12