/libcore/ojluni/src/test/java/util/HashMap/ |
D | ToArray.java | 88 int mismatch = Arrays.mismatch(expected, res); in checkToTypedArray() local 89 if (mismatch != expected.length) { in checkToTypedArray() 90 throw new AssertionError(message + ": mismatch at " + mismatch); in checkToTypedArray() 96 mismatch = Arrays in checkToTypedArray() 97 .mismatch(expected, 1, expected.length, res, expected.length + 1, res.length); in checkToTypedArray() 98 if (mismatch != -1) { in checkToTypedArray() 99 throw new AssertionError(message + ": mismatch at " + mismatch); in checkToTypedArray() 113 int mismatch = Arrays.mismatch(expected, objects); in checkToObjectArray() local 114 if (mismatch != -1) { in checkToObjectArray() 115 throw new AssertionError(message + ": mismatch at " + mismatch); in checkToObjectArray()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | BufferMismatch.java | 34 static int mismatch(ByteBuffer a, int aOff, ByteBuffer b, int bOff, int length) { in mismatch() method in BufferMismatch 57 static int mismatch(CharBuffer a, int aOff, CharBuffer b, int bOff, int length) { in mismatch() method in BufferMismatch 84 static int mismatch(ShortBuffer a, int aOff, ShortBuffer b, int bOff, int length) { in mismatch() method in BufferMismatch 107 static int mismatch(IntBuffer a, int aOff, IntBuffer b, int bOff, int length) { in mismatch() method in BufferMismatch 130 static int mismatch(FloatBuffer a, int aOff, FloatBuffer b, int bOff, int length) { in mismatch() method in BufferMismatch 171 static int mismatch(LongBuffer a, int aOff, LongBuffer b, int bOff, int length) { in mismatch() method in BufferMismatch 193 static int mismatch(DoubleBuffer a, int aOff, DoubleBuffer b, int bOff, int length) { in mismatch() method in BufferMismatch
|
D | StringCharBuffer.java | 167 return BufferMismatch.mismatch(this, thisPos, in equals() 180 int i = BufferMismatch.mismatch(this, thisPos, in compareTo()
|
D | FloatBuffer.java | 1880 return BufferMismatch.mismatch(this, thisPos, in equals() 1916 int i = BufferMismatch.mismatch(this, thisPos, in compareTo() 1960 public int mismatch(FloatBuffer that) { in mismatch() method in FloatBuffer 1968 int r = BufferMismatch.mismatch(this, thisPos, in mismatch()
|
D | LongBuffer.java | 1880 return BufferMismatch.mismatch(this, thisPos, in equals() 1916 int i = BufferMismatch.mismatch(this, thisPos, in compareTo() 1960 public int mismatch(LongBuffer that) { in mismatch() method in LongBuffer 1968 int r = BufferMismatch.mismatch(this, thisPos, in mismatch()
|
D | IntBuffer.java | 1880 return BufferMismatch.mismatch(this, thisPos, in equals() 1916 int i = BufferMismatch.mismatch(this, thisPos, in compareTo() 1960 public int mismatch(IntBuffer that) { in mismatch() method in IntBuffer 1968 int r = BufferMismatch.mismatch(this, thisPos, in mismatch()
|
D | ShortBuffer.java | 1880 return BufferMismatch.mismatch(this, thisPos, in equals() 1916 int i = BufferMismatch.mismatch(this, thisPos, in compareTo() 1960 public int mismatch(ShortBuffer that) { in mismatch() method in ShortBuffer 1968 int r = BufferMismatch.mismatch(this, thisPos, in mismatch()
|
D | DoubleBuffer.java | 1880 return BufferMismatch.mismatch(this, thisPos, in equals() 1916 int i = BufferMismatch.mismatch(this, thisPos, in compareTo() 1960 public int mismatch(DoubleBuffer that) { in mismatch() method in DoubleBuffer 1968 int r = BufferMismatch.mismatch(this, thisPos, in mismatch()
|
D | ByteBuffer.java | 1880 return BufferMismatch.mismatch(this, thisPos, in equals() 1916 int i = BufferMismatch.mismatch(this, thisPos, in compareTo() 1960 public int mismatch(ByteBuffer that) { in mismatch() method in ByteBuffer 1968 int r = BufferMismatch.mismatch(this, thisPos, in mismatch()
|
D | CharBuffer.java | 1880 return BufferMismatch.mismatch(this, thisPos, in equals() 1916 int i = BufferMismatch.mismatch(this, thisPos, in compareTo() 1960 public int mismatch(CharBuffer that) { in mismatch() method in CharBuffer 1968 int r = BufferMismatch.mismatch(this, thisPos, in mismatch()
|
/libcore/ojluni/src/main/java/jdk/internal/util/ |
D | ArraysSupport.java | 272 public static int mismatch(boolean[] a, in mismatch() method 294 public static int mismatch(boolean[] a, int aFromIndex, in mismatch() method 334 public static int mismatch(byte[] a, in mismatch() method 381 public static int mismatch(byte[] a, int aFromIndex, in mismatch() method 414 public static int mismatch(char[] a, in mismatch() method 436 public static int mismatch(char[] a, int aFromIndex, in mismatch() method 463 public static int mismatch(short[] a, in mismatch() method 485 public static int mismatch(short[] a, int aFromIndex, in mismatch() method 512 public static int mismatch(int[] a, in mismatch() method 534 public static int mismatch(int[] a, int aFromIndex, in mismatch() method [all …]
|
/libcore/ojluni/src/test/java/util/HexFormat/ |
D | HexFormatTest.java | 382 int mismatch = Arrays.mismatch(expected, actual); in testFormatHexString() local 383 assertEquals(actual, expected, "format/parse cycle failed, mismatch: " + mismatch); in testFormatHexString() 403 int mismatch = Arrays.mismatch(expected, low, high, actual, 0, high - low); in testParseHexStringRange() local 404 assertEquals(mismatch, -1, "format/parse cycle failed, mismatch: " + mismatch); in testParseHexStringRange() 429 int mismatch = Arrays.mismatch(expected, low, high, actual, 0, high - low); in testFormatHexRangeString() local 430 assertEquals(mismatch, -1, "format/parse cycle failed, mismatch: " + mismatch); in testFormatHexRangeString() 444 int mismatch = Arrays.mismatch(expected, actual); in testFormatHexAppendable() local 445 assertEquals(actual, expected, "format/parse cycle failed, mismatch: " + mismatch); in testFormatHexAppendable() 464 int mismatch = Arrays.mismatch(expected, low, high, actual, 0, high - low); in testFormatHexRangeAppendable() local 466 assertEquals(actual, sub, "format/parse cycle failed, mismatch: " + mismatch); in testFormatHexRangeAppendable() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | Arrays.java | 2423 return ArraysSupport.mismatch(a, a2, length) < 0; in equals() 2468 return ArraysSupport.mismatch(a, aFromIndex, in equals() 2495 return ArraysSupport.mismatch(a, a2, length) < 0; in equals() 2540 return ArraysSupport.mismatch(a, aFromIndex, in equals() 2567 return ArraysSupport.mismatch(a, a2, length) < 0; in equals() 2612 return ArraysSupport.mismatch(a, aFromIndex, in equals() 2640 return ArraysSupport.mismatch(a, a2, length) < 0; in equals() 2685 return ArraysSupport.mismatch(a, aFromIndex, in equals() 2713 return ArraysSupport.mismatch(a, a2, length) < 0; in equals() 2758 return ArraysSupport.mismatch(a, aFromIndex, in equals() [all …]
|
/libcore/ojluni/src/test/java/util/Arrays/ |
D | ArraysEqCmpTest.java | 260 int mismatch(Object a, Object b) { in mismatch() method in ArraysEqCmpTest.ArrayType 272 int mismatch(Object a, int aFromIndex, int aToIndex, in mismatch() method in ArraysEqCmpTest.ArrayType 402 int mismatch(Object a, Object b) { in mismatch() method in ArraysEqCmpTest.ArrayType.BoxedIntegersWithReverseComparator 415 int mismatch(Object a, int aFromIndex, int aToIndex, in mismatch() method in ArraysEqCmpTest.ArrayType.BoxedIntegersWithReverseComparator 874 Assert.assertEquals(at.mismatch(a, aFrom, aTo, b, bFrom, bTo), -1); in testArrayType() 875 Assert.assertEquals(at.mismatch(b, bFrom, bTo, a, aFrom, aTo), -1); in testArrayType() 876 Assert.assertEquals(at.mismatch(anr, bnr), -1); in testArrayType() 877 Assert.assertEquals(at.mismatch(bnr, anr), -1); in testArrayType() 891 int aMb = at.mismatch(a, aFrom, aTo, b, bFrom, bTo); in testArrayType() 892 int bMa = at.mismatch(b, bFrom, bTo, a, aFrom, aTo); in testArrayType() [all …]
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Arrays.annotated.java | 435 public static int mismatch(boolean @libcore.util.NonNull [] a, boolean @libcore.util.NonNull [] b) … in mismatch() method in Arrays 437 public static int mismatch(boolean @libcore.util.NonNull [] a, int aFromIndex, int aToIndex, boolea… in mismatch() method in Arrays 439 public static int mismatch(byte @libcore.util.NonNull [] a, byte @libcore.util.NonNull [] b) { thro… in mismatch() method in Arrays 441 public static int mismatch(char @libcore.util.NonNull [] a, int aFromIndex, int aToIndex, char @lib… in mismatch() method in Arrays 443 public static int mismatch(char @libcore.util.NonNull [] a, char @libcore.util.NonNull [] b) { thro… in mismatch() method in Arrays 445 public static int mismatch(char @libcore.util.NonNull [] a, int aFromIndex, int aToIndex, char @lib… in mismatch() method in Arrays 447 public static int mismatch(short @libcore.util.NonNull [] a, short @libcore.util.NonNull [] b) { th… in mismatch() method in Arrays 449 public static int mismatch(short @libcore.util.NonNull [] a, int aFromIndex, int aToIndex, short @l… in mismatch() method in Arrays 451 public static int mismatch(int @libcore.util.NonNull [] a, int @libcore.util.NonNull [] b) { throw … in mismatch() method in Arrays 453 public static int mismatch(int @libcore.util.NonNull [] a, int aFromIndex, int aToIndex, int @libco… in mismatch() method in Arrays [all …]
|
/libcore/ojluni/src/test/java/nio/Buffer/ |
D | EqualsCompareTest.java | 194 int mismatch(T a, T b) { in mismatch() method in EqualsCompareTest.BufferType 656 Assert.assertEquals(bt.mismatch(as, bs), -1); in testBufferType() 657 Assert.assertEquals(bt.mismatch(bs, as), -1); in testBufferType() 665 int aMs = bt.mismatch(as, bs); in testBufferType() 666 int bMs = bt.mismatch(bs, as); in testBufferType() 689 int cMa = bt.mismatch(cs, as); in testBufferType() 690 int aMc = bt.mismatch(as, cs); in testBufferType()
|
/libcore/ojluni/annotations/flagged_api/java/nio/ |
D | IntBuffer.annotated.java | 117 public int mismatch(java.nio.IntBuffer that) { throw new RuntimeException("Stub!"); } in mismatch() method in IntBuffer
|
D | FloatBuffer.annotated.java | 117 public int mismatch(java.nio.FloatBuffer that) { throw new RuntimeException("Stub!"); } in mismatch() method in FloatBuffer
|
D | DoubleBuffer.annotated.java | 117 public int mismatch(java.nio.DoubleBuffer that) { throw new RuntimeException("Stub!"); } in mismatch() method in DoubleBuffer
|
D | LongBuffer.annotated.java | 117 public int mismatch(java.nio.LongBuffer that) { throw new RuntimeException("Stub!"); } in mismatch() method in LongBuffer
|
D | ShortBuffer.annotated.java | 117 public int mismatch(java.nio.ShortBuffer that) { throw new RuntimeException("Stub!"); } in mismatch() method in ShortBuffer
|
D | CharBuffer.annotated.java | 125 public int mismatch(java.nio.CharBuffer that) { throw new RuntimeException("Stub!"); } in mismatch() method in CharBuffer
|
D | ByteBuffer.annotated.java | 119 public int mismatch(java.nio.ByteBuffer that) { throw new RuntimeException("Stub!"); } in mismatch() method in ByteBuffer
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipCoder.java | 143 … Arrays.mismatch(a, end - slashBytes.length, end, slashBytes, 0, slashBytes.length) == -1; in hasTrailingSlash()
|
/libcore/ojluni/annotations/sdk/nullability/java/nio/ |
D | ByteBuffer.annotated.java | 111 public int mismatch(@libcore.util.NonNull java.nio.ByteBuffer that); in mismatch() method in ByteBuffer
|