/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,
|
D | DenseMap.h | 130 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) { in clear() 131 if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) { in clear() 336 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && in destroyAll() 337 !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) in destroyAll() 372 if (!KeyInfoT::isEqual(B->getFirst(), EmptyKey) && in moveFromOldBuckets() 373 !KeyInfoT::isEqual(B->getFirst(), TombstoneKey)) { in moveFromOldBuckets() 407 if (!KeyInfoT::isEqual(getBuckets()[i].getFirst(), getEmptyKey()) && in copyFrom() 408 !KeyInfoT::isEqual(getBuckets()[i].getFirst(), getTombstoneKey())) in copyFrom() 567 if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey)) in InsertIntoBucketImpl() 592 assert(!KeyInfoT::isEqual(Val, EmptyKey) && in LookupBucketFor() [all …]
|
/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/llvm-project/llvm/include/llvm/ADT/ |
D | DenseMapInfo.h | 84 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } 93 static bool isEqual(const char &LHS, const char &RHS) { 104 static bool isEqual(const unsigned char &LHS, const unsigned char &RHS) { 115 static bool isEqual(const unsigned short &LHS, const unsigned short &RHS) { 126 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { 140 static bool isEqual(const unsigned long& LHS, const unsigned long& RHS) { 154 static bool isEqual(const unsigned long long& LHS, 165 static bool isEqual(const short &LHS, const short &RHS) { return LHS == RHS; } 174 static bool isEqual(const int& LHS, const int& RHS) { 191 static bool isEqual(const long& LHS, const long& RHS) { [all …]
|
D | CachedHashString.h | 57 assert(!isEqual(S, getEmptyKey()) && "Cannot hash the empty key!"); 58 assert(!isEqual(S, getTombstoneKey()) && "Cannot hash the tombstone key!"); 61 static bool isEqual(const CachedHashStringRef &LHS, 64 DenseMapInfo<StringRef>::isEqual(LHS.val(), RHS.val()); 162 assert(!isEqual(S, getEmptyKey()) && "Cannot hash the empty key!"); 163 assert(!isEqual(S, getTombstoneKey()) && "Cannot hash the tombstone key!"); 166 static bool isEqual(const CachedHashString &LHS,
|
D | DenseMap.h | 129 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) { in clear() 130 if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) { in clear() 365 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && in destroyAll() 366 !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) in destroyAll() 401 if (!KeyInfoT::isEqual(B->getFirst(), EmptyKey) && in moveFromOldBuckets() 402 !KeyInfoT::isEqual(B->getFirst(), TombstoneKey)) { in moveFromOldBuckets() 436 if (!KeyInfoT::isEqual(getBuckets()[i].getFirst(), getEmptyKey()) && in copyFrom() 437 !KeyInfoT::isEqual(getBuckets()[i].getFirst(), getTombstoneKey())) in copyFrom() 596 if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey)) in InsertIntoBucketImpl() 621 assert(!KeyInfoT::isEqual(Val, EmptyKey) && in LookupBucketFor() [all …]
|
/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() 307 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && in destroyAll() 308 !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) in destroyAll() 343 if (!KeyInfoT::isEqual(B->getFirst(), EmptyKey) && in moveFromOldBuckets() 344 !KeyInfoT::isEqual(B->getFirst(), TombstoneKey)) { in moveFromOldBuckets() 377 if (!KeyInfoT::isEqual(getBuckets()[i].getFirst(), getEmptyKey()) && in copyFrom() 378 !KeyInfoT::isEqual(getBuckets()[i].getFirst(), getTombstoneKey())) in copyFrom() 500 if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey)) in InsertIntoBucketImpl() 525 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/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/llvm-project/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/llvm-project/mlir/lib/Support/ |
D | StorageUniquer.cpp | 36 function_ref<bool(const BaseStorage *)> isEqual; member 63 static bool isEqual(const HashedStorage &lhs, const HashedStorage &rhs) { in isEqual() function 66 static bool isEqual(const LookupKey &lhs, const HashedStorage &rhs) { in isEqual() function 67 if (isEqual(rhs, getEmptyKey()) || isEqual(rhs, getTombstoneKey())) in isEqual() 70 return lhs.isEqual(rhs.storage); in isEqual() 123 function_ref<bool(const BaseStorage *)> isEqual, in getOrCreate() argument 126 ParametricStorageUniquer::LookupKey lookupKey{hashValue, isEqual}; in getOrCreate() 215 function_ref<bool(const BaseStorage *)> isEqual, 217 ParametricStorageUniquer::LookupKey lookupKey{hashValue, isEqual}; 252 function_ref<bool(const BaseStorage *)> isEqual, in getOrCreate() [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/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | objc-missing-hash.m | 11 - (BOOL)isEqual:(id)object; 18 // CHECK-MESSAGES: :[[@LINE-1]]:17: warning: 'MissingHash' implements -isEqual: without implementin… 20 - (BOOL)isEqual:(id)object { 35 - (BOOL)isEqual:(id)object { 49 - (BOOL)isEqual:(id)object { 63 - (BOOL)isEqual:(id)object {
|
/external/llvm-project/llvm/unittests/ADT/ |
D | ImmutableListTest.cpp | 41 EXPECT_TRUE(f.getEmptyList().isEqual(f.getEmptyList())); in TEST_F() 61 EXPECT_FALSE(L.isEqual(L2)); in TEST_F() 62 EXPECT_TRUE(L.isEqual(L2.getTail())); in TEST_F() 121 EXPECT_TRUE(L.isEqual(L2.getTail())); in TEST_F() 122 EXPECT_TRUE(L2.getTail().isEqual(L)); in TEST_F() 166 EXPECT_TRUE(L3.getTail().getTail().getTail().isEqual(L2)); in TEST_F() 167 EXPECT_TRUE(L2.isEqual(L3.getTail().getTail().getTail())); in TEST_F() 175 EXPECT_TRUE(L4.isEqual(L4)); in TEST_F() 176 EXPECT_TRUE(L4.isEqual(L5)); in TEST_F() 178 EXPECT_TRUE(L5.isEqual(L4)); in TEST_F() [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/llvm-project/libcxx/test/support/ |
D | test_comparisons.h | 26 TEST_CONSTEXPR_CXX14 bool testComparisons6(const T& t1, const U& t2, bool isEqual, bool isLess) in testComparisons6() argument 28 if (isEqual) in testComparisons6() 81 const bool isEqual = val1 == val2; in testComparisons6Values() local 84 return testComparisons6(T(val1), T(val2), isEqual, isLess); in testComparisons6Values() 123 TEST_CONSTEXPR_CXX14 bool testComparisons2(const T& t1, const U& t2, bool isEqual) in testComparisons2() argument 125 if (isEqual) in testComparisons2() 147 const bool isEqual = val1 == val2; in testComparisons2Values() local 149 return testComparisons2(T(val1), T(val2), isEqual); in testComparisons2Values()
|
/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/llvm-project/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/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/angle/src/tests/test_utils/ |
D | ConstantFoldingTest.h | 57 if (!isEqual(node->getConstantValue()[i], mConstantVector[i])) in visitConstantUnion() 73 bool isEqual(const TConstantUnion &node, const float &value) const in isEqual() function 95 bool isEqual(const TConstantUnion &node, const int &value) const in isEqual() function 108 bool isEqual(const TConstantUnion &node, const unsigned int &value) const in isEqual() function 120 bool isEqual(const TConstantUnion &node, const bool &value) const in isEqual() function
|
/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
|