Home
last modified time | relevance | path

Searched defs:Matcher (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-src/contrib/googletest/googletest/src/
H A Dgtest-matchers.cc46 Matcher<const std::string&>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string
50 Matcher<const std::string&>::Matcher(const char* s) { in Matcher() function in testing::Matcher::string
56 Matcher<std::string>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string
60 Matcher<std::string>::Matcher(const char* s) { *this = Eq(std::string(s)); } in Matcher() function in testing::Matcher::string
65 Matcher<const internal::StringView&>::Matcher(const std::string& s) { in Matcher() function in testing::Matcher::StringView
71 Matcher<const internal::StringView&>::Matcher(const char* s) { in Matcher() function in testing::Matcher::StringView
77 Matcher<const internal::StringView&>::Matcher(internal::StringView s) { in Matcher() function in testing::Matcher::StringView
83 Matcher<internal::StringView>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::StringView
87 Matcher<internal::StringView>::Matcher(const char* s) { in Matcher() function in testing::Matcher::StringView
93 Matcher<internal::StringView>::Matcher(internal::StringView s) { in Matcher() function in testing::Matcher::StringView
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Testing/Support/
H A DError.h34 explicit ValueMatchesMono(const testing::Matcher<T> &Matcher) in ValueMatchesMono()
71 explicit ValueMatchesPoly(const M &Matcher) : Matcher(Matcher) {} in ValueMatchesPoly()
86 explicit ErrorMatchesMono(std::optional<testing::Matcher<InfoT &>> Matcher) in ErrorMatchesMono()
135 testing::Matcher<std::vector<std::string>> Matcher) in ErrorMessageMatches()
163 #define EXPECT_THAT_ERROR(Err, Matcher) \ argument
165 #define ASSERT_THAT_ERROR(Err, Matcher) \ argument
189 #define EXPECT_THAT_EXPECTED(Err, Matcher) \ argument
191 #define ASSERT_THAT_EXPECTED(Err, Matcher) \ argument
203 testing::Matcher<const detail::ErrorHolder &> Failed(M Matcher) { in Failed()
209 testing::Matcher<const detail::ErrorHolder &> FailedWithMessage(M... Matcher) { in FailedWithMessage()
[all …]
/freebsd-src/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h302 SmallVector<BoundNodes, 1> match(MatcherT Matcher, const DynTypedNode &Node, in match()
313 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context) { in match()
319 match(MatcherT Matcher, ASTContext &Context) { in match()
328 matchDynamic(internal::DynTypedMatcher Matcher, const DynTypedNode &Node, in matchDynamic()
338 SmallVector<BoundNodes, 1> matchDynamic(internal::DynTypedMatcher Matcher, in matchDynamic()
345 matchDynamic(internal::DynTypedMatcher Matcher, ASTContext &Context) { in matchDynamic()
/freebsd-src/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DVariantValue.cpp59 VariantMatcher::MatcherOps::canConstructFrom(const DynTypedMatcher &Matcher, in canConstructFrom()
93 SinglePayload(const DynTypedMatcher &Matcher) : Matcher(Matcher) {} in SinglePayload()
118 const DynTypedMatcher Matcher; member in clang::ast_matchers::dynamic::VariantMatcher::SinglePayload
171 for (const DynTypedMatcher &Matcher : Matchers) { in isConvertibleTo() local
213 for (const VariantMatcher &Matcher : Args) { in isConvertibleTo() local
227 VariantMatcher VariantMatcher::SingleMatcher(const DynTypedMatcher &Matcher) { in SingleMatcher()
279 VariantValue::VariantValue(const VariantMatcher &Matcher) : Type(VT_Nothing) { in VariantValue()
H A DRegistry.cpp700 const MatcherDescriptor& Matcher = *M.getValue(); getMatcherCompletions() local
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp131 StatementMatcher Matcher) { in gtestThatInternal()
201 StatementMatcher Matcher) { in gtestAssertThat()
206 StatementMatcher Matcher) { in gtestExpectThat()
H A DASTMatchFinder.cpp99 MatchChildASTVisitor(const DynTypedMatcher *Matcher, ASTMatchFinder *Finder, in MatchChildASTVisitor()
407 const DynTypedMatcher *const Matcher; member in clang::ast_matchers::internal::__anonbe2d60470111::MatchChildASTVisitor
597 const DynTypedMatcher &Matcher, in memoizedMatchesRecursively()
632 const DynTypedMatcher &Matcher, in matchesRecursively()
672 const DynTypedMatcher &Matcher, in matchesChildOf()
680 const DynTypedMatcher &Matcher, in matchesDescendantOf()
690 const DynTypedMatcher &Matcher, in matchesAncestorOf()
1121 bool matchesParentOf(const DynTypedNode &Node, const DynTypedMatcher &Matcher, in matchesParentOf()
1150 const DynTypedMatcher &Matcher, in matchesAnyAncestorOf()
1282 const Matcher<NamedDecl> &Matcher, in typeHasMatchingAlias()
[all …]
/freebsd-src/contrib/llvm-project/lld/include/lld/Common/
H A DStrings.h71 void addPattern(SingleStringMatcher Matcher) { patterns.push_back(Matcher); } in addPattern()
/freebsd-src/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DTransformer.cpp72 for (auto &Matcher : Impl->buildMatchers()) in registerMatchers() local
H A DRewriteRule.cpp275 for (auto &Matcher : transformer::detail::buildMatchers(Rule)) in registerMatchers() local
/freebsd-src/contrib/llvm-project/clang/include/clang/Tooling/
H A DRefactoringCallbacks.h59 void addMatcher(const T &Matcher, RefactoringCallback *Callback) { in addMatcher()
/freebsd-src/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp26 const auto IgnoreDerivedToBase = [](const Expr *E, auto Matcher) { in canExprResolveTo() argument
38 const auto EvalCommaExpr = [](const Expr *E, auto Matcher) { in canExprResolveTo() argument
159 findFirst(const ast_matchers::internal::Matcher< argument
[all...]
H A DUnsafeBufferUsage.cpp84 MatchDescendantVisitor(const internal::DynTypedMatcher * Matcher,internal::ASTMatchFinder * Finder,internal::BoundNodesTreeBuilder * Builder,internal::ASTMatchFinder::BindKind Bind,const bool ignoreUnevaluatedContext) MatchDescendantVisitor() argument
197 const internal::DynTypedMatcher *const Matcher; global() member in clang::ast_matchers::MatchDescendantVisitor
361 using Matcher = decltype(stmt()); global() typedef in __anon3540a3500311::Gadget
[all...]
/freebsd-src/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/
H A DVariantValue.h347 VariantMatcher *Matcher; member
/freebsd-src/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelMatchTable.cpp
H A DDAGISelMatcher.h
H A DDAGISelMatcherEmitter.cpp801 const EmitRegisterMatcher *Matcher = cast<EmitRegisterMatcher>(N); EmitMatcher() local
[all...]
H A DGlobalISelCombinerEmitter.cpp1597 const DagInit *Matcher = getDagWithSpecificOperator(Arg, "wip_match_opcode"); parseWipMatchOpcodeMatcher() local
2659 StringMatcher Matcher("RuleIdentifier", Cases, OS); emitRuleConfigImpl() local
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp32 const ast_matchers::internal::DynTypedMatcher &Matcher, in addDynamicMatcher()
/freebsd-src/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
H A DRewriteRule.h284 ast_matchers::internal::DynTypedMatcher Matcher; member
/freebsd-src/contrib/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h55 class Matcher; global() variable
/freebsd-src/contrib/llvm-project/llvm/include/llvm/ObjCopy/
H A DCommonConfig.h138 PosPatterns.push_back(std::move(*Matcher)); in addMatcher() argument
/freebsd-src/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheck.cpp1715 FindFirstMatchingPrefix(const FileCheckRequest & Req,PrefixMatcher & Matcher,StringRef & Buffer,unsigned & LineNumber,Check::FileCheckType & CheckTy) FindFirstMatchingPrefix() argument
1824 PrefixMatcher Matcher(Req.CheckPrefixes, Req.CommentPrefixes, Buffer); readCheckFile() local
/freebsd-src/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTraverse.h394 MatchComparator Matcher; in compareExprs() local
/freebsd-src/contrib/llvm-project/lld/ELF/
H A DScriptParser.cpp672 StringMatcher Matcher; readFilePatterns() local

12