Home
last modified time | relevance | path

Searched refs:isSame (Results 1 – 16 of 16) sorted by relevance

/external/clang/unittests/AST/
DASTTypeTraitsTest.cpp22 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/clang/include/clang/AST/
DASTTypeTraits.h65 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/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
DChromosome.java75 protected boolean isSame(Chromosome another) { in isSame() method in Chromosome
91 if (this.isSame(anotherChr)) in findSameChromosome()
DBinaryChromosome.java76 protected boolean isSame(Chromosome another) { in isSame() method in BinaryChromosome
DRandomKey.java149 protected boolean isSame(Chromosome another) { in isSame() method in RandomKey
/external/clang/lib/Frontend/
DInitHeaderSearch.cpp539 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/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp223 if (From.isSame(TypeKind) && To.isSame(QualKind)) return true; in canConvertTo()
/external/icu/icu4c/source/test/intltest/
Dtransrt.cpp372 static UBool isSame(const UnicodeString& a, const UnicodeString& b);
429 UBool RTTest::isSame(const UnicodeString& a, const UnicodeString& b) { in isSame() function in RTTest
790 if (isSame(srcStr, reverse) == FALSE && in test2()
863 if (isSame(srcStr, reverse) == FALSE && in test2()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DRoundTripTest.java1126 public static boolean isSame(String a, String b) { in isSame() method in RoundTripTest.TransliterationTest
1523 if (!isSame(cs, reverse) && !roundtripExclusions.contains(c)
1592 if (!isSame(cs, reverse) /*&& !failRound.contains(c) && !failRound.contains(d)*/
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DRoundTripTest.java1125 public static boolean isSame(String a, String b) { in isSame() method in RoundTripTest.TransliterationTest
1522 if (!isSame(cs, reverse) && !roundtripExclusions.contains(c)
1591 if (!isSame(cs, reverse) /*&& !failRound.contains(c) && !failRound.contains(d)*/
/external/clang/lib/ASTMatchers/Dynamic/
DVariantValue.cpp55 IsExactMatch = Matcher.getSupportedKind().isSame(NodeKind); in canConstructFrom()
DMarshallers.h405 if (Kind.isSame(DerivedKind) || !Kind.isBaseOf(DerivedKind)) {
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DFormatHandler.java2215 boolean isSame = true; in hasSameBehavior()
2220 isSame = false; in hasSameBehavior()
2224 return isSame; in hasSameBehavior()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DFormatHandler.java2214 boolean isSame = true; in hasSameBehavior()
2219 isSame = false; in hasSameBehavior()
2223 return isSame; in hasSameBehavior()
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h482 assert(Implementation.getSupportedKind().isSame(
558 .isSame(ast_type_traits::ASTNodeKind::getFromNodeKind<T>())); in Matcher()
579 if (SourceKind.isSame(
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp449 bool isSame(ArrayRef<Value *> VL) const { in isSame() function
2171 if (En->isSame(VL) && En->VectorizedValue) in alreadyVectorized()
2181 if (E->isSame(VL)) in vectorizeTree()