/libcore/luni/src/test/java/tests/security/spec/ |
D | EncodedKeySpec2Test.java | 53 isEqual(key, keys.getPublic())); in test_getEncoded() 60 isEqual(key, keys.getPrivate())); in test_getEncoded() 63 private boolean isEqual(Key key1, Key key2) { in isEqual() method in EncodedKeySpec2Test
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | MessageDigestTest.java | 94 assertTrue(MessageDigest.isEqual(null, null)); in testIsEqual_nullValues() 95 assertFalse(MessageDigest.isEqual(null, new byte[1])); in testIsEqual_nullValues() 96 assertFalse(MessageDigest.isEqual(new byte[1], null)); in testIsEqual_nullValues()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | MessageDigest2Test.java | 105 MessageDigest.isEqual(d1.digest(), d2.digest())); in test_clone() 221 assertTrue("bug in SHA", MessageDigest.isEqual(digest, MESSAGE_DIGEST)); in test_digest() 229 assertTrue("bug in SHA", MessageDigest.isEqual(digest, MESSAGE_DIGEST_63_As)); in test_digest() 237 assertTrue("bug in SHA", MessageDigest.isEqual(digest, MESSAGE_DIGEST_64_As)); in test_digest() 245 assertTrue("bug in SHA", MessageDigest.isEqual(digest, MESSAGE_DIGEST_65_As)); in test_digest() 430 assertTrue("isEqual is not correct", MessageDigest.isEqual(AR1, AR2)); in test_isEqual$B$B()
|
D | MessageDigest1Test.java | 205 assertTrue(MessageDigest.isEqual(b1, b4)); in test_isEqualLB$LB$() 206 assertFalse(MessageDigest.isEqual(b1, b2)); in test_isEqualLB$LB$() 207 assertFalse(MessageDigest.isEqual(b1, b3)); in test_isEqualLB$LB$()
|
D | DigestInputStream2Test.java | 74 MessageDigest.isEqual(noChangeDigest.digest(), originalDigest in test_onZ() 86 !MessageDigest.isEqual(digest.digest(), changeDigest.digest())); in test_onZ()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKOffsetTime.java | 1248 assertEquals(a.isEqual(b), false); 1252 assertEquals(b.isEqual(a), false); 1258 assertEquals(a.isEqual(a), true); 1259 assertEquals(b.isEqual(b), true); 1270 assertEquals(a.isEqual(b), false); 1274 assertEquals(b.isEqual(a), false); 1280 assertEquals(a.isEqual(a), true); 1281 assertEquals(b.isEqual(b), true); 1292 assertEquals(a.isEqual(b), false); 1296 assertEquals(b.isEqual(a), false); [all …]
|
D | TCKOffsetDateTime.java | 1431 assertEquals(a.isEqual(b), false); 1435 assertEquals(b.isEqual(a), false); 1441 assertEquals(a.isEqual(a), true); 1442 assertEquals(b.isEqual(b), true); 1453 assertEquals(a.isEqual(b), false); 1457 assertEquals(b.isEqual(a), false); 1463 assertEquals(a.isEqual(a), true); 1464 assertEquals(b.isEqual(b), true); 1475 assertEquals(a.isEqual(b), true); 1479 assertEquals(b.isEqual(a), true); [all …]
|
/libcore/ojluni/src/main/java/java/util/function/ |
D | Predicate.java | 114 static <T> Predicate<T> isEqual(Object targetRef) { in isEqual() method
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | SignatureFileVerifier.java | 384 if (MessageDigest.isEqual(computedHash, in verifyManifestHash() 429 if (MessageDigest.isEqual(computedHash, in verifyManifestMainAttrs() 509 if (MessageDigest.isEqual(computed, expected)) { in verifySection() 516 if (MessageDigest.isEqual(computed, expected)) { in verifySection()
|
D | ManifestEntryVerifier.java | 217 if (!MessageDigest.isEqual(theHash, manHash)) in verify()
|
/libcore/ojluni/src/main/java/javax/crypto/spec/ |
D | SecretKeySpec.java | 232 return MessageDigest.isEqual(this.key, thatKey); in equals()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKChronoLocalDate.java | 292 assertEquals(a.isEqual(b), false, a + " isEqual " + b); in test_date_comparisons() 297 assertEquals(a.isEqual(b), false, a + " isEqual " + b); in test_date_comparisons() 302 assertEquals(a.isEqual(b), true, a + " isEqual " + b); in test_date_comparisons()
|
D | TCKChronoLocalDateTime.java | 303 assertEquals(a.isEqual(b), false, a + " isEqual " + b); in test_datetime_comparisons() 308 assertEquals(a.isEqual(b), false, a + " isEqual " + b); in test_datetime_comparisons() 313 assertEquals(a.isEqual(b), true, a + " isEqual " + b); in test_datetime_comparisons()
|
D | TCKChronoZonedDateTime.java | 306 assertEquals(a.isEqual(b), false, a + " isEqual " + b); in test_zonedDateTime_comparisons() 311 assertEquals(a.isEqual(b), false, a + " isEqual " + b); in test_zonedDateTime_comparisons() 316 assertEquals(a.isEqual(b), true, a + " isEqual " + b); in test_zonedDateTime_comparisons()
|
/libcore/luni/src/test/java/tests/support/ |
D | Support_SQL.java | 91 public static boolean isEqual(byte[] b1, int off1, byte[] b2, int off2, in isEqual() method in Support_SQL
|
/libcore/ojluni/annotations/sdk/nullability/java/security/ |
D | MessageDigest.annotated.java | 63 public static boolean isEqual(byte @libcore.util.Nullable [] digesta, byte @libcore.util.Nullable [… in isEqual() method in MessageDigest
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDate.java | 764 default boolean isEqual(ChronoLocalDate other) { in isEqual() method
|
D | ChronoLocalDateTime.java | 573 default boolean isEqual(ChronoLocalDateTime<?> other) { in isEqual() method
|
D | ChronoZonedDateTime.java | 646 default boolean isEqual(ChronoZonedDateTime<?> other) { in isEqual() method
|
/libcore/ojluni/src/main/java/java/security/ |
D | MessageDigest.java | 518 public static boolean isEqual(byte[] digesta, byte[] digestb) { in isEqual() method in MessageDigest
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatterBuilder.java | 4632 if (isEqual(c.c0, subKey.charAt(0))) { in add0() 4679 if (isEqual(c.c0, text.charAt(off))) { in match() 4711 if (isEqual(c.c0, text.charAt(off))) { in match() 4734 protected boolean isEqual(char c1, char c2) { in isEqual() method in PrefixTree 4748 if (!isEqual(key.charAt(off0++), text.charAt(off++))) { in prefixOf() 4758 if (!isEqual(k.charAt(off), key.charAt(off))) { in prefixLength() 4781 protected boolean isEqual(char c1, char c2) { in isEqual() method in PrefixTree.CI 4793 if (!isEqual(key.charAt(off0++), text.charAt(off++))) { in prefixOf() 4849 if (!isEqual(key.charAt(koff++), text.charAt(off++))) { in match() 4864 if (isEqual(c.c0, text.charAt(off0))) { in match()
|
/libcore/ojluni/src/test/java/util/Arrays/ |
D | ArraysEqCmpTest.java | 857 boolean eq = isEqual(at, a, aFrom, aTo, b, bFrom, bTo); in testArrayType() 901 Assert.assertFalse(isEqual(at, a, aFrom + aMb, b, bFrom + aMb)); in testArrayType() 946 static boolean isEqual(ArrayType<?> at, Object a, int aFromIndex, int aToIndex, in isEqual() method in ArraysEqCmpTest 962 static boolean isEqual(ArrayType<?> at, Object a, int aFrom, Object b, int bFrom) { in isEqual() method in ArraysEqCmpTest
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | ListOfTest.java | 210 assertThrowsUoe(() -> { list.removeIf(Predicate.isEqual(example)); } ); in assertUnmodifiable()
|
D | SetOfTest.java | 210 assertTrue(throwsUoe(() -> { set.removeIf(Predicate.isEqual(example)); } )); in assertUnmodifiable()
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalDateTime.java | 1901 public boolean isEqual(ChronoLocalDateTime<?> other) { in isEqual() method in LocalDateTime 1905 return ChronoLocalDateTime.super.isEqual(other); in isEqual()
|