Home
last modified time | relevance | path

Searched defs:fromIndex (Results 1 – 25 of 41) 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()
/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.java496 public List<E> subList(int fromIndex, int toIndex) { in subList()
503 static void subListRangeCheck(int fromIndex, int toIndex, int size) { in subListRangeCheck()
594 protected void removeRange(int fromIndex, int toIndex) { in removeRange()
758 public SubList(AbstractList<E> root, int fromIndex, int toIndex) { in SubList()
769 protected SubList(SubList<E> parent, int fromIndex, int toIndex) { in SubList()
809 protected void removeRange(int fromIndex, int toIndex) { in removeRange()
888 public List<E> subList(int fromIndex, int toIndex) { in subList()
925 int fromIndex, int toIndex) { in RandomAccessSubList()
933 int fromIndex, int toIndex) { in RandomAccessSubList()
937 public List<E> subList(int fromIndex, int toIndex) { in subList()
DArrays.java122 public static void sort(int[] a, int fromIndex, int toIndex) { in sort()
160 public static void sort(long[] a, int fromIndex, int toIndex) { in sort()
198 public static void sort(short[] a, int fromIndex, int toIndex) { in sort()
236 public static void sort(char[] a, int fromIndex, int toIndex) { in sort()
274 public static void sort(byte[] a, int fromIndex, int toIndex) { in sort()
328 public static void sort(float[] a, int fromIndex, int toIndex) { in sort()
382 public static void sort(double[] a, int fromIndex, int toIndex) { in sort()
424 public static void parallelSort(byte[] a, int fromIndex, int toIndex) { in parallelSort()
466 public static void parallelSort(char[] a, int fromIndex, int toIndex) { in parallelSort()
508 public static void parallelSort(short[] a, int fromIndex, int toIndex) { in parallelSort()
[all …]
DImmutableCollections.java274 public List<E> subList(int fromIndex, int toIndex) { in subList()
280 static void subListRangeCheck(int fromIndex, int toIndex, int size) { in subListRangeCheck()
459 static <E> SubList<E> fromSubList(SubList<E> parent, int fromIndex, int toIndex) { in fromSubList()
467 static <E> SubList<E> fromList(AbstractImmutableList<E> list, int fromIndex, int toIndex) { in fromList()
489 public List<E> subList(int fromIndex, int toIndex) { in subList()
DArrayList.java742 protected void removeRange(int fromIndex, int toIndex) { in removeRange()
778 private static String outOfBoundsMsg(int fromIndex, int toIndex) { in outOfBoundsMsg()
1124 public List<E> subList(int fromIndex, int toIndex) { in subList()
1138 public SubList(ArrayList<E> root, int fromIndex, int toIndex) { in SubList()
1149 private SubList(SubList<E> parent, int fromIndex, int toIndex) { in SubList()
1191 protected void removeRange(int fromIndex, int toIndex) { in removeRange()
1416 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
DJumboEnumSet.java56 int fromIndex = from.ordinal() >>> 6; in addRange() 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.java79 protected void removeRange(int fromIndex, int toIndex) { throw new RuntimeException("Stub!"); } in removeRange()
91 …Null public java.util.List<@libcore.util.NullFromTypeParam E> subList(int fromIndex, int toIndex) … in subList()
DVector.annotated.java121 …ynchronized java.util.List<@libcore.util.NullFromTypeParam E> subList(int fromIndex, int toIndex) … in subList()
123 protected synchronized void removeRange(int fromIndex, int toIndex) { throw new RuntimeException("S… in removeRange()
/libcore/ojluni/src/test/java/lang/String/CompactString/
DLastIndexOf.java113 public void testLastIndexOf(String str, int ch, int fromIndex, int expected) { in testLastIndexOf()
212 int fromIndex, int expected) { in testLastIndexOf()
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()
/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/main/java/java/lang/
DString.java1952 public int indexOf(int ch, int fromIndex) { in indexOf()
1983 private int indexOfSupplementary(int ch, int fromIndex) { in indexOfSupplementary()
2059 public int lastIndexOf(int ch, int fromIndex) { in lastIndexOf()
2083 private int lastIndexOfSupplementary(int ch, int fromIndex) { in lastIndexOfSupplementary()
2147 public int indexOf(String str, int fromIndex) { in indexOf()
2165 private static int indexOf(String source, String target, int fromIndex) { in indexOf()
2216 String tgtStr, int fromIndex) { in indexOf()
2285 public int lastIndexOf(String str, int fromIndex) { in lastIndexOf()
2303 private static int lastIndexOf(String source, String target, int fromIndex) { in lastIndexOf()
2362 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()
DStringLatin1.java204 public static int indexOf(byte[] value, int ch, int fromIndex) { in indexOf()
241 … public static int indexOf(byte[] value, int valueCount, String str, int strCount, int fromIndex) { in indexOf()
268 // byte[] tgt, int tgtCount, int fromIndex) { in lastIndexOf()
299 public static int lastIndexOf(final byte[] value, int ch, 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/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