/external/clang/unittests/AST/ |
D | ASTTypeTraitsTest.cpp | 22 EXPECT_FALSE(ASTNodeKind().isSame(ASTNodeKind())); in TEST() 37 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>())); in TEST() 40 EXPECT_TRUE(DNT<Decl>().isSame(DNT<Decl>())); in TEST() 66 EXPECT_FALSE(DNT<Type>().isSame(DNT<QualType>())); in TEST() 70 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 72 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 74 EXPECT_TRUE(DNT<VarDecl>().isSame( in TEST() 85 EXPECT_TRUE(DNT<Expr>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() 87 EXPECT_TRUE(DNT<Expr>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() 89 EXPECT_TRUE(DNT<VarDecl>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() [all …]
|
/external/llvm-project/clang/unittests/AST/ |
D | ASTTypeTraitsTest.cpp | 21 EXPECT_FALSE(ASTNodeKind().isSame(ASTNodeKind())); in TEST() 36 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>())); in TEST() 39 EXPECT_TRUE(DNT<Decl>().isSame(DNT<Decl>())); in TEST() 65 EXPECT_FALSE(DNT<Type>().isSame(DNT<QualType>())); in TEST() 69 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 71 EXPECT_TRUE(DNT<BinaryOperator>().isSame( in TEST() 73 EXPECT_TRUE(DNT<VarDecl>().isSame( in TEST() 84 EXPECT_TRUE(DNT<Expr>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() 86 EXPECT_TRUE(DNT<Expr>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() 88 EXPECT_TRUE(DNT<VarDecl>().isSame(ASTNodeKind::getMostDerivedCommonAncestor( in TEST() [all …]
|
/external/clang/include/clang/AST/ |
D | ASTTypeTraits.h | 65 bool isSame(ASTNodeKind Other) const { in isSame() function 273 if (!NodeKind.isSame(Other.NodeKind)) 276 if (ASTNodeKind::getFromNodeKind<QualType>().isSame(NodeKind)) 280 if (ASTNodeKind::getFromNodeKind<TypeLoc>().isSame(NodeKind)) { 289 if (ASTNodeKind::getFromNodeKind<NestedNameSpecifierLoc>().isSame( 305 if (!NodeKind.isSame(Other.NodeKind)) 309 if (ASTNodeKind::getFromNodeKind<QualType>().isSame(NodeKind)) 312 if (ASTNodeKind::getFromNodeKind<TypeLoc>().isSame(NodeKind)) 315 if (ASTNodeKind::getFromNodeKind<NestedNameSpecifierLoc>().isSame(NodeKind)) 341 if (ASTNodeKind::getFromNodeKind<TypeLoc>().isSame(Val.NodeKind)) { [all …]
|
/external/llvm-project/clang/include/clang/AST/ |
D | ASTTypeTraits.h | 72 bool isSame(ASTNodeKind Other) const { in isSame() function 291 if (!NodeKind.isSame(Other.NodeKind)) 294 if (ASTNodeKind::getFromNodeKind<QualType>().isSame(NodeKind)) 298 if (ASTNodeKind::getFromNodeKind<TypeLoc>().isSame(NodeKind)) { 307 if (ASTNodeKind::getFromNodeKind<NestedNameSpecifierLoc>().isSame( 323 if (!NodeKind.isSame(Other.NodeKind)) 327 if (ASTNodeKind::getFromNodeKind<QualType>().isSame(NodeKind)) 330 if (ASTNodeKind::getFromNodeKind<TypeLoc>().isSame(NodeKind)) 333 if (ASTNodeKind::getFromNodeKind<NestedNameSpecifierLoc>().isSame(NodeKind)) 359 if (ASTNodeKind::getFromNodeKind<TypeLoc>().isSame(Val.NodeKind)) { [all …]
|
/external/skqp/fuzz/ |
D | FuzzPathop.cpp | 49 bool isSame; in DEF_FUZZ() local 50 fuzz->next(&isSame); in DEF_FUZZ() 51 if (isSame) { in DEF_FUZZ() 91 bool isSame; in DEF_FUZZ() local 92 fuzz->next(&isSame); in DEF_FUZZ() 93 if (isSame) { in DEF_FUZZ()
|
/external/skia/fuzz/ |
D | FuzzPathop.cpp | 49 bool isSame; in DEF_FUZZ() local 50 fuzz->next(&isSame); in DEF_FUZZ() 51 if (isSame) { in DEF_FUZZ() 91 bool isSame; in DEF_FUZZ() local 92 fuzz->next(&isSame); in DEF_FUZZ() 93 if (isSame) { in DEF_FUZZ()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/linearizability/ |
D | LockFreeListLCStressTest.kt | 29 q.addLastIfPrev(Node(value)) { !it.isSame(value) } in addLastIfNotSame() 40 val node = q.removeFirstIfIsInstanceOfOrPeekIf<Node> { !it.isSame(value) } ?: return null in removeFirstOrPeekIfNotSame() 44 private fun Any.isSame(value: Int) = this is Node && this.value == value in isSame() method in kotlinx.coroutines.linearizability.LockFreeListLCStressTest
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/ |
D | Chromosome.java | 75 protected boolean isSame(Chromosome another) { in isSame() method in Chromosome 91 if (this.isSame(anotherChr)) in findSameChromosome()
|
D | BinaryChromosome.java | 76 protected boolean isSame(Chromosome another) { in isSame() method in BinaryChromosome
|
D | RandomKey.java | 149 protected boolean isSame(Chromosome another) { in isSame() method in RandomKey
|
/external/llvm-project/clang/lib/Frontend/ |
D | InitHeaderSearch.cpp | 515 bool isSame; in RemoveDuplicates() local 517 isSame = SearchEntry.getDir() == CurEntry.getDir(); in RemoveDuplicates() 519 isSame = SearchEntry.getFrameworkDir() == CurEntry.getFrameworkDir(); in RemoveDuplicates() 522 isSame = SearchEntry.getHeaderMap() == CurEntry.getHeaderMap(); in RemoveDuplicates() 525 if (isSame) in RemoveDuplicates()
|
/external/clang/lib/Frontend/ |
D | InitHeaderSearch.cpp | 539 bool isSame; in RemoveDuplicates() local 541 isSame = SearchEntry.getDir() == CurEntry.getDir(); in RemoveDuplicates() 543 isSame = SearchEntry.getFrameworkDir() == CurEntry.getFrameworkDir(); in RemoveDuplicates() 546 isSame = SearchEntry.getHeaderMap() == CurEntry.getHeaderMap(); in RemoveDuplicates() 549 if (isSame) in RemoveDuplicates()
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/filter/ |
D | FinallyFilter.java | 159 if (!isSame(size, e, n)) { in merge() 179 private static boolean isSame(final int size, AbstractInsnNode e, in isSame() method in FinallyFilter
|
/external/llvm-project/clang/include/clang/Tooling/ASTDiff/ |
D | ASTDiff.h | 119 return N1.getType().isSame(N2.getType()); in isMatchingAllowed()
|
/external/clang/lib/ASTMatchers/ |
D | ASTMatchersInternal.cpp | 223 if (From.isSame(TypeKind) && To.isSame(QualKind)) return true; in canConvertTo()
|
/external/icu/icu4c/source/test/intltest/ |
D | transrt.cpp | 373 static UBool isSame(const UnicodeString& a, const UnicodeString& b); 430 UBool RTTest::isSame(const UnicodeString& a, const UnicodeString& b) { in isSame() function in RTTest 791 if (isSame(srcStr, reverse) == FALSE && in test2() 864 if (isSame(srcStr, reverse) == FALSE && in test2()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
D | RoundTripTest.java | 1138 public static boolean isSame(String a, String b) { in isSame() method in RoundTripTest.TransliterationTest 1535 if (!isSame(cs, reverse) && !roundtripExclusions.contains(c) 1604 if (!isSame(cs, reverse) /*&& !failRound.contains(c) && !failRound.contains(d)*/
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | VariantValue.cpp | 55 IsExactMatch = Matcher.getSupportedKind().isSame(NodeKind); in canConstructFrom()
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
D | RoundTripTest.java | 1135 public static boolean isSame(String a, String b) { in isSame() method in RoundTripTest.TransliterationTest 1532 if (!isSame(cs, reverse) && !roundtripExclusions.contains(c) 1601 if (!isSame(cs, reverse) /*&& !failRound.contains(c) && !failRound.contains(d)*/
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | FormatHandler.java | 2297 boolean isSame = true; in hasSameBehavior() 2302 isSame = false; in hasSameBehavior() 2306 return isSame; in hasSameBehavior()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
D | FormatHandler.java | 2300 boolean isSame = true; in hasSameBehavior() 2305 isSame = false; in hasSameBehavior() 2309 return isSame; in hasSameBehavior()
|
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
D | VariantValue.cpp | 58 IsExactMatch = Matcher.getSupportedKind().isSame(NodeKind); in canConstructFrom()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchersInternal.h | 482 assert(Implementation.getSupportedKind().isSame( 558 .isSame(ast_type_traits::ASTNodeKind::getFromNodeKind<T>())); in Matcher() 579 if (SourceKind.isSame(
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchersInternal.h | 528 assert(Implementation.getSupportedKind().isSame( 608 assert(this->Implementation.getSupportedKind().isSame( in Matcher() 753 if (SourceKind.isSame(ASTNodeKind::getFromNodeKind<Type>())) {
|
/external/llvm-project/clang/lib/ASTMatchers/ |
D | ASTMatchersInternal.cpp | 349 if (From.isSame(TypeKind) && To.isSame(QualKind)) return true; in canConvertTo()
|