Home
last modified time | relevance | path

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

12

/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/llvm-project/clang/unittests/AST/
DASTTypeTraitsTest.cpp21 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/
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/llvm-project/clang/include/clang/AST/
DASTTypeTraits.h72 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/
DFuzzPathop.cpp49 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/
DFuzzPathop.cpp49 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/
DLockFreeListLCStressTest.kt29 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/
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/llvm-project/clang/lib/Frontend/
DInitHeaderSearch.cpp515 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/
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/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/filter/
DFinallyFilter.java159 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/
DASTDiff.h119 return N1.getType().isSame(N2.getType()); in isMatchingAllowed()
/external/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp223 if (From.isSame(TypeKind) && To.isSame(QualKind)) return true; in canConvertTo()
/external/icu/icu4c/source/test/intltest/
Dtransrt.cpp373 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/
DRoundTripTest.java1138 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/
DVariantValue.cpp55 IsExactMatch = Matcher.getSupportedKind().isSame(NodeKind); in canConstructFrom()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DRoundTripTest.java1135 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/
DFormatHandler.java2297 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/
DFormatHandler.java2300 boolean isSame = true; in hasSameBehavior()
2305 isSame = false; in hasSameBehavior()
2309 return isSame; in hasSameBehavior()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DVariantValue.cpp58 IsExactMatch = Matcher.getSupportedKind().isSame(NodeKind); in canConstructFrom()
/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-project/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h528 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/
DASTMatchersInternal.cpp349 if (From.isSame(TypeKind) && To.isSame(QualKind)) return true; in canConvertTo()

12