Home
last modified time | relevance | path

Searched refs:Matches (Results 1 – 25 of 102) sorted by relevance

12345

/freebsd-11-stable/contrib/llvm-project/llvm/lib/TableGen/
HDStringMatcher.cpp29 StringMatcher::StringPair*> &Matches) { in FindFirstNonCommonLetter() argument
30 assert(!Matches.empty()); in FindFirstNonCommonLetter()
31 for (unsigned i = 0, e = Matches[0]->first.size(); i != e; ++i) { in FindFirstNonCommonLetter()
33 char Letter = Matches[0]->first[i]; in FindFirstNonCommonLetter()
35 for (unsigned str = 0, e = Matches.size(); str != e; ++str) in FindFirstNonCommonLetter()
36 if (Matches[str]->first[i] != Letter) in FindFirstNonCommonLetter()
40 return Matches[0]->first.size(); in FindFirstNonCommonLetter()
49 const std::vector<const StringPair *> &Matches, unsigned CharNo, in EmitStringMatcherForChar() argument
51 assert(!Matches.empty() && "Must have at least one string to match!"); in EmitStringMatcherForChar()
56 if (CharNo == Matches[0]->first.size()) { in EmitStringMatcherForChar()
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
HDRegex.cpp82 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches, in match() argument
92 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; in match()
114 if (Matches) { // match position requested in match()
115 Matches->clear(); in match()
120 Matches->push_back(StringRef()); in match()
124 Matches->push_back(StringRef(String.data()+pm[i].rm_so, in match()
134 SmallVector<StringRef, 8> Matches; in sub() local
137 if (!match(String, &Matches, Error)) in sub()
142 std::string Res(String.begin(), Matches[0].begin()); in sub()
190 RefValue < Matches.size()) in sub()
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
HDNativeEnumTypes.cpp26 : Matches(), Index(0), Session(PDBSession) { in NativeEnumTypes()
34 Matches.push_back(*TI); in NativeEnumTypes()
43 Matches.push_back(*TI); in NativeEnumTypes()
52 : Matches(std::move(Indices)), Index(0), Session(PDBSession) {} in NativeEnumTypes()
55 return static_cast<uint32_t>(Matches.size()); in getChildCount()
59 if (N < Matches.size()) { in getChildAtIndex()
60 SymIndexId Id = Session.getSymbolCache().findSymbolByTypeIndex(Matches[N]); in getChildAtIndex()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
HDExprMutationAnalyzer.cpp85 const Stmt *tryEachMatch(ArrayRef<ast_matchers::BoundNodes> Matches, in tryEachMatch() argument
88 for (const auto &Nodes : Matches) { in tryEachMatch()
184 ExprMutationAnalyzer::findExprMutation(ArrayRef<BoundNodes> Matches) { in findExprMutation() argument
185 return tryEachMatch<Expr>(Matches, this, &ExprMutationAnalyzer::findMutation); in findExprMutation()
189 ExprMutationAnalyzer::findDeclMutation(ArrayRef<BoundNodes> Matches) { in findDeclMutation() argument
190 return tryEachMatch<Decl>(Matches, this, &ExprMutationAnalyzer::findMutation); in findDeclMutation()
194 ArrayRef<ast_matchers::BoundNodes> Matches) { in findExprPointeeMutation() argument
195 return tryEachMatch<Expr>(Matches, this, in findExprPointeeMutation()
200 ArrayRef<ast_matchers::BoundNodes> Matches) { in findDeclPointeeMutation() argument
201 return tryEachMatch<Decl>(Matches, this, in findDeclPointeeMutation()
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
HDExprMutationAnalyzer.h53 const Stmt *findExprMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
54 const Stmt *findDeclMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
56 findExprPointeeMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
58 findDeclPointeeMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/TableGen/
HDStringMatcher.h36 const std::vector<StringPair> &Matches; variable
42 : StrVariableName(strVariableName), Matches(matches), OS(os) {} in StringMatcher()
47 bool EmitStringMatcherForChar(const std::vector<const StringPair *> &Matches,
/freebsd-11-stable/contrib/llvm-project/clang/utils/TableGen/
HDClangCommentHTMLTagsEmitter.cpp24 std::vector<StringMatcher::StringPair> Matches; in EmitClangCommentHTMLTags() local
26 Matches.emplace_back(Tag->getValueAsString("Spelling"), "return true;"); in EmitClangCommentHTMLTags()
32 StringMatcher("Name", Matches, OS).Emit(); in EmitClangCommentHTMLTags()
HDClangCommentCommandInfoEmitter.cpp63 std::vector<StringMatcher::StringPair> Matches; in EmitClangCommentCommandInfo() local
69 Matches.emplace_back(std::move(Name), std::move(Return)); in EmitClangCommentCommandInfo()
74 StringMatcher("Name", Matches, OS).Emit(); in EmitClangCommentCommandInfo()
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
HDLoopUnrolling.cpp207 auto Matches = match(forLoopMatcher(), *LoopStmt, ASTCtx); in shouldCompletelyUnroll() local
208 if (Matches.empty()) in shouldCompletelyUnroll()
211 auto CounterVar = Matches[0].getNodeAs<VarDecl>("initVarName"); in shouldCompletelyUnroll()
213 Matches[0].getNodeAs<IntegerLiteral>("boundNum")->getValue(); in shouldCompletelyUnroll()
215 Matches[0].getNodeAs<IntegerLiteral>("initNum")->getValue(); in shouldCompletelyUnroll()
216 auto CondOp = Matches[0].getNodeAs<BinaryOperator>("conditionOperator"); in shouldCompletelyUnroll()
HDLoopWidening.cpp70 …auto Matches = match(findAll(stmt(hasDescendant(varDecl(hasType(referenceType())).bind(MatchRef)))… in getWidenedLoopState() local
72 for (BoundNodes Match : Matches) { in getWidenedLoopState()
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDRunLoopAutoreleaseLeakChecker.cpp168 auto Matches = match(GroupM, *D, AM.getASTContext()); in checkTempObjectsInSamePool() local
169 for (BoundNodes Match : Matches) in checkTempObjectsInSamePool()
188 auto Matches = match(GroupM, *D, AM.getASTContext()); in checkTempObjectsInNoPool() local
190 for (BoundNodes Match : Matches) in checkTempObjectsInNoPool()
HDGCDAntipatternChecker.cpp214 auto Matches = match(SemaphoreMatcherM, *D->getBody(), AM.getASTContext()); in checkASTCodeBody() local
215 for (BoundNodes Match : Matches) in checkASTCodeBody()
219 Matches = match(GroupMatcherM, *D->getBody(), AM.getASTContext()); in checkASTCodeBody()
220 for (BoundNodes Match : Matches) in checkASTCodeBody()
HDOSObjectCStyleCast.cpp78 auto Matches = match(stmt(forEachDescendant(CastM)), *D->getBody(), AM.getASTContext()); in checkASTCodeBody() local
79 for (BoundNodes Match : Matches) in checkASTCodeBody()
HDPointerIterationChecker.cpp87 auto Matches = match(MatcherM, *D, AM.getASTContext()); in checkASTCodeBody() local
88 for (const auto &Match : Matches) in checkASTCodeBody()
HDPointerSortingChecker.cpp100 auto Matches = match(MatcherM, *D, AM.getASTContext()); in checkASTCodeBody() local
101 for (const auto &Match : Matches) in checkASTCodeBody()
HDObjCAutoreleaseWriteChecker.cpp201 auto Matches = match(MatcherM, *D, AM.getASTContext()); in checkASTCodeBody() local
202 for (BoundNodes Match : Matches) in checkASTCodeBody()
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Core/
HDModuleSpec.h246 bool Matches(const ModuleSpec &match_module_spec, in Matches() function
357 if (spec.Matches(module_spec, exact_arch_match)) { in FindMatchingModuleSpec()
367 if (spec.Matches(module_spec, exact_arch_match)) { in FindMatchingModuleSpec()
383 if (spec.Matches(module_spec, exact_arch_match)) in FindMatchingModuleSpecs()
393 if (spec.Matches(module_spec, exact_arch_match)) in FindMatchingModuleSpecs()
/freebsd-11-stable/share/i18n/csmapper/APPLE/
DUCS%CENTEURO.src29 # c02 2005-Apr-04 Update header comments. Matches internal xml
31 # b3,c1 2002-Dec-19 Update URLs. Matches internal utom<b1>.
32 # b02 1999-Sep-22 Update contact e-mail address. Matches
36 # mapping changes. Matches internal utom<n3>,
40 # Matches internal ufrm<n5>.
DCENTEURO%UCS.src29 # c02 2005-Apr-04 Update header comments. Matches internal xml
31 # b3,c1 2002-Dec-19 Update URLs. Matches internal utom<b1>.
32 # b02 1999-Sep-22 Update contact e-mail address. Matches
36 # mapping changes. Matches internal utom<n3>,
40 # Matches internal ufrm<n5>.
DCYRILLIC%UCS.src29 # c03 2005-Apr-05 Update header comments. Matches internal xml
31 # b3,c1 2002-Dec-19 Update URLs, notes. Matches internal
36 # Update contact e-mail address. Matches
40 # mapping changes. Matches internal utom<n3>,
44 # Matches internal ufrm<n5>.
DUCS%CYRILLIC.src29 # c03 2005-Apr-05 Update header comments. Matches internal xml
31 # b3,c1 2002-Dec-19 Update URLs, notes. Matches internal
36 # Update contact e-mail address. Matches
40 # mapping changes. Matches internal utom<n3>,
44 # Matches internal ufrm<n5>.
DUCS%ROMAN.src29 # c02 2005-Apr-05 Update header comments. Matches internal xml
31 # b4,c1 2002-Dec-19 Update URLs, notes. Matches internal
33 # b03 1999-Sep-22 Update contact e-mail address. Matches
38 # EURO SIGN. Matches internal utom<b3>,
48 # Matches internal ufrm<n9>.
DROMAN%UCS.src29 # c02 2005-Apr-05 Update header comments. Matches internal xml
31 # b4,c1 2002-Dec-19 Update URLs, notes. Matches internal
33 # b03 1999-Sep-22 Update contact e-mail address. Matches
38 # EURO SIGN. Matches internal utom<b3>,
48 # Matches internal ufrm<n9>.
DUCS%TURKISH.src29 # c02 2005-Apr-05 Update header comments. Matches internal xml
31 # b3,c1 2002-Dec-19 Update URLs, notes. Matches internal
33 # b02 1999-Sep-22 Update contact e-mail address. Matches
41 # Matches internal ufrm<n4>.
/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
HDWhitespaceManager.cpp234 AlignTokenSequence(unsigned Start, unsigned End, unsigned Column, F &&Matches, in AlignTokenSequence() argument
278 if (!FoundMatchOnLine && !InsideNestedScope && Matches(Changes[i])) { in AlignTokenSequence()
329 static unsigned AlignTokens(const FormatStyle &Style, F &&Matches, in AlignTokens() argument
363 AlignTokenSequence(StartOfSequence, EndOfSequence, MinColumn, Matches, in AlignTokens()
391 unsigned StoppedAt = AlignTokens(Style, Matches, Changes, i); in AlignTokens()
396 if (!Matches(Changes[i])) in AlignTokens()

12345