Home
last modified time | relevance | path

Searched refs:areEqual (Results 1 – 25 of 114) sorted by relevance

12345

/external/mockito/src/test/java/org/mockito/internal/matchers/
DEqualityTest.java12 import static org.mockito.internal.matchers.Equality.areEqual;
19 assertTrue(areEqual(arr, arr)); in shouldKnowIfObjectsAreEqual()
20 assertTrue(areEqual(new int[] {1, 2}, new int[] {1, 2})); in shouldKnowIfObjectsAreEqual()
21 assertTrue(areEqual(new Double[] {1.0}, new Double[] {1.0})); in shouldKnowIfObjectsAreEqual()
22 assertTrue(areEqual(new String[0], new String[0])); in shouldKnowIfObjectsAreEqual()
23 assertTrue(areEqual(new Object[10], new Object[10])); in shouldKnowIfObjectsAreEqual()
24 assertTrue(areEqual(new int[] {1}, new Integer[] {1})); in shouldKnowIfObjectsAreEqual()
25 assertTrue(areEqual(new Object[] {"1"}, new String[] {"1"})); in shouldKnowIfObjectsAreEqual()
27 assertTrue(areEqual(badequals,badequals)); in shouldKnowIfObjectsAreEqual()
29 assertFalse(areEqual(new Object[9], new Object[10])); in shouldKnowIfObjectsAreEqual()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAccessibilityWindowInfo.java138 boolean areEqual = (type == otherShadow.getType()); in equals()
139 areEqual &= (parent == otherShadow.getParent()); in equals()
140 areEqual &= (rootNode == otherShadow.getRoot()); in equals()
141 areEqual &= (layer == otherShadow.getLayer()); in equals()
142 areEqual &= (id == otherShadow.getId()); in equals()
143 areEqual &= (title == otherShadow.getTitle()); in equals()
144 areEqual &= (isAccessibilityFocused == otherShadow.isAccessibilityFocused()); in equals()
145 areEqual &= (isActive == otherShadow.isActive()); in equals()
146 areEqual &= (isFocused == otherShadow.isFocused()); in equals()
149 areEqual &= (boundsInScreen.equals(anotherBounds)); in equals()
[all …]
/external/mockito/src/main/java/org/mockito/internal/handler/
DNotifiedMethodInvocationReport.java11 import static org.mockito.internal.matchers.Equality.areEqual;
75 return areEqual(invocation, that.invocation) && in equals()
76 areEqual(returnedValue, that.returnedValue) && in equals()
77 areEqual(throwable, that.throwable); in equals()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/selector/
DX509CertificateHolderSelector.java103 return Arrays.areEqual(subjectKeyId, id.subjectKeyId) in equals()
132 …return Arrays.areEqual(subjectKeyId, MSOutlookKeyIdCalculator.calculateKeyId(certHldr.getSubjectPu… in match()
137 return Arrays.areEqual(subjectKeyId, subKeyID); in match()
142 return Arrays.areEqual(subjectKeyId, (byte[])obj); in match()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
DIsEqual.java23 return areEqual(actualValue, expectedValue); in matches()
31 private static boolean areEqual(Object actual, Object expected) { in areEqual() method in IsEqual
53 if (!areEqual(Array.get(actualArray, i), Array.get(expectedArray, i))) { in areArrayElementsEqual()
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessUtil.cpp82 bool areEqual (float a, float b) in areEqual() function
145 return areEqual(data[0], 0.0f) in verifyOutOfBoundsVec4()
146 && areEqual(data[1], 0.0f) in verifyOutOfBoundsVec4()
147 && areEqual(data[2], 0.0f) in verifyOutOfBoundsVec4()
148 && (areEqual(data[3], 0.0f) || areEqual(data[3], 1.0f)); in verifyOutOfBoundsVec4()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DImmutableEntry.java37 return UnicodeMap.areEqual(e.getKey(), k) && UnicodeMap.areEqual(e.getValue(), v); in equals()
DUnicodeMap.java99 if (!areEqual(values[i], that.values[i])) return false; in equals()
107 public static boolean areEqual(Object a , Object b) { in areEqual() method in UnicodeMap
152 if (areEqual(values[i-1], values[i])) { in _checkInvariants()
292 if (areEqual(values[baseIndex], value)) return this; in _put()
314 baseIndex != 0 && areEqual(value, values[baseIndex-1]); in _put()
319 baseIndex < length - 2 && areEqual(value, values[limitIndex]); // was -1 in _put()
351 baseIndex < length - 2 && areEqual(value, values[limitIndex]); // was -1 in _put()
535 if (areEqual(value, values[i])) {
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DImmutableEntry.java40 return UnicodeMap.areEqual(e.getKey(), k) && UnicodeMap.areEqual(e.getValue(), v); in equals()
DUnicodeMap.java102 if (!areEqual(values[i], that.values[i])) return false; in equals()
110 public static boolean areEqual(Object a , Object b) { in areEqual() method in UnicodeMap
155 if (areEqual(values[i-1], values[i])) { in _checkInvariants()
295 if (areEqual(values[baseIndex], value)) return this; in _put()
317 baseIndex != 0 && areEqual(value, values[baseIndex-1]); in _put()
322 baseIndex < length - 2 && areEqual(value, values[limitIndex]); // was -1 in _put()
354 baseIndex < length - 2 && areEqual(value, values[limitIndex]); // was -1 in _put()
538 if (areEqual(value, values[i])) {
/external/mockito/src/main/java/org/mockito/internal/matchers/
DEquality.java12 public static boolean areEqual(Object o1, Object o2) { in areEqual() method in Equality
35 if (!areEqual(Array.get(o1, i), Array.get(o2, i))) return false; in areArrayElementsEqual()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DArrays.java26 public static boolean areEqual( in areEqual() method in Arrays
56 public static boolean areEqual( in areEqual() method in Arrays
86 public static boolean areEqual( in areEqual() method in Arrays
116 public static boolean areEqual( in areEqual() method in Arrays
184 public static boolean areEqual( in areEqual() method in Arrays
214 public static boolean areEqual( in areEqual() method in Arrays
244 public static boolean areEqual(Object[] a, Object[] b) in areEqual() method in Arrays
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/
DArrays.java28 public static boolean areEqual( in areEqual() method in Arrays
58 public static boolean areEqual( in areEqual() method in Arrays
88 public static boolean areEqual( in areEqual() method in Arrays
118 public static boolean areEqual( in areEqual() method in Arrays
186 public static boolean areEqual( in areEqual() method in Arrays
216 public static boolean areEqual( in areEqual() method in Arrays
246 public static boolean areEqual(Object[] a, Object[] b) in areEqual() method in Arrays
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DMapsTest.java288 assertTrue(diff.areEqual()); in testMapDifferenceEmptyEmpty()
298 assertFalse(diff.areEqual()); in testMapDifferenceEmptySingleton()
308 assertFalse(diff.areEqual()); in testMapDifferenceSingletonEmpty()
323 assertFalse(diff1.areEqual()); in testMapDifferenceTypical()
335 assertFalse(diff2.areEqual()); in testMapDifferenceTypical()
383 assertFalse(diff1.areEqual()); in testMapDifferencePredicateTypical()
396 assertFalse(diff2.areEqual()); in testMapDifferencePredicateTypical()
421 assertTrue(diff.areEqual()); in testSortedMapDifferenceEmptyEmpty()
432 assertFalse(diff.areEqual()); in testSortedMapDifferenceEmptySingleton()
443 assertFalse(diff.areEqual()); in testSortedMapDifferenceSingletonEmpty()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/field/
DGF2Polynomial.java35 return Arrays.areEqual(exponents, other.exponents); in equals()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/
DX500NameStyle.java47 boolean areEqual(X500Name name1, X500Name name2); in areEqual() method
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/field/
DGF2Polynomial.java36 return Arrays.areEqual(exponents, other.exponents); in equals()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DDHValidationParameters.java43 return Arrays.areEqual(this.seed, other.seed); in equals()
DDSAValidationParameters.java63 return Arrays.areEqual(this.seed, other.seed); in equals()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/
DDHValidationParameters.java47 return Arrays.areEqual(this.seed, other.seed); in equals()
DDSAValidationParameters.java67 return Arrays.areEqual(this.seed, other.seed); in equals()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/
DBCStrictStyle.java16 public boolean areEqual(X500Name name1, X500Name name2) in areEqual() method in BCStrictStyle
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x500/
DX500NameStyle.java49 boolean areEqual(X500Name name1, X500Name name2); in areEqual() method
/external/guava/guava-tests/test/com/google/common/collect/
DMapsTest.java354 assertTrue(diff.areEqual()); in testMapDifferenceEmptyEmpty()
364 assertFalse(diff.areEqual()); in testMapDifferenceEmptySingleton()
374 assertFalse(diff.areEqual()); in testMapDifferenceSingletonEmpty()
389 assertFalse(diff1.areEqual()); in testMapDifferenceTypical()
401 assertFalse(diff2.areEqual()); in testMapDifferenceTypical()
449 assertFalse(diff1.areEqual()); in testMapDifferencePredicateTypical()
462 assertFalse(diff2.areEqual()); in testMapDifferencePredicateTypical()
487 assertTrue(diff.areEqual()); in testSortedMapDifferenceEmptyEmpty()
498 assertFalse(diff.areEqual()); in testSortedMapDifferenceEmptySingleton()
509 assertFalse(diff.areEqual()); in testSortedMapDifferenceSingletonEmpty()
[all …]
/external/guava/guava/src/com/google/common/collect/
DMapDifference.java37 boolean areEqual(); in areEqual() method

12345