Home
last modified time | relevance | path

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

12

/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/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/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.java1248 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 …]
DTCKOffsetDateTime.java1431 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/
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()
/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/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/ojluni/src/main/java/java/time/chrono/
DChronoLocalDate.java764 default boolean isEqual(ChronoLocalDate other) { in isEqual() method
DChronoLocalDateTime.java573 default boolean isEqual(ChronoLocalDateTime<?> other) { in isEqual() method
DChronoZonedDateTime.java646 default boolean isEqual(ChronoZonedDateTime<?> other) { in isEqual() method
/libcore/ojluni/src/main/java/java/security/
DMessageDigest.java518 public static boolean isEqual(byte[] digesta, byte[] digestb) { in isEqual() method in MessageDigest
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java4632 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/
DArraysEqCmpTest.java857 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/
DListOfTest.java210 assertThrowsUoe(() -> { list.removeIf(Predicate.isEqual(example)); } ); in assertUnmodifiable()
DSetOfTest.java210 assertTrue(throwsUoe(() -> { set.removeIf(Predicate.isEqual(example)); } )); in assertUnmodifiable()
/libcore/ojluni/src/main/java/java/time/
DLocalDateTime.java1901 public boolean isEqual(ChronoLocalDateTime<?> other) { in isEqual() method in LocalDateTime
1905 return ChronoLocalDateTime.super.isEqual(other); in isEqual()

12