Home
last modified time | relevance | path

Searched defs:fromIndex (Results 1 – 25 of 38) 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/java/util/
DBitSet.java361 private static void checkRange(int fromIndex, int toIndex) { in checkRange()
404 public void flip(int fromIndex, int toIndex) { in flip()
481 public void set(int fromIndex, int toIndex) { in set()
525 public void set(int fromIndex, int toIndex, boolean value) { in set()
564 public void clear(int fromIndex, int toIndex) { in clear()
645 public BitSet get(int fromIndex, int toIndex) { in get()
711 public int nextSetBit(int fromIndex) { in nextSetBit()
741 public int nextClearBit(int fromIndex) { in nextClearBit()
785 public int previousSetBit(int fromIndex) { in previousSetBit()
823 public int previousClearBit(int fromIndex) { in previousClearBit()
[all …]
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.java117 static void rangeCheck(int arrayLength, int fromIndex, int toIndex) { in rangeCheck()
173 public static void sort(int[] a, int fromIndex, int toIndex) { in sort()
213 public static void sort(long[] a, int fromIndex, int toIndex) { in sort()
253 public static void sort(short[] a, int fromIndex, int toIndex) { in sort()
293 public static void sort(char[] a, int fromIndex, int toIndex) { in sort()
333 public static void sort(byte[] a, int fromIndex, int toIndex) { in sort()
389 public static void sort(float[] a, int fromIndex, int toIndex) { in sort()
445 public static void sort(double[] a, int fromIndex, int toIndex) { in sort()
507 public static void parallelSort(byte[] a, int fromIndex, int toIndex) { in parallelSort()
577 public static void parallelSort(char[] a, int fromIndex, int toIndex) { in parallelSort()
[all …]
DObjects.java397 int checkFromToIndex(int fromIndex, int toIndex, int length) { in checkFromToIndex()
423 int checkFromIndexSize(int fromIndex, int size, int length) { in checkFromIndexSize()
DArrayList.java643 protected void removeRange(int fromIndex, int toIndex) { in removeRange()
1007 public List<E> subList(int fromIndex, int toIndex) { in subList()
1012 static void subListRangeCheck(int fromIndex, int toIndex, int size) { in subListRangeCheck()
1029 int offset, int fromIndex, int toIndex) { in SubList()
1082 protected void removeRange(int fromIndex, int toIndex) { in removeRange()
1237 public List<E> subList(int fromIndex, int toIndex) { in subList()
DImmutableCollections.java114 public List<E> subList(int fromIndex, int toIndex) { in subList()
120 static void subListRangeCheck(int fromIndex, int toIndex, int size) { in subListRangeCheck()
320 static <E> SubList<E> fromSubList(SubList<E> parent, int fromIndex, int toIndex) { in fromSubList()
328 static <E> SubList<E> fromList(List<E> list, int fromIndex, int toIndex) { in fromList()
350 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.java55 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/jdk/internal/util/
DPreconditions.java75 int fromIndex, int toIndex, int length) { in outOfBoundsCheckFromToIndex()
81 int fromIndex, int size, int length) { in outOfBoundsCheckFromIndexSize()
/libcore/ojluni/src/main/java/java/lang/
DString.java1909 public int indexOf(int ch, int fromIndex) { in indexOf()
1940 private int indexOfSupplementary(int ch, int fromIndex) { in indexOfSupplementary()
2016 public int lastIndexOf(int ch, int fromIndex) { in lastIndexOf()
2040 private int lastIndexOfSupplementary(int ch, int fromIndex) { in lastIndexOfSupplementary()
2102 public int indexOf(String str, int fromIndex) { in indexOf()
2120 private static int indexOf(String source, String target, int fromIndex) { in indexOf()
2171 String target, int fromIndex) { in indexOf()
2192 int fromIndex) { in indexOf()
2264 public int lastIndexOf(String str, int fromIndex) { in lastIndexOf()
2282 private static int lastIndexOf(String source, String target, int fromIndex) { in lastIndexOf()
[all …]
DStringBuilder.java385 public int indexOf(String str, int fromIndex) { in indexOf()
395 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/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.java123 public int indexOf(int ch, int fromIndex) { throw new RuntimeException("Stub!"); } in indexOf()
127 public int lastIndexOf(int ch, int fromIndex) { throw new RuntimeException("Stub!"); } in lastIndexOf()
131 public int indexOf(@libcore.util.NonNull java.lang.String str, int fromIndex) { throw new RuntimeEx… in indexOf()
135 public int lastIndexOf(@libcore.util.NonNull java.lang.String str, int fromIndex) { throw new Runti… in lastIndexOf()
DStringBuilder.annotated.java102 public int indexOf(@libcore.util.NonNull java.lang.String str, int fromIndex) { throw new RuntimeEx… in indexOf()
106 public int lastIndexOf(@libcore.util.NonNull java.lang.String str, int fromIndex) { throw new Runti… in lastIndexOf()
DStringBuffer.annotated.java131 public synchronized int indexOf(@libcore.util.NonNull java.lang.String str, int fromIndex) { throw … in indexOf()
135 public synchronized int lastIndexOf(@libcore.util.NonNull java.lang.String str, int fromIndex) { th… in lastIndexOf()

12