Home
last modified time | relevance | path

Searched refs:isEqual (Results 1 – 25 of 32) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/security/
DMessageDigestTest.java94 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/
DEncodedKeySpec2Test.java53 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/
DMessageDigest2Test.java105 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()
DMessageDigest1Test.java205 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$()
DDigestInputStream2Test.java74 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/
DTCKOffsetTime.java1233 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 …]
DTCKOffsetDateTime.java1446 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/
DPredicate.java114 static <T> Predicate<T> isEqual(Object targetRef) { in isEqual() method
/libcore/ojluni/src/main/java/sun/security/util/
DSignatureFileVerifier.java384 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()
DManifestEntryVerifier.java217 if (!MessageDigest.isEqual(theHash, manHash)) in verify()
/libcore/ojluni/src/main/java/javax/crypto/spec/
DSecretKeySpec.java232 return MessageDigest.isEqual(this.key, thatKey); in equals()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKChronoLocalDate.java292 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()
DTCKChronoLocalDateTime.java303 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()
DTCKChronoZonedDateTime.java306 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()
DTCKJapaneseChronology.java216 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/
DMessageDigest.annotated.java63 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/
DSupport_SQL.java91 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/
DChronoLocalDate.java761 default boolean isEqual(ChronoLocalDate other) { in isEqual() method
DChronoLocalDateTime.java566 default boolean isEqual(ChronoLocalDateTime<?> other) { in isEqual() method
DChronoZonedDateTime.java639 default boolean isEqual(ChronoZonedDateTime<?> other) { in isEqual() method
/libcore/ojluni/src/main/java/java/security/
DMessageDigest.java484 public static boolean isEqual(byte[] digesta, byte[] digestb) { in isEqual() method in MessageDigest
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java4102 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/
DSetOfTest.java210 assertTrue(throwsUoe(() -> { set.removeIf(Predicate.isEqual(example)); } )); in assertUnmodifiable()
DListOfTest.java210 assertThrowsUoe(() -> { list.removeIf(Predicate.isEqual(example)); } ); in assertUnmodifiable()
/libcore/ojluni/src/main/java/java/time/
DLocalDateTime.java1908 public boolean isEqual(ChronoLocalDateTime<?> other) { in isEqual() method in LocalDateTime
1912 return ChronoLocalDateTime.super.isEqual(other); in isEqual()

12