Home
last modified time | relevance | path

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

1234

/third_party/googletest/googlemock/test/
Dgmock-matchers-comparisons_test.cc131 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(2)); in TEST()
[all …]
Dgmock-matchers-arithmetic_test.cc54 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(Tuple2(5L, 5))); in TEST()
[all …]
Dgmock-matchers-containers_test.cc168 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(p)); in TEST()
[all …]
Dgmock-matchers-misc_test.cc52 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(n2)); in TEST()
[all …]
Dgmock_link_test.h628 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(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/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>)
Dpattern.rs3 use crate::re_unicode::{Matches, Regex};
8 it: Matches<'r, 't>,
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
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/tests/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/node/deps/npm/node_modules/glob/dist/mjs/
Dwalker.d.ts48 export type Matches<O extends GlobWalkerOpts> = O extends GWOFileTypesTrue ? Set<Path> : O extends … alias
86 walk(): Promise<Matches<O>>;
87 walkSync(): Matches<O>;
/third_party/node/deps/npm/node_modules/glob/dist/cjs/src/
Dwalker.d.ts48 export type Matches<O extends GlobWalkerOpts> = O extends GWOFileTypesTrue ? Set<Path> : O extends … alias
86 walk(): Promise<Matches<O>>;
87 walkSync(): Matches<O>;
/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/python/Tools/msi/
Duploadrelease.ps167 %{ $Matches[1], $Matches[2] } variable
/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 `…

1234