Home
last modified time | relevance | path

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

12345

/freebsd-14.2/contrib/googletest/googlemock/test/
H A Dgmock-matchers-comparisons_test.cc132 EXPECT_TRUE(m.Matches(2)); in TEST()
133 EXPECT_FALSE(m.Matches(3)); in TEST()
147 EXPECT_TRUE(m.Matches(4)); in TEST()
148 EXPECT_FALSE(m.Matches(5)); in TEST()
154 EXPECT_TRUE(m1.Matches(5)); in TEST()
155 EXPECT_FALSE(m1.Matches(6)); in TEST()
175 EXPECT_TRUE(m1.Matches(1)); in TEST()
176 EXPECT_FALSE(m1.Matches(2)); in TEST()
324 EXPECT_TRUE(m1.Matches(0)); in TEST()
396 EXPECT_TRUE(m.Matches(6)); in TEST_P()
[all …]
H A Dgmock-matchers-arithmetic_test.cc403 EXPECT_TRUE(m.Matches(3)); in TEST()
426 EXPECT_TRUE(m.Matches(0)); in AllOfMatches()
440 EXPECT_TRUE(m.Matches(1)); in TEST()
441 EXPECT_TRUE(m.Matches(2)); in TEST()
446 EXPECT_TRUE(m.Matches(3)); in TEST()
452 EXPECT_TRUE(m.Matches(4)); in TEST()
459 EXPECT_TRUE(m.Matches(0)); in TEST()
460 EXPECT_TRUE(m.Matches(1)); in TEST()
629 EXPECT_TRUE(m.Matches(1)); in TEST()
630 EXPECT_TRUE(m.Matches(4)); in TEST()
[all …]
H A Dgmock-matchers-containers_test.cc178 EXPECT_TRUE(m.Matches(&n)); in TEST()
188 EXPECT_TRUE(m.Matches(&x)); in TEST()
198 EXPECT_TRUE(m.Matches(&n)); in TEST()
209 EXPECT_TRUE(m.Matches(p)); in TEST()
220 EXPECT_TRUE(m.Matches(n)); in TEST()
230 EXPECT_TRUE(m.Matches(n)); in TEST()
260 EXPECT_TRUE(m.Matches(n)); in TEST()
302 EXPECT_TRUE(m.Matches(o)); in TEST()
395 EXPECT_TRUE(m.Matches(a)); in TEST()
408 EXPECT_TRUE(m.Matches(a)); in TEST()
[all …]
H A Dgmock-matchers-misc_test.cc58 EXPECT_TRUE(m.Matches(n)); in TEST()
62 EXPECT_FALSE(m.Matches(other)); in TEST()
66 EXPECT_TRUE(m.Matches(n_ref)); in TEST()
73 EXPECT_TRUE(m.Matches(n)); in TEST()
84 EXPECT_TRUE(m.Matches(n)); in TEST()
124 EXPECT_TRUE(m.Matches(n1)); in TEST()
125 EXPECT_FALSE(m.Matches(n2)); in TEST()
133 EXPECT_FALSE(m.Matches(n1)); in TEST()
134 EXPECT_TRUE(m.Matches(n2)); in TEST()
1003 EXPECT_TRUE(m.Matches(6)); in TEST()
[all …]
H A Dgmock_link_test.h623 EXPECT_TRUE(m.Matches(helper)); in TEST()
626 EXPECT_TRUE(m2.Matches(&helper)); in TEST()
634 EXPECT_TRUE(m.Matches(helper)); in TEST()
637 EXPECT_TRUE(m2.Matches(&helper)); in TEST()
643 EXPECT_TRUE(m.Matches(nullptr)); in TEST()
651 EXPECT_TRUE(m.Matches(&n)); in TEST()
657 EXPECT_TRUE(m.Matches(nullptr)); in TEST()
663 EXPECT_TRUE(m.Matches(1)); in TEST()
669 EXPECT_TRUE(m.Matches(1)); in TEST()
675 EXPECT_FALSE(m.Matches(1)); in TEST()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/
H A DStringMatcher.cpp31 assert(!Matches.empty()); in FindFirstNonCommonLetter()
34 char Letter = Matches[0]->first[i]; in FindFirstNonCommonLetter()
36 for (const StringMatcher::StringPair *Match : Matches) in FindFirstNonCommonLetter()
41 return Matches[0]->first.size(); in FindFirstNonCommonLetter()
57 if (CharNo == Matches[0]->first.size()) { in EmitStringMatcherForChar()
58 if (Matches.size() > 1 && !IgnoreDuplicates) in EmitStringMatcherForChar()
62 StringRef Code = Matches[0]->second; in EmitStringMatcherForChar()
79 for (const StringPair *Match : Matches) in EmitStringMatcherForChar()
93 << Matches[0]->first[CharNo] << "')\n"; in EmitStringMatcherForChar()
133 if (Matches.empty()) return; in Emit()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DRegex.cpp93 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; in match()
119 if (Matches) { // match position requested in match()
120 Matches->clear(); in match()
125 Matches->push_back(StringRef()); in match()
139 SmallVector<StringRef, 8> Matches; in sub() local
142 if (!match(String, &Matches, Error)) in sub()
179 if (RefValue < Matches.size()) in sub()
180 Res += Matches[RefValue]; in sub()
214 RefValue < Matches.size()) in sub()
215 Res += Matches[RefValue]; in sub()
[all …]
H A DUnicodeNameToCodepoint.cpp196 bool Matches; in compareNode() local
198 std::tie(C, Matches, Value) = in compareNode()
201 if (Matches) { in compareNode()
384 bool Matches; in nameToCodepoint() local
387 if (Matches) { in nameToCodepoint()
426 Matches.reserve(MaxMatchesCount + 1); in nearestMatchesForCodepointName()
445 Matches, Distance, in nearestMatchesForCodepointName()
451 if (It == Matches.end() && Matches.size() == MaxMatchesCount) in nearestMatchesForCodepointName()
455 Matches.insert(It, std::move(M)); in nearestMatchesForCodepointName()
457 Matches.pop_back(); in nearestMatchesForCodepointName()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumTypes.cpp36 Matches.push_back(*TI); in NativeEnumTypes()
45 Matches.push_back(*TI); in NativeEnumTypes()
54 : Matches(std::move(Indices)), Index(0), Session(PDBSession) {} in NativeEnumTypes()
57 return static_cast<uint32_t>(Matches.size()); in getChildCount()
61 if (N < Matches.size()) { in getChildAtIndex()
62 SymIndexId Id = Session.getSymbolCache().findSymbolByTypeIndex(Matches[N]); in getChildAtIndex()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DMarkup.cpp157 SmallVector<StringRef> Matches; in parseTextOutsideMarkup() local
158 while (SGRSyntax.match(Text, &Matches)) { in parseTextOutsideMarkup()
160 if (Matches.begin()->begin() != Text.begin()) in parseTextOutsideMarkup()
161 Buffer.push_back(textNode(takeTo(Text, Matches.begin()->begin()))); in parseTextOutsideMarkup()
163 Buffer.push_back(textNode(*Matches.begin())); in parseTextOutsideMarkup()
164 advanceTo(Text, Matches.begin()->end()); in parseTextOutsideMarkup()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DStringMatcher.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-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp190 const Stmt *tryEachMatch(ArrayRef<ast_matchers::BoundNodes> Matches, in tryEachMatch() argument
193 for (const auto &Nodes : Matches) { in tryEachMatch()
301 ExprMutationAnalyzer::findExprMutation(ArrayRef<BoundNodes> Matches) { in findExprMutation() argument
311 ArrayRef<ast_matchers::BoundNodes> Matches) { in findExprPointeeMutation() argument
312 return tryEachMatch<Expr>(Matches, this, in findExprPointeeMutation()
317 ArrayRef<ast_matchers::BoundNodes> Matches) { in findDeclPointeeMutation() argument
318 return tryEachMatch<Decl>(Matches, this, in findDeclPointeeMutation()
433 const auto Matches = match( in findDirectMutation() local
443 return selectFirst<Stmt>("stmt", Matches); in findDirectMutation()
608 const auto Matches = match( in findFunctionArgMutation() local
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DExprMutationAnalyzer.h55 const Stmt *findExprMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
56 const Stmt *findDeclMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
58 findExprPointeeMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
60 findDeclPointeeMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DClangCommentHTMLTagsEmitter.cpp24 std::vector<StringMatcher::StringPair> Matches; in EmitClangCommentHTMLTags() local
26 Matches.emplace_back(std::string(Tag->getValueAsString("Spelling")), in EmitClangCommentHTMLTags()
33 StringMatcher("Name", Matches, OS).Emit(); in EmitClangCommentHTMLTags()
H A DClangCommentCommandInfoEmitter.cpp64 std::vector<StringMatcher::StringPair> Matches; in EmitClangCommentCommandInfo() local
70 Matches.emplace_back(std::move(Name), std::move(Return)); in EmitClangCommentCommandInfo()
75 StringMatcher("Name", Matches, OS).Emit(); in EmitClangCommentCommandInfo()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DRunLoopAutoreleaseLeakChecker.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()
H A DGCDAntipatternChecker.cpp212 auto Matches = match(SemaphoreMatcherM, *D->getBody(), AM.getASTContext()); in checkASTCodeBody() local
213 for (BoundNodes Match : Matches) in checkASTCodeBody()
217 Matches = match(GroupMatcherM, *D->getBody(), AM.getASTContext()); in checkASTCodeBody()
218 for (BoundNodes Match : Matches) in checkASTCodeBody()
H A DPointerIterationChecker.cpp87 auto Matches = match(MatcherM, *D, AM.getASTContext()); in checkASTCodeBody() local
88 for (const auto &Match : Matches) in checkASTCodeBody()
H A DPointerSortingChecker.cpp101 auto Matches = match(MatcherM, *D, AM.getASTContext()); in checkASTCodeBody() local
102 for (const auto &Match : Matches) in checkASTCodeBody()
H A DOSObjectCStyleCast.cpp113 auto Matches = in checkASTCodeBody() local
115 for (BoundNodes Match : Matches) in checkASTCodeBody()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp259 auto Matches = match(forLoopMatcher(), *LoopStmt, ASTCtx); in shouldCompletelyUnroll() local
260 if (Matches.empty()) in shouldCompletelyUnroll()
263 const auto *CounterVarRef = Matches[0].getNodeAs<DeclRefExpr>("initVarRef"); in shouldCompletelyUnroll()
265 Matches[0].getNodeAs<IntegerLiteral>("boundNum")->getValue(); in shouldCompletelyUnroll()
267 Matches[0].getNodeAs<IntegerLiteral>("initNum")->getValue(); in shouldCompletelyUnroll()
268 auto CondOp = Matches[0].getNodeAs<BinaryOperator>("conditionOperator"); in shouldCompletelyUnroll()
H A DLoopWidening.cpp71 auto Matches = match( in getWidenedLoopState() local
75 for (BoundNodes Match : Matches) { in getWidenedLoopState()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Core/
H A DModuleSpec.h226 bool Matches(const ModuleSpec &match_module_spec, in Matches() function
338 if (spec.Matches(module_spec, exact_arch_match)) { in FindMatchingModuleSpec()
348 if (spec.Matches(module_spec, exact_arch_match)) { in FindMatchingModuleSpec()
364 if (spec.Matches(module_spec, exact_arch_match)) in FindMatchingModuleSpecs()
374 if (spec.Matches(module_spec, exact_arch_match)) in FindMatchingModuleSpecs()
/freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp149 SmallVector<StringRef, 4> Matches; in getRelativeIncludeName() local
150 Rule.match(File, &Matches); in getRelativeIncludeName()
152 if (Matches.size() != 4) in getRelativeIncludeName()
156 (Matches[1].drop_front(Matches[1].rfind('/') + 1) + "/" + in getRelativeIncludeName()
157 Matches[3]) in getRelativeIncludeName()
/freebsd-14.2/share/i18n/csmapper/APPLE/
H A DUCS%CENTEURO.src28 # c02 2005-Apr-04 Update header comments. Matches internal xml
30 # b3,c1 2002-Dec-19 Update URLs. Matches internal utom<b1>.
31 # b02 1999-Sep-22 Update contact e-mail address. Matches
35 # mapping changes. Matches internal utom<n3>,
39 # Matches internal ufrm<n5>.

12345