Home
last modified time | relevance | path

Searched refs:aFromIndex (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/jdk/internal/util/
DArraysSupport.java294 public static int mismatch(boolean[] a, int aFromIndex, in mismatch() argument
299 if (a[aFromIndex] != b[bFromIndex]) in mismatch()
301 int aOffset = Unsafe.ARRAY_BOOLEAN_BASE_OFFSET + aFromIndex; in mismatch()
312 if (a[aFromIndex + i] != b[bFromIndex + i]) in mismatch()
381 public static int mismatch(byte[] a, int aFromIndex, in mismatch() argument
392 if (a[aFromIndex] != b[bFromIndex]) in mismatch()
394 int aOffset = Unsafe.ARRAY_BYTE_BASE_OFFSET + aFromIndex; in mismatch()
405 if (a[aFromIndex + i] != b[bFromIndex + i]) in mismatch()
436 public static int mismatch(char[] a, int aFromIndex, in mismatch() argument
441 if (a[aFromIndex] != b[bFromIndex]) in mismatch()
[all …]
/libcore/ojluni/src/main/java/java/util/
DArrays.java2458 public static boolean equals(long[] a, int aFromIndex, int aToIndex, in equals() argument
2460 rangeCheck(a.length, aFromIndex, aToIndex); in equals()
2463 int aLength = aToIndex - aFromIndex; in equals()
2468 return ArraysSupport.mismatch(a, aFromIndex, in equals()
2530 public static boolean equals(int[] a, int aFromIndex, int aToIndex, in equals() argument
2532 rangeCheck(a.length, aFromIndex, aToIndex); in equals()
2535 int aLength = aToIndex - aFromIndex; in equals()
2540 return ArraysSupport.mismatch(a, aFromIndex, in equals()
2602 public static boolean equals(short[] a, int aFromIndex, int aToIndex, in equals() argument
2604 rangeCheck(a.length, aFromIndex, aToIndex); in equals()
[all …]
/libcore/ojluni/annotations/sdk/nullability/java/util/
DArrays.annotated.java172 public static boolean equals(long @libcore.util.NonNull [] a, int aFromIndex, int aToIndex, long @l… in equals() argument
176 public static boolean equals(int @libcore.util.NonNull [] a, int aFromIndex, int aToIndex, int @lib… in equals() argument
180 public static boolean equals(short @libcore.util.NonNull [] a, int aFromIndex, int aToIndex, short … in equals() argument
184 public static boolean equals(char @libcore.util.NonNull [] a, int aFromIndex, int aToIndex, char @l… in equals() argument
188 public static boolean equals(byte @libcore.util.NonNull [] a, int aFromIndex, int aToIndex, byte @l… in equals() argument
192 public static boolean equals(boolean @libcore.util.NonNull [] a, int aFromIndex, int aToIndex, bool… in equals() argument
196 public static boolean equals(double @libcore.util.NonNull [] a, int aFromIndex, int aToIndex, doubl… in equals() argument
200 public static boolean equals(float @libcore.util.NonNull [] a, int aFromIndex, int aToIndex, float … in equals() argument
204 …libcore.util.Nullable java.lang.Object @libcore.util.NonNull [] a, int aFromIndex, int aToIndex, j… in equals() argument
208 public static <T> boolean equals(T @libcore.util.NonNull [] a, int aFromIndex, int aToIndex, T @lib… in equals() argument
[all …]
/libcore/ojluni/src/test/java/util/Arrays/
DArraysEqCmpTest.java222 boolean equals(Object a, int aFromIndex, int aToIndex, in equals() argument
225 return (boolean) eqr.invoke(a, aFromIndex, aToIndex, b, bFromIndex, bToIndex); in equals()
247 int compare(Object a, int aFromIndex, int aToIndex, in compare() argument
250 return (int) cmpr.invoke(a, aFromIndex, aToIndex, b, bFromIndex, bToIndex); in compare()
272 int mismatch(Object a, int aFromIndex, int aToIndex, in mismatch() argument
275 return (int) mmr.invoke(a, aFromIndex, aToIndex, b, bFromIndex, bToIndex); in mismatch()
361 boolean equals(Object a, int aFromIndex, int aToIndex, in equals() argument
364 … return (boolean) eqcr.invoke(a, aFromIndex, aToIndex, b, bFromIndex, bToIndex, c); in equals()
388 int compare(Object a, int aFromIndex, int aToIndex, in compare() argument
391 return (int) cmpcr.invoke(a, aFromIndex, aToIndex, b, bFromIndex, bToIndex, c); in compare()
[all …]