Home
last modified time | relevance | path

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

12345

/third_party/googletest/googlemock/test/
Dgmock-matchers_test.cc251 EXPECT_TRUE(m.Matches(2)); in TEST()
252 EXPECT_FALSE(m.Matches(3)); in TEST()
266 EXPECT_TRUE(m.Matches(4)); in TEST()
267 EXPECT_FALSE(m.Matches(5)); in TEST()
273 EXPECT_TRUE(m1.Matches(5)); in TEST()
274 EXPECT_FALSE(m1.Matches(6)); in TEST()
280 EXPECT_TRUE(m1.Matches(nullptr)); in TEST()
282 EXPECT_FALSE(m1.Matches(&n)); in TEST()
294 EXPECT_TRUE(m1.Matches(1)); in TEST()
295 EXPECT_FALSE(m1.Matches(2)); in TEST()
[all …]
Dgmock_link_test.h629 EXPECT_TRUE(m.Matches(helper)); in TEST()
632 EXPECT_TRUE(m2.Matches(&helper)); in TEST()
640 EXPECT_TRUE(m.Matches(helper)); in TEST()
643 EXPECT_TRUE(m2.Matches(&helper)); in TEST()
649 EXPECT_TRUE(m.Matches(nullptr)); in TEST()
657 EXPECT_TRUE(m.Matches(&n)); in TEST()
663 EXPECT_TRUE(m.Matches(nullptr)); in TEST()
669 EXPECT_TRUE(m.Matches(1)); in TEST()
675 EXPECT_TRUE(m.Matches(1)); in TEST()
681 EXPECT_FALSE(m.Matches(1)); in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DStringMatcher.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 …]
/third_party/flutter/flutter/dev/integration_tests/android_semantics_testing/lib/src/
Dconstants.dart58 /// Matches `AccessibilityAction.ACTION_FOCUS`.
61 /// Matches `AccessibilityAction.ACTION_CLEAR_FOCUS`.
64 /// Matches `AccessibilityAction.ACTION_SELECT`.
67 /// Matches `AccessibilityAction.ACTION_CLEAR_SELECTION`.
70 /// Matches `AccessibilityAction.ACTION_CLICK`.
73 /// Matches `AccessibilityAction.ACTION_LONG_CLICK`.
76 /// Matches `AccessibilityAction.ACTION_ACCESSIBILITY_FOCUS`.
79 /// Matches `AccessibilityAction.ACTION_CLEAR_ACCESSIBILITY_FOCUS`.
82 /// Matches `AccessibilityAction.ACTION_NEXT_AT_MOVEMENT_GRANULARITY`.
85 /// Matches `AccessibilityAction.ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY`.
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DRegex.cpp68 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.size()) in sub()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DRegex.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 …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_validate.cpp578 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 ("cs2", true)) in main()
[all …]
Ddng_string.h105 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/
DNativeEnumTypes.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()
/third_party/skia/third_party/externals/microhttpd/w32/VS2013/
Dgen_dll_res.ps113 [string]$MHD_ver = $Matches[1].ToString()
14 [string]$MHD_ver_major = $Matches[2].ToString()
15 [string]$MHD_ver_minor = $Matches[3].ToString()
16 [string]$MHD_ver_patchlev = $Matches[4].ToString()
/third_party/rust/crates/regex/src/
Dre_trait.rs152 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> struct
176 impl<'t, R> Matches<'t, R> argument
192 impl<'t, R> Iterator for Matches<'t, R> implementation
225 impl<'t, R> FusedIterator for Matches<'t, R> implementation
235 pub struct CaptureMatches<'t, R>(Matches<'t, R>)
Dre_unicode.rs244 pub fn find_iter<'r, 't>(&'r self, text: &'t str) -> Matches<'r, 't> { in find_iter()
245 Matches(self.0.searcher_str().find_iter(text)) in find_iter()
782 finder: Matches<'r, 't>,
1143 pub struct Matches<'r, 't>(re_trait::Matches<'t, ExecNoSyncStr<'r>>); struct
1145 impl<'r, 't> Iterator for Matches<'r, 't> { implementation
1154 impl<'r, 't> FusedIterator for Matches<'r, 't> {} implementation
Dpattern.rs3 use crate::re_unicode::{Matches, Regex};
8 it: Matches<'r, 't>,
Dre_bytes.rs188 pub fn find_iter<'r, 't>(&'r self, text: &'t [u8]) -> Matches<'r, 't> { in find_iter()
189 Matches(self.0.searcher().find_iter(text)) in find_iter()
695 pub struct Matches<'r, 't>(re_trait::Matches<'t, ExecNoSync<'r>>); struct
697 impl<'r, 't> Iterator for Matches<'r, 't> { implementation
706 impl<'r, 't> FusedIterator for Matches<'r, 't> {} implementation
740 finder: Matches<'r, 't>,
/third_party/json/test/thirdparty/Fuzzer/test/
DRepeatedMemcmp.cpp11 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/
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,
/third_party/mesa3d/.gitlab-ci/windows/
Dspirv2dxil_check.ps118 $spv_version = $Matches[1]
28 …String -Pattern '^OpEntryPoint\s(\w+)[^"]+"(\w+)"' | Select-Object -ExpandProperty Matches -First 1
/third_party/gn/src/gn/
Dlabel_pattern.cc220 bool LabelPattern::Matches(const Label& label) const { in Matches() function in LabelPattern
248 if (pattern.Matches(label)) in VectorMatches()
Dpattern_unittest.cc22 TEST(Pattern, Matches) { in TEST() argument
/third_party/rust/crates/nom/doc/
Dchoosing_a_combinator.md13 …ter/complete/fn.char.html) | `char('a')` | `"abc"` | `Ok(("bc", 'a'))` |Matches one character (wo…
14 …mplete/fn.is_a.html) | ` is_a("ab")` | `"ababc"` | `Ok(("c", "abab"))` |Matches a sequence of any…
15 …ete/fn.is_not.html) | `is_not("cd")` | `"ababc"` | `Ok(("c", "abab"))` |Matches a sequence of non…
16 …mplete/fn.one_of.html) | `one_of("abc")` | `"abc"` | `Ok(("bc", 'a'))` |Matches one of the provid…
17 …te/fn.none_of.html) | `none_of("abc")` | `"xyab"` | `Ok(("yab", 'x'))` |Matches anything but the …
98 - [`escaped`](https://docs.rs/nom/latest/nom/bytes/complete/fn.escaped.html): Matches a byte string…
99 …ttps://docs.rs/nom/latest/nom/bytes/complete/fn.escaped_transform.html): Matches a byte string wit…
132 - [`anychar`](https://docs.rs/nom/latest/nom/character/complete/fn.anychar.html): Matches one byte …
141 - [`newline`](https://docs.rs/nom/latest/nom/character/complete/fn.newline.html): Matches a newline…
146 - [`tab`](https://docs.rs/nom/latest/nom/character/complete/fn.tab.html): Matches a tab character `…
/third_party/python/Tools/msi/
Duploadrelease.ps167 %{ $Matches[1], $Matches[2] } variable
/third_party/node/deps/npm/node_modules/glob/
DREADME.md45 * `*` Matches 0 or more characters in a single path portion
46 * `?` Matches 1 character
47 * `[...]` Matches a range of characters, similar to a RegExp range.
50 * `!(pattern|pattern|pattern)` Matches anything that does not match
52 * `?(pattern|pattern|pattern)` Matches zero or one occurrence of the
54 * `+(pattern|pattern|pattern)` Matches one or more occurrences of the
56 * `*(a|b|c)` Matches zero or more occurrences of the patterns provided
57 * `@(pattern|pat*|pat?erN)` Matches exactly one of the patterns
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Passes/
DPassBuilder.cpp1881 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[1] == "lto" && "Not one of the matched options!"); in parseModulePass()
/third_party/googletest/googlemock/include/gmock/
Dgmock-spec-builders.h344 bool Matches(const ArgumentTuple& args) const { in Matches() function
345 return TupleMatches(matchers_, args) && extra_matcher_.Matches(args); in Matches()
1100 bool Matches(const ArgumentTuple& args) const in Matches() function
1103 return TupleMatches(matchers_, args) && extra_matcher_.Matches(args); in Matches()
1117 return !is_retired() && AllPrerequisitesAreSatisfied() && Matches(args); in ShouldHandleArguments()
1131 } else if (!Matches(args)) { in ExplainMatchResultTo()
1504 if (spec->Matches(args)) in FindOnCallSpec()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/
DNativeEnumTypes.h39 std::vector<codeview::TypeIndex> Matches;

12345