/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | DenseMapInfo.h | 56 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } 65 static bool isEqual(const char &LHS, const char &RHS) { 76 static bool isEqual(const unsigned char &LHS, const unsigned char &RHS) { 87 static bool isEqual(const unsigned short &LHS, const unsigned short &RHS) { 98 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { 112 static bool isEqual(const unsigned long& LHS, const unsigned long& RHS) { 126 static bool isEqual(const unsigned long long& LHS, 137 static bool isEqual(const short &LHS, const short &RHS) { return LHS == RHS; } 146 static bool isEqual(const int& LHS, const int& RHS) { 163 static bool isEqual(const long& LHS, const long& RHS) { [all …]
|
D | CachedHashString.h | 58 assert(!isEqual(S, getEmptyKey()) && "Cannot hash the empty key!"); 59 assert(!isEqual(S, getTombstoneKey()) && "Cannot hash the tombstone key!"); 62 static bool isEqual(const CachedHashStringRef &LHS, 65 DenseMapInfo<StringRef>::isEqual(LHS.val(), RHS.val()); 163 assert(!isEqual(S, getEmptyKey()) && "Cannot hash the empty key!"); 164 assert(!isEqual(S, getTombstoneKey()) && "Cannot hash the tombstone key!"); 167 static bool isEqual(const CachedHashString &LHS,
|
/external/llvm/include/llvm/ADT/ |
D | DenseMapInfo.h | 53 assert(!isEqual(Val, getEmptyKey()) && "Cannot hash the empty key!"); 54 assert(!isEqual(Val, getTombstoneKey()) && 58 static bool isEqual(CachedHash<T> A, CachedHash<T> B) { 59 return DenseMapInfo<T>::isEqual(A.Val, B.Val); 80 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } 88 static bool isEqual(const char &LHS, const char &RHS) { 98 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { 110 static bool isEqual(const unsigned long& LHS, const unsigned long& RHS) { 122 static bool isEqual(const unsigned long long& LHS, 133 static bool isEqual(const int& LHS, const int& RHS) { [all …]
|
D | DenseMap.h | 107 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) { in clear() 108 if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) { in clear() 292 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && in destroyAll() 293 !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) in destroyAll() 328 if (!KeyInfoT::isEqual(B->getFirst(), EmptyKey) && in moveFromOldBuckets() 329 !KeyInfoT::isEqual(B->getFirst(), TombstoneKey)) { in moveFromOldBuckets() 362 if (!KeyInfoT::isEqual(getBuckets()[i].getFirst(), getEmptyKey()) && in copyFrom() 363 !KeyInfoT::isEqual(getBuckets()[i].getFirst(), getTombstoneKey())) in copyFrom() 502 if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey)) in InsertIntoBucketImpl() 527 assert(!KeyInfoT::isEqual(Val, EmptyKey) && in LookupBucketFor() [all …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/ADT/ |
D | DenseMapInfo.h | 88 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } 97 static bool isEqual(const char &LHS, const char &RHS) { 108 static bool isEqual(const unsigned char &LHS, const unsigned char &RHS) { 119 static bool isEqual(const unsigned short &LHS, const unsigned short &RHS) { 130 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { 144 static bool isEqual(const unsigned long& LHS, const unsigned long& RHS) { 158 static bool isEqual(const unsigned long long& LHS, 169 static bool isEqual(const short &LHS, const short &RHS) { return LHS == RHS; } 178 static bool isEqual(const int& LHS, const int& RHS) { 195 static bool isEqual(const long& LHS, const long& RHS) { [all …]
|
D | CachedHashString.h | 58 assert(!isEqual(S, getEmptyKey()) && "Cannot hash the empty key!"); 59 assert(!isEqual(S, getTombstoneKey()) && "Cannot hash the tombstone key!"); 62 static bool isEqual(const CachedHashStringRef &LHS, 65 DenseMapInfo<StringRef>::isEqual(LHS.val(), RHS.val()); 163 assert(!isEqual(S, getEmptyKey()) && "Cannot hash the empty key!"); 164 assert(!isEqual(S, getTombstoneKey()) && "Cannot hash the tombstone key!"); 167 static bool isEqual(const CachedHashString &LHS,
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | DenseMapInfo.h | 50 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } 58 static bool isEqual(const char &LHS, const char &RHS) { 68 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { 80 static bool isEqual(const unsigned long& LHS, const unsigned long& RHS) { 92 static bool isEqual(const unsigned long long& LHS, 103 static bool isEqual(const int& LHS, const int& RHS) { 117 static bool isEqual(const long& LHS, const long& RHS) { 129 static bool isEqual(const long long& LHS, 163 static bool isEqual(const Pair &LHS, const Pair &RHS) { 164 return FirstInfo::isEqual(LHS.first, RHS.first) && [all …]
|
D | DenseMap.h | 108 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) { in clear() 109 if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) { in clear() 308 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && in destroyAll() 309 !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) in destroyAll() 344 if (!KeyInfoT::isEqual(B->getFirst(), EmptyKey) && in moveFromOldBuckets() 345 !KeyInfoT::isEqual(B->getFirst(), TombstoneKey)) { in moveFromOldBuckets() 378 if (!KeyInfoT::isEqual(getBuckets()[i].getFirst(), getEmptyKey()) && in copyFrom() 379 !KeyInfoT::isEqual(getBuckets()[i].getFirst(), getTombstoneKey())) in copyFrom() 501 if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey)) in InsertIntoBucketImpl() 526 assert(!KeyInfoT::isEqual(Val, EmptyKey) && in LookupBucketFor() [all …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/ |
D | ArchiveUtilsTest.java | 44 assertTrue(ArchiveUtils.isEqual(buffer1, buffer2, true)); in testCompareBA() 45 assertFalse(ArchiveUtils.isEqual(buffer1, buffer2, false)); in testCompareBA() 46 assertFalse(ArchiveUtils.isEqual(buffer1, buffer2)); in testCompareBA() 47 assertTrue(ArchiveUtils.isEqual(buffer2, buffer1, true)); in testCompareBA() 48 assertFalse(ArchiveUtils.isEqual(buffer2, buffer1, false)); in testCompareBA() 49 assertFalse(ArchiveUtils.isEqual(buffer2, buffer1)); in testCompareBA() 50 assertTrue(ArchiveUtils.isEqual(buffer1, buffer3)); in testCompareBA() 51 assertTrue(ArchiveUtils.isEqual(buffer3, buffer1)); in testCompareBA() 133 assertTrue(ArchiveUtils.isEqual((byte[]) null, 0, 0, (byte[]) null, 0, 0)); in testIsEqual()
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/function/ |
D | IOPredicateTest.java | 85 list.removeIf(Predicate.isEqual("A")); in testAsPredicate() 87 list.removeIf(IOPredicate.isEqual("B").asPredicate()); in testAsPredicate() 104 assertThrowsChecked(() -> IOPredicate.isEqual(THROWING_EQUALS).test("B")); in testIsEqualChecked() 105 assertFalse(IOPredicate.isEqual(null).test("A")); in testIsEqualChecked() 106 assertTrue(IOPredicate.isEqual("B").test("B")); in testIsEqualChecked() 107 assertFalse(IOPredicate.isEqual("A").test("B")); in testIsEqualChecked() 108 assertFalse(IOPredicate.isEqual("B").test("A")); in testIsEqualChecked() 113 assertThrowsUnchecked(() -> IOPredicate.isEqual(THROWING_EQUALS).asPredicate().test("B")); in testIsEqualUnchecked() 114 assertFalse(IOPredicate.isEqual(null).asPredicate().test("A")); in testIsEqualUnchecked() 115 assertTrue(IOPredicate.isEqual("B").asPredicate().test("B")); in testIsEqualUnchecked() [all …]
|
/external/clang/test/SemaObjC/ |
D | objc-literal-comparison.m | 18 - (BOOL)isEqual:(id)other; 39 …ect comparison of a string literal has undefined behavior}} expected-note{{use 'isEqual:' instead}} 40 …ect comparison of a string literal has undefined behavior}} expected-note{{use 'isEqual:' instead}} 41 …ect comparison of a string literal has undefined behavior}} expected-note{{use 'isEqual:' instead}} 42 …ect comparison of a string literal has undefined behavior}} expected-note{{use 'isEqual:' instead}} 44 …ect comparison of an array literal has undefined behavior}} expected-note{{use 'isEqual:' instead}} 45 …comparison of a dictionary literal has undefined behavior}} expected-note{{use 'isEqual:' instead}} 46 …ct comparison of a numeric literal has undefined behavior}} expected-note{{use 'isEqual:' instead}} 47 …ct comparison of a numeric literal has undefined behavior}} expected-note{{use 'isEqual:' instead}} 48 …ct comparison of a numeric literal has undefined behavior}} expected-note{{use 'isEqual:' instead}} [all …]
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/ |
D | ArchiveUtils.java | 81 return isEqual(buffer1, 0, buffer1.length, buffer, offset, length, false); in matchAsciiBuffer() 155 public static boolean isEqual( in isEqual() method in ArchiveUtils 198 public static boolean isEqual( 201 return isEqual(buffer1, offset1, length1, buffer2, offset2, length2, false); 211 public static boolean isEqual(final byte[] buffer1, final byte[] buffer2 ){ 212 return isEqual(buffer1, 0, buffer1.length, buffer2, 0, buffer2.length, false); 223 …public static boolean isEqual(final byte[] buffer1, final byte[] buffer2, final boolean ignoreTrai… 224 return isEqual(buffer1, 0, buffer1.length, buffer2, 0, buffer2.length, ignoreTrailingNulls); 241 return isEqual(buffer1, offset1, length1, buffer2, offset2, length2, true);
|
/external/cronet/tot/third_party/libc++/src/test/support/ |
D | test_comparisons.h | 38 testComparisonsComplete(const T& t1, const U& t2, bool isEqual, bool isLess, bool isGreater) { in testComparisonsComplete() argument 39 assert(((isEqual ? 1 : 0) + (isLess ? 1 : 0) + (isGreater ? 1 : 0) <= 1) && in testComparisonsComplete() 41 if (isEqual) { in testComparisonsComplete() 100 TEST_NODISCARD TEST_CONSTEXPR_CXX14 bool testComparisons(const T& t1, const U& t2, bool isEqual, bo… in testComparisons() argument 101 assert(!(isEqual && isLess) && "isEqual and isLess cannot be both true"); in testComparisons() 102 bool isGreater = !isEqual && !isLess; in testComparisons() 103 return testComparisonsComplete(t1, t2, isEqual, isLess, isGreater); in testComparisons() 110 const bool isEqual = val1 == val2; in testComparisonsValues() local 114 return testComparisonsComplete(T(val1), T(val2), isEqual, isLess, isGreater); in testComparisonsValues() 179 TEST_NODISCARD TEST_CONSTEXPR_CXX14 bool testEquality(const T& t1, const U& t2, bool isEqual) in testEquality() argument [all …]
|
/external/cronet/stable/third_party/libc++/src/test/support/ |
D | test_comparisons.h | 38 testComparisonsComplete(const T& t1, const U& t2, bool isEqual, bool isLess, bool isGreater) { in testComparisonsComplete() argument 39 assert(((isEqual ? 1 : 0) + (isLess ? 1 : 0) + (isGreater ? 1 : 0) <= 1) && in testComparisonsComplete() 41 if (isEqual) { in testComparisonsComplete() 100 TEST_NODISCARD TEST_CONSTEXPR_CXX14 bool testComparisons(const T& t1, const U& t2, bool isEqual, bo… in testComparisons() argument 101 assert(!(isEqual && isLess) && "isEqual and isLess cannot be both true"); in testComparisons() 102 bool isGreater = !isEqual && !isLess; in testComparisons() 103 return testComparisonsComplete(t1, t2, isEqual, isLess, isGreater); in testComparisons() 110 const bool isEqual = val1 == val2; in testComparisonsValues() local 114 return testComparisonsComplete(T(val1), T(val2), isEqual, isLess, isGreater); in testComparisonsValues() 179 TEST_NODISCARD TEST_CONSTEXPR_CXX14 bool testEquality(const T& t1, const U& t2, bool isEqual) in testEquality() argument [all …]
|
/external/libcxx/test/support/ |
D | test_comparisons.h | 27 TEST_CONSTEXPR_CXX14 bool testComparisons6(const T& t1, const T& t2, bool isEqual, bool isLess) in testComparisons6() argument 29 if (isEqual) in testComparisons6() 82 const bool isEqual = val1 == val2; in testComparisons6Values() local 85 return testComparisons6(T(val1), T(val2), isEqual, isLess); in testComparisons6Values() 124 TEST_CONSTEXPR_CXX14 bool testComparisons2(const T& t1, const T& t2, bool isEqual) in testComparisons2() argument 126 if (isEqual) in testComparisons2() 148 const bool isEqual = val1 == val2; in testComparisons2Values() local 150 return testComparisons2(T(val1), T(val2), isEqual); in testComparisons2Values()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math3/util/ |
D | Precision.java | 219 final boolean isEqual; in equals() 222 isEqual = FastMath.abs(xInt - yInt) <= maxUlps; in equals() 236 isEqual = false; in equals() 238 isEqual = deltaMinus <= (maxUlps - deltaPlus); in equals() 242 return isEqual && !Float.isNaN(x) && !Float.isNaN(y); in equals() 361 final boolean isEqual; in equals() 364 isEqual = FastMath.abs(xInt - yInt) <= maxUlps; in equals() 378 isEqual = false; in equals() 380 isEqual = deltaMinus <= (maxUlps - deltaPlus); in equals() 384 return isEqual && !Double.isNaN(x) && !Double.isNaN(y); in equals()
|
/external/cronet/tot/third_party/libc++/src/test/std/ranges/range.adaptors/range.join/ |
D | general.pass.cpp | 22 bool isEqual(R& r, I i) { in isEqual() function 36 assert(isEqual(jv, flattened)); in main() 43 assert(isEqual(jv, check.begin())); in main() 60 assert(isEqual(jv, check.begin())); in main()
|
/external/cronet/stable/third_party/libc++/src/test/std/ranges/range.adaptors/range.join/ |
D | general.pass.cpp | 22 bool isEqual(R& r, I i) { in isEqual() function 36 assert(isEqual(jv, flattened)); in main() 43 assert(isEqual(jv, check.begin())); in main() 60 assert(isEqual(jv, check.begin())); in main()
|
/external/openthread/src/core/common/ |
D | heap_string.cpp | 89 bool isEqual; in operator ==() local 91 …VerifyOrExit((aCString != nullptr) && (mStringBuffer != nullptr), isEqual = (mStringBuffer == aCSt… in operator ==() 92 isEqual = StringMatch(mStringBuffer, aCString); in operator ==() 95 return isEqual; in operator ==()
|
/external/pytorch/test/cpp/jit/ |
D | test_argument_spec.cpp | 20 bool isEqual(at::IntArrayRef lhs, at::IntArrayRef rhs) { in isEqual() function 25 bool isEqual(const CompleteArgumentInfo& ti, const autograd::Variable& v) { in isEqual() function 29 ti.type() == v.scalar_type() && isEqual(ti.sizes(), v.sizes()) && in isEqual() 30 isEqual(ti.strides(), v.strides()); in isEqual() 33 bool isEqual(const ArgumentInfo& ti, const autograd::Variable& v) { in isEqual() function 86 ASSERT_TRUE(isEqual(a.at(i), list[i].toTensor())); in TEST() 180 ASSERT_TRUE(isEqual(a.tensorAt(i), list[i].toTensor())); in TEST()
|
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/CodeGen/PBQP/ |
D | CostAllocator.h | 70 static bool isEqual(const ValueKeyT1 &C1, const ValueKeyT2 &C2) { in isEqual() function 75 static bool isEqual(const ValueKeyT &C, PoolEntry *P) { in isEqual() function 78 return isEqual(C, P->getValue()); in isEqual() 81 static bool isEqual(PoolEntry *P1, PoolEntry *P2) { in isEqual() function 84 return isEqual(P1->getValue(), P2); in isEqual()
|
/external/llvm/include/llvm/CodeGen/PBQP/ |
D | CostAllocator.h | 70 bool isEqual(const ValueKeyT1 &C1, const ValueKeyT2 &C2) { in isEqual() function 75 static bool isEqual(const ValueKeyT &C, PoolEntry *P) { in isEqual() function 78 return isEqual(C, P->getValue()); in isEqual() 81 static bool isEqual(PoolEntry *P1, PoolEntry *P2) { in isEqual() function 84 return isEqual(P1->getValue(), P2); in isEqual()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/PBQP/ |
D | CostAllocator.h | 70 static bool isEqual(const ValueKeyT1 &C1, const ValueKeyT2 &C2) { in isEqual() function 75 static bool isEqual(const ValueKeyT &C, PoolEntry *P) { in isEqual() function 78 return isEqual(C, P->getValue()); in isEqual() 81 static bool isEqual(PoolEntry *P1, PoolEntry *P2) { in isEqual() function 84 return isEqual(P1->getValue(), P2); in isEqual()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/io/pem/ |
D | PemHeader.java | 49 … return other == this || (isEqual(this.name, other.name) && isEqual(this.value, other.value)); in equals() 62 private boolean isEqual(String s1, String s2) in isEqual() method in PemHeader
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/pem/ |
D | PemHeader.java | 47 … return other == this || (isEqual(this.name, other.name) && isEqual(this.value, other.value)); in equals() 60 private boolean isEqual(String s1, String s2) in isEqual() method in PemHeader
|