Home
last modified time | relevance | path

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

12345678910>>...15

/external/llvm/include/llvm/ADT/
DDenseMapInfo.h53 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 …]
DDenseMap.h107 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-7.0/llvm/include/llvm/ADT/
DDenseMapInfo.h56 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 short &LHS, const unsigned short &RHS) {
87 static bool isEqual(const unsigned& LHS, const unsigned& RHS) {
101 static bool isEqual(const unsigned long& LHS, const unsigned long& RHS) {
115 static bool isEqual(const unsigned long long& LHS,
126 static bool isEqual(const short &LHS, const short &RHS) { return LHS == RHS; }
135 static bool isEqual(const int& LHS, const int& RHS) {
152 static bool isEqual(const long& LHS, const long& RHS) {
166 static bool isEqual(const long long& LHS,
[all …]
DCachedHashString.h59 assert(!isEqual(S, getEmptyKey()) && "Cannot hash the empty key!");
60 assert(!isEqual(S, getTombstoneKey()) && "Cannot hash the tombstone key!");
63 static bool isEqual(const CachedHashStringRef &LHS,
66 DenseMapInfo<StringRef>::isEqual(LHS.val(), RHS.val());
164 assert(!isEqual(S, getEmptyKey()) && "Cannot hash the empty key!");
165 assert(!isEqual(S, getTombstoneKey()) && "Cannot hash the tombstone key!");
168 static bool isEqual(const CachedHashString &LHS,
DDenseMap.h126 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) { in clear()
127 if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) { in clear()
332 if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && in destroyAll()
333 !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) in destroyAll()
368 if (!KeyInfoT::isEqual(B->getFirst(), EmptyKey) && in moveFromOldBuckets()
369 !KeyInfoT::isEqual(B->getFirst(), TombstoneKey)) { in moveFromOldBuckets()
402 if (!KeyInfoT::isEqual(getBuckets()[i].getFirst(), getEmptyKey()) && in copyFrom()
403 !KeyInfoT::isEqual(getBuckets()[i].getFirst(), getTombstoneKey())) in copyFrom()
562 if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey)) in InsertIntoBucketImpl()
587 assert(!KeyInfoT::isEqual(Val, EmptyKey) && in LookupBucketFor()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DDenseMapInfo.h47 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
55 static bool isEqual(const char &LHS, const char &RHS) {
65 static bool isEqual(const unsigned& LHS, const unsigned& RHS) {
77 static bool isEqual(const unsigned long& LHS, const unsigned long& RHS) {
89 static bool isEqual(const unsigned long long& LHS,
100 static bool isEqual(const int& LHS, const int& RHS) {
114 static bool isEqual(const long& LHS, const long& RHS) {
126 static bool isEqual(const long long& LHS,
160 static bool isEqual(const Pair &LHS, const Pair &RHS) {
161 return FirstInfo::isEqual(LHS.first, RHS.first) &&
[all …]
DDenseMap.h69 if (!KeyInfoT::isEqual(P->first, EmptyKey) && in ~DenseMap()
70 !KeyInfoT::isEqual(P->first, TombstoneKey)) in ~DenseMap()
119 if (!KeyInfoT::isEqual(P->first, EmptyKey)) { in clear()
120 if (!KeyInfoT::isEqual(P->first, TombstoneKey)) { in clear()
243 if (!KeyInfoT::isEqual(P->first, EmptyKey) && in CopyFrom()
244 !KeyInfoT::isEqual(P->first, TombstoneKey)) in CopyFrom()
274 if (!KeyInfoT::isEqual(Buckets[i].first, getEmptyKey()) && in CopyFrom()
275 !KeyInfoT::isEqual(Buckets[i].first, getTombstoneKey())) in CopyFrom()
302 if (!KeyInfoT::isEqual(TheBucket->first, getEmptyKey())) in InsertIntoBucket()
338 assert(!KeyInfoT::isEqual(Val, EmptyKey) && in LookupBucketFor()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DDenseMapInfo.h50 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 …]
DDenseMap.h108 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/
DArchiveUtilsTest.java44 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/
Dobjc-literal-comparison.m18 - (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/
DArchiveUtils.java81 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/libcxx/test/support/
Dtest_comparisons.h27 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/PBQP/
DCostAllocator.h71 static bool isEqual(const ValueKeyT1 &C1, const ValueKeyT2 &C2) { in isEqual() function
76 static bool isEqual(const ValueKeyT &C, PoolEntry *P) { in isEqual() function
79 return isEqual(C, P->getValue()); in isEqual()
82 static bool isEqual(PoolEntry *P1, PoolEntry *P2) { in isEqual() function
85 return isEqual(P1->getValue(), P2); in isEqual()
/external/llvm/include/llvm/CodeGen/PBQP/
DCostAllocator.h70 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/deqp/external/openglcts/modules/common/
DglcTextureRepeatModeTests.cpp514 bool isEqual(const GLubyte* color1, const GLubyte* color2, GLubyte tolerance) const;
576 bool TestClampModeForInternalFormat::isEqual(const GLubyte* color1, const GLubyte* color2, GLubyte … in isEqual() function in glcts::TestClampModeForInternalFormat
777 if (!isEqual(buf, red, epsilons[0])) in verifyClampToEdge()
790 if (!isEqual(buf, green, epsilons[1])) in verifyClampToEdge()
806 if (!isEqual(buf, blue, epsilons[2])) in verifyClampToEdge()
819 if (!isEqual(buf, white, epsilons[0])) in verifyClampToEdge()
872 if (!isEqual(buf, red, tolerance)) in verifyRepeat()
879 if (!isEqual(buf, green, tolerance)) in verifyRepeat()
892 if (!isEqual(buf, blue, tolerance)) in verifyRepeat()
899 if (!isEqual(buf, white, tolerance)) in verifyRepeat()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/pem/
DPemHeader.java47 … 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
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/io/pem/
DPemHeader.java51 … return other == this || (isEqual(this.name, other.name) && isEqual(this.value, other.value)); in equals()
64 private boolean isEqual(String s1, String s2) in isEqual() method in PemHeader
/external/cldr/tools/java/org/unicode/cldr/icu/
DLDMLComparator.java445 boolean isEqual = true; in printDifferentValues()
449 return isEqual; in printDifferentValues()
464 isEqual = true; in printDifferentValues()
467 isEqual = true; in printDifferentValues()
469 isEqual = false; in printDifferentValues()
473 isEqual = false; in printDifferentValues()
480 if (isEqual == false) { in printDifferentValues()
500 return isEqual; in printDifferentValues()
508 boolean isEqual = true; in printDifferentValuesWithRef()
512 return isEqual; in printDifferentValuesWithRef()
[all …]
/external/clang/test/FixIt/
Dfixit-nsstring-compare.m7 - (BOOL)isEqual:(id)object;
21 // CHECK: {16:28-16:30}:" isEqual:"
/external/clang/include/clang/AST/
DASTTypeTraits.h106 static bool isEqual(const ASTNodeKind &LHS, const ASTNodeKind &RHS) { in isEqual() function
357 static bool isEqual(const DynTypedNode &LHS, const DynTypedNode &RHS) {
360 return (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, Empty) &&
361 ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, Empty)) ||
362 (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, TombStone) &&
363 ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, TombStone)) ||
DTypeOrdering.h53 static bool isEqual(clang::QualType LHS, clang::QualType RHS) {
73 static bool isEqual(clang::CanQualType LHS, clang::CanQualType RHS) {
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DWasmTraits.h38 static bool isEqual(const wasm::WasmSignature &LHS,
55 static bool isEqual(const wasm::WasmGlobalType &LHS,
/external/llvm/unittests/ADT/
DDenseSetTest.cpp37 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { in isEqual() function
40 static bool isEqual(const char* LHS, const unsigned& RHS) { in isEqual() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DAttributes.td212 def : CompatRule<"isEqual<SanitizeAddressAttr>">;
213 def : CompatRule<"isEqual<SanitizeThreadAttr>">;
214 def : CompatRule<"isEqual<SanitizeMemoryAttr>">;
215 def : CompatRule<"isEqual<SanitizeHWAddressAttr>">;
216 def : CompatRule<"isEqual<SafeStackAttr>">;
217 def : CompatRule<"isEqual<ShadowCallStackAttr>">;

12345678910>>...15