/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/ |
D | BasicPolymorphicTypeValidator.java | 40 public abstract static class TypeMatcher { // note: public since 2.11 class in BasicPolymorphicTypeValidator 77 protected List<TypeMatcher> _baseTypeMatchers; 87 protected List<TypeMatcher> _subTypeClassMatchers; 105 return _appendBaseMatcher(new TypeMatcher() { in allowIfBaseType() 131 return _appendBaseMatcher(new TypeMatcher() { in allowIfBaseType() 151 return _appendBaseMatcher(new TypeMatcher() { 170 public Builder allowIfBaseType(final TypeMatcher matcher) { 208 return _appendSubClassMatcher(new TypeMatcher() { 272 public Builder allowIfSubType(final TypeMatcher matcher) { 291 return _appendSubClassMatcher(new TypeMatcher() { [all …]
|
/external/llvm-project/lldb/unittests/DataFormatter/ |
D | FormattersContainerTest.cpp | 27 TypeMatcher matcher(ConstString(prefix + "Name")); in TEST() 48 TypeMatcher matcher(RegularExpression("^a[a-z]c$")); in TEST() 69 TypeMatcher matcher(RegularExpression("a[a-z]c")); in TEST() 89 EXPECT_EQ(TypeMatcher(ConstString("aa")).GetMatchString(), "aa"); in TEST() 90 EXPECT_EQ(TypeMatcher(ConstString("")).GetMatchString(), ""); in TEST() 91 EXPECT_EQ(TypeMatcher(ConstString("[a]")).GetMatchString(), "[a]"); in TEST() 96 EXPECT_EQ(TypeMatcher(RegularExpression("aa")).GetMatchString(), "aa"); in TEST() 97 EXPECT_EQ(TypeMatcher(RegularExpression("")).GetMatchString(), ""); in TEST() 98 EXPECT_EQ(TypeMatcher(RegularExpression("[a]")).GetMatchString(), "[a]"); in TEST() 103 TypeMatcher empty_str(ConstString("")); in TEST() [all …]
|
/external/llvm-project/lldb/include/lldb/DataFormatters/ |
D | FormattersContainer.h | 41 class TypeMatcher { 71 TypeMatcher() = delete; 73 TypeMatcher(ConstString type_name) in TypeMatcher() function 76 TypeMatcher(RegularExpression regex) in TypeMatcher() function 102 bool CreatedBySameMatchString(TypeMatcher other) const { in CreatedBySameMatchString() 110 typedef std::vector<std::pair<TypeMatcher, ValueSP>> MapType; 111 typedef std::function<bool(const TypeMatcher &, const ValueSP &)> 120 void Add(TypeMatcher matcher, const ValueSP &entry) { in Add() 133 bool Delete(TypeMatcher matcher) { in Delete() 156 bool GetExact(TypeMatcher matcher, ValueSP &entry) { in GetExact() [all …]
|
D | DataVisualization.h | 72 static void ForEach(std::function<bool(const TypeMatcher &,
|
D | TypeCategory.h | 31 typedef TypeMatcher ExactMatchMap; 32 typedef TypeMatcher RegexMatchMap;
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/vld/ |
D | CustomPTVMatchersTest.java | 51 .allowIfBaseType(new BasicPolymorphicTypeValidator.TypeMatcher() { in testCustomBaseMatchers() 83 .allowIfSubType(new BasicPolymorphicTypeValidator.TypeMatcher() { in testCustomSubtypeMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | ForwardingReferenceOverloadCheck.cpp | 56 clang::ast_matchers::internal::Matcher<QualType>, TypeMatcher) { in AST_MATCHER_P() argument 58 TypeMatcher.matches(Node.getDefaultArgument(), Finder, Builder); in AST_MATCHER_P()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | PassByValueCheck.cpp | 49 static TypeMatcher notTemplateSpecConstRefType() { in notTemplateSpecConstRefType() 54 static TypeMatcher nonConstValueType() { in nonConstValueType()
|
D | UseAutoCheck.cpp | 176 TypeMatcher typedefIterator() { in typedefIterator() 182 TypeMatcher nestedIterator() { in nestedIterator() 188 TypeMatcher iteratorFromUsingDeclaration() { in iteratorFromUsingDeclaration()
|
D | LoopConvertCheck.cpp | 74 static const TypeMatcher AnyType() { return anything(); } in AnyType() 280 TypeMatcher RecordWithBeginEnd = qualType(anyOf( in makePseudoArrayLoopMatcher()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchFinder.h | 151 void addMatcher(const TypeMatcher &NodeMatch, 205 std::vector<std::pair<TypeMatcher, MatchCallback *>> Type;
|
D | ASTMatchersMacros.h | 379 template <typename T> struct TypeMatcher##MatcherName##Getter { \ 385 ::clang::ast_matchers::internal::TypeMatcher##MatcherName##Getter, \
|
D | ASTMatchers.h | 125 typedef internal::Matcher<QualType> TypeMatcher; typedef
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchersMacros.h | 367 template <typename T> struct TypeMatcher##MatcherName##Getter { \ 374 ::clang::ast_matchers::internal::TypeMatcher##MatcherName##Getter, \ 381 ::clang::ast_matchers::internal::TypeMatcher##MatcherName##Getter, \ 394 template <typename T> struct TypeMatcher##MatcherName##Getter { \ 400 ::clang::ast_matchers::internal::TypeMatcher##MatcherName##Getter, \
|
D | ASTMatchFinder.h | 150 void addMatcher(const TypeMatcher &NodeMatch, 207 std::vector<std::pair<TypeMatcher, MatchCallback *>> Type;
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | Matchers.h | 41 AST_MATCHER_FUNCTION(ast_matchers::TypeMatcher, isReferenceToConst) { in AST_MATCHER_FUNCTION() argument
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTraversalTest.cpp | 147 TEST(TypeMatcher, MatchesClassType) { in TEST() argument 148 TypeMatcher TypeA = hasDeclaration(recordDecl(hasName("A"))); in TEST() 153 TypeMatcher TypeDerivedFromA = in TEST() 160 TypeMatcher TypeAHasClassB = hasDeclaration( in TEST() 170 TEST(TypeMatcher, MatchesDeclTypes) { in TEST() argument 245 TypeMatcher ClassX = hasDeclaration(recordDecl(hasName("X"))); in TEST() 257 TypeMatcher ClassX = hasDeclaration(recordDecl(hasName("X"))); in TEST() 1066 pointsTo(TypeMatcher(anything())))))); in TEST() 1077 pointsTo(TypeMatcher(anything())))))); in TEST()
|
D | ASTMatchersNarrowingTest.cpp | 555 TypeMatcher TypeAHasClassB = hasDeclaration( in TEST() 1297 const TypeMatcher AnyType = anything(); in TEST() 1310 expr(hasType(TypeMatcher( in TEST() 1312 TypeMatcher(hasDeclaration(anything())), in TEST()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersTraversalTest.cpp | 146 TEST(TypeMatcher, MatchesClassType) { in TEST() argument 147 TypeMatcher TypeA = hasDeclaration(recordDecl(hasName("A"))); in TEST() 152 TypeMatcher TypeDerivedFromA = in TEST() 159 TypeMatcher TypeAHasClassB = hasDeclaration( in TEST() 169 TEST(TypeMatcher, MatchesDeclTypes) { in TEST() argument 301 TypeMatcher ClassX = hasDeclaration(recordDecl(hasName("X"))); in TEST() 313 TypeMatcher ClassX = hasDeclaration(recordDecl(hasName("X"))); in TEST() 747 TypeMatcher IntType = qualType(isInteger()).bind("type"); in TEST() 760 TypeMatcher IntType = qualType(isInteger()).bind("type"); in TEST() 789 TypeMatcher IntType = qualType(isInteger()).bind("type"); in TEST() [all …]
|
D | ASTMatchersNarrowingTest.cpp | 862 TypeMatcher TypeAHasClassB = hasDeclaration( in TEST_P() 2119 const TypeMatcher AnyType = anything(); in TEST_P() 2132 expr(hasType(TypeMatcher(anyOf(TypeMatcher(hasDeclaration(anything())), in TEST_P()
|
/external/llvm-project/lldb/source/DataFormatters/ |
D | DataVisualization.cpp | 189 std::function<bool(const TypeMatcher &, const lldb::TypeSummaryImplSP &)> in ForEach() argument
|
/external/llvm-project/clang/unittests/Tooling/ |
D | TransformerTest.cpp | 62 isOrPointsTo(const clang::ast_matchers::DeclarationMatcher &TypeMatcher) { in isOrPointsTo() argument 63 return anyOf(hasDeclaration(TypeMatcher), pointsTo(TypeMatcher)); in isOrPointsTo()
|
/external/llvm-project/lldb/source/Commands/ |
D | CommandObjectType.cpp | 1105 const TypeMatcher &type_matcher, in DoExecute() 1130 const TypeMatcher &type_matcher, in DoExecute() 1725 [&result](const TypeMatcher &type_matcher, in FormatterSpecificList()
|
/external/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 907 void MatchFinder::addMatcher(const TypeMatcher &NodeMatch, in addMatcher()
|
/external/llvm-project/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 1208 void MatchFinder::addMatcher(const TypeMatcher &NodeMatch, in addMatcher()
|