/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/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/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 | 1233 assertEquals(a.isEqual(b), false); 1237 assertEquals(b.isEqual(a), false); 1243 assertEquals(a.isEqual(a), true); 1244 assertEquals(b.isEqual(b), true); 1255 assertEquals(a.isEqual(b), false); 1259 assertEquals(b.isEqual(a), false); 1265 assertEquals(a.isEqual(a), true); 1266 assertEquals(b.isEqual(b), true); 1277 assertEquals(a.isEqual(b), false); 1281 assertEquals(b.isEqual(a), false); [all …]
|
D | TCKOffsetDateTime.java | 1446 assertEquals(a.isEqual(b), false); 1450 assertEquals(b.isEqual(a), false); 1456 assertEquals(a.isEqual(a), true); 1457 assertEquals(b.isEqual(b), true); 1468 assertEquals(a.isEqual(b), false); 1472 assertEquals(b.isEqual(a), false); 1478 assertEquals(a.isEqual(a), true); 1479 assertEquals(b.isEqual(b), true); 1490 assertEquals(a.isEqual(b), true); 1494 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()
|
D | TCKJapaneseChronology.java | 216 assertEquals(test.isEqual(iso), true); in test_createByEra_isEqual() 217 assertEquals(iso.isEqual(test), true); in test_createByEra_isEqual() 284 assertEquals(test.isEqual(iso), true); in test_createByProleptic_isEqual() 285 assertEquals(iso.isEqual(test), true); in test_createByProleptic_isEqual()
|
/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/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/src/main/java/java/time/chrono/ |
D | ChronoLocalDate.java | 761 default boolean isEqual(ChronoLocalDate other) { in isEqual() method
|
D | ChronoLocalDateTime.java | 566 default boolean isEqual(ChronoLocalDateTime<?> other) { in isEqual() method
|
D | ChronoZonedDateTime.java | 639 default boolean isEqual(ChronoZonedDateTime<?> other) { in isEqual() method
|
/libcore/ojluni/src/main/java/java/security/ |
D | MessageDigest.java | 484 public static boolean isEqual(byte[] digesta, byte[] digestb) { in isEqual() method in MessageDigest
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatterBuilder.java | 4102 if (isEqual(c.c0, subKey.charAt(0))) { in add0() 4149 if (isEqual(c.c0, text.charAt(off))) { in match() 4181 if (isEqual(c.c0, text.charAt(off))) { in match() 4204 protected boolean isEqual(char c1, char c2) { in isEqual() method in PrefixTree 4218 if (!isEqual(key.charAt(off0++), text.charAt(off++))) { in prefixOf() 4228 if (!isEqual(k.charAt(off), key.charAt(off))) { in prefixLength() 4251 protected boolean isEqual(char c1, char c2) { in isEqual() method in PrefixTree.CI 4263 if (!isEqual(key.charAt(off0++), text.charAt(off++))) { in prefixOf() 4319 if (!isEqual(key.charAt(koff++), text.charAt(off++))) { in match() 4334 if (isEqual(c.c0, text.charAt(off0))) { in match()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | SetOfTest.java | 210 assertTrue(throwsUoe(() -> { set.removeIf(Predicate.isEqual(example)); } )); in assertUnmodifiable()
|
D | ListOfTest.java | 210 assertThrowsUoe(() -> { list.removeIf(Predicate.isEqual(example)); } ); in assertUnmodifiable()
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalDateTime.java | 1908 public boolean isEqual(ChronoLocalDateTime<?> other) { in isEqual() method in LocalDateTime 1912 return ChronoLocalDateTime.super.isEqual(other); in isEqual()
|