/third_party/googletest/googlemock/test/ |
H A D | gmock-matchers-comparisons_test.cc | 131 EXPECT_TRUE(m.Matches(2)); in TEST() 132 EXPECT_FALSE(m.Matches(3)); in TEST() 146 EXPECT_TRUE(m.Matches(4)); in TEST() 147 EXPECT_FALSE(m.Matches(5)); in TEST() 153 EXPECT_TRUE(m1.Matches(5)); in TEST() 154 EXPECT_FALSE(m1.Matches(6)); in TEST() 160 EXPECT_TRUE(m1.Matches(nullptr)); in TEST() 162 EXPECT_FALSE(m1.Matches(&n)); in TEST() 174 EXPECT_TRUE(m1.Matches(1)); in TEST() 175 EXPECT_FALSE(m1.Matches( in TEST() [all...] |
H A D | gmock-matchers-arithmetic_test.cc | 54 EXPECT_TRUE(m.Matches(Tuple2(5L, 5))); in TEST() 55 EXPECT_FALSE(m.Matches(Tuple2(5L, 6))); in TEST() 68 EXPECT_TRUE(m.Matches(Tuple2(5L, 4))); in TEST() 69 EXPECT_TRUE(m.Matches(Tuple2(5L, 5))); in TEST() 70 EXPECT_FALSE(m.Matches(Tuple2(5L, 6))); in TEST() 83 EXPECT_TRUE(m.Matches(Tuple2(5L, 4))); in TEST() 84 EXPECT_FALSE(m.Matches(Tuple2(5L, 5))); in TEST() 85 EXPECT_FALSE(m.Matches(Tuple2(5L, 6))); in TEST() 98 EXPECT_TRUE(m.Matches(Tuple2(5L, 6))); in TEST() 99 EXPECT_TRUE(m.Matches(Tuple in TEST() [all...] |
H A D | gmock-matchers-containers_test.cc | 168 EXPECT_TRUE(m.Matches(&n)); in TEST() 170 EXPECT_FALSE(m.Matches(&n)); in TEST() 171 EXPECT_FALSE(m.Matches(nullptr)); in TEST() 178 EXPECT_TRUE(m.Matches(&x)); in TEST() 180 EXPECT_FALSE(m.Matches(&x)); in TEST() 181 EXPECT_FALSE(m.Matches(nullptr)); in TEST() 188 EXPECT_TRUE(m.Matches(&n)); in TEST() 190 EXPECT_FALSE(m.Matches(&n)); in TEST() 191 EXPECT_FALSE(m.Matches(nullptr)); in TEST() 199 EXPECT_TRUE(m.Matches( in TEST() [all...] |
H A D | gmock-matchers-misc_test.cc | 52 EXPECT_TRUE(m.Matches(n)); in TEST() 56 EXPECT_FALSE(m.Matches(other)); in TEST() 60 EXPECT_TRUE(m.Matches(n_ref)); in TEST() 67 EXPECT_TRUE(m.Matches(n)); in TEST() 71 EXPECT_FALSE(m.Matches(other)); in TEST() 78 EXPECT_TRUE(m.Matches(n)); in TEST() 118 EXPECT_TRUE(m.Matches(n1)); in TEST() 119 EXPECT_FALSE(m.Matches(n2)); in TEST() 127 EXPECT_FALSE(m.Matches(n1)); in TEST() 128 EXPECT_TRUE(m.Matches(n in TEST() [all...] |
H A D | gmock_link_test.h | 628 EXPECT_TRUE(m.Matches(helper)); in TEST() 631 EXPECT_TRUE(m2.Matches(&helper)); in TEST() 639 EXPECT_TRUE(m.Matches(helper)); in TEST() 642 EXPECT_TRUE(m2.Matches(&helper)); in TEST() 648 EXPECT_TRUE(m.Matches(nullptr)); in TEST() 656 EXPECT_TRUE(m.Matches(&n)); in TEST() 662 EXPECT_TRUE(m.Matches(nullptr)); in TEST() 668 EXPECT_TRUE(m.Matches(1)); in TEST() 674 EXPECT_TRUE(m.Matches(1)); in TEST() 680 EXPECT_FALSE(m.Matches( in TEST() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/ |
H A D | StringMatcher.cpp | 29 StringMatcher::StringPair*> &Matches) { in FindFirstNonCommonLetter() 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() 51 assert(!Matches.empty() && "Must have at least one string to match!"); in EmitStringMatcherForChar() 56 if (CharNo == Matches[ in EmitStringMatcherForChar() 28 FindFirstNonCommonLetter(const std::vector<const StringMatcher::StringPair*> &Matches) FindFirstNonCommonLetter() argument 48 EmitStringMatcherForChar( const std::vector<const StringPair *> &Matches, unsigned CharNo, unsigned IndentCount, bool IgnoreDuplicates) const EmitStringMatcherForChar() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | Regex.cpp | 68 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){ in match() argument 72 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; in match() 92 if (Matches) { // match position requested in match() 93 Matches->clear(); in match() 98 Matches->push_back(StringRef()); in match() 102 Matches->push_back(StringRef(String.data()+pm[i].rm_so, in match() 112 SmallVector<StringRef, 8> Matches; in sub() local 118 if (!match(String, &Matches)) in sub() 123 std::string Res(String.begin(), Matches[0].begin()); in sub() 171 RefValue < Matches in sub() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | Regex.cpp | 82 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 in sub() [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_validate.cpp | 578 if (option.Matches ("v", true)) in main() 583 else if (option.Matches ("d", true)) in main() 603 else if (option.Matches ("s", true)) in main() 619 else if (option.Matches ("b4", true)) in main() 624 else if (option.Matches ("size", true)) in main() 640 else if (option.Matches ("min", true)) in main() 656 else if (option.Matches ("max", true)) in main() 672 else if (option.Matches ("proxy", true)) in main() 688 else if (option.Matches ("cs1", true)) in main() 695 else if (option.Matches ("cs in main() [all...] |
H A D | dng_string.h | 105 static bool Matches (const char *t, 111 bool Matches (const char *s,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
H A D | NativeEnumTypes.cpp | 26 : 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()
|
/third_party/json/tests/thirdparty/Fuzzer/test/ |
H A D | RepeatedMemcmp.cpp | 11 int Matches = 0; in LLVMFuzzerTestOneInput() local 15 Matches++; in LLVMFuzzerTestOneInput() 17 if (Matches > 20) { in LLVMFuzzerTestOneInput()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/ |
H A D | StringMatcher.h | 28 /// If a match is found, the code in Matches[i].second is executed; control must 36 const std::vector<StringPair> &Matches; member in llvm::StringMatcher 42 : StrVariableName(strVariableName), Matches(matches), OS(os) {} in StringMatcher() 47 bool EmitStringMatcherForChar(const std::vector<const StringPair *> &Matches,
|
/third_party/rust/crates/regex/src/ |
H A D | re_trait.rs | 152 fn find_iter(self, text: &Self::Text) -> Matches<'_, Self> { in find_iter() 153 Matches { re: self, text, last_end: 0, last_match: None } in find_iter() 165 pub struct Matches<'t, R> in captures_iter() structure names 176 impl<'t, R> Matches<'t, R> impls 192 impl<'t, R> Iterator for Matches<'t, R> 225 impl<'t, R> FusedIterator for Matches<'t, R> 235 pub struct CaptureMatches<'t, R>(Matches<'t, R>)
|
H A D | re_unicode.rs | 244 pub fn find_iter<'r, 't>(&'r self, text: &'t str) -> Matches<'r, 't> { in find() 245 Matches(self.0.searcher_str().find_iter(text)) in find() 782 finder: Matches<'r, 't>, 1143 pub struct Matches<'r, 't>(re_trait::Matches<'t, ExecNoSyncStr<'r>>); structure names 1145 impl<'r, 't> Iterator for Matches<'r, 't> { 1154 impl<'r, 't> FusedIterator for Matches<'r, 't> {}
|
H A D | pattern.rs | 3 use crate::re_unicode::{Matches, Regex}; 8 it: Matches<'r, 't>,
|
H A D | lib.rs | 636 Locations, Match, Matches, NoExpand, Regex, Replacer, ReplacerRef, Split,
|
/third_party/gn/src/gn/ |
H A D | pattern_unittest.cc | 22 TEST(Pattern, Matches) { in TEST()
|
H A D | label_pattern.h | 51 bool Matches(const Label& label) const;
|
H A D | commands.cc | 623 if (pattern.Matches(target->label())) { in FilterTargetsByPatterns() 636 if (pattern.Matches(target->label())) { in FilterTargetsByPatterns() 650 if (pattern.Matches(target->label())) { in FilterOutTargetsByPatterns()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/ |
H A D | NativeEnumTypes.h | 39 std::vector<codeview::TypeIndex> Matches; member in llvm::pdb::NativeEnumTypes
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | Regex.h | 69 /// \param Matches - If given, on a successful match this will be filled in 74 bool match(StringRef String, SmallVectorImpl<StringRef> *Matches = nullptr);
|
/third_party/googletest/googlemock/include/gmock/ |
H A D | gmock-spec-builders.h | 320 bool Matches(const ArgumentTuple& args) const { 321 return TupleMatches(matchers_, args) && extra_matcher_.Matches(args); 1113 bool Matches(const ArgumentTuple& args) const 1116 return TupleMatches(matchers_, args) && extra_matcher_.Matches(args); 1130 return !is_retired() && AllPrerequisitesAreSatisfied() && Matches(args); 1142 } else if (!Matches(args)) { 1446 if (spec->Matches(args)) return spec;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | Regex.h | 72 /// \param Matches - If given, on a successful match this will be filled in 80 bool match(StringRef String, SmallVectorImpl<StringRef> *Matches = nullptr,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Passes/ |
H A D | PassBuilder.cpp | 1881 SmallVector<StringRef, 3> Matches; in parseModulePass() local 1882 if (!DefaultAliasRegex.match(Name, &Matches)) in parseModulePass() 1887 assert(Matches.size() == 3 && "Must capture two matched strings!"); in parseModulePass() 1889 OptimizationLevel L = StringSwitch<OptimizationLevel>(Matches[2]) in parseModulePass() 1898 if (PGOOpt && Matches[1] != "thinlto" && in parseModulePass() 1916 if (Matches[1] == "default") { in parseModulePass() 1918 } else if (Matches[1] == "thinlto-pre-link") { in parseModulePass() 1920 } else if (Matches[1] == "thinlto") { in parseModulePass() 1922 } else if (Matches[1] == "lto-pre-link") { in parseModulePass() 1925 assert(Matches[ in parseModulePass() [all...] |