Home
last modified time | relevance | path

Searched refs:pats (Results 1 – 13 of 13) sorted by relevance

/third_party/rust/crates/aho-corasick/src/packed/teddy/
Druntime.rs105 pats: &Patterns, in find_at()
120 pats.max_pattern_id(), in find_at()
138 e.find_at(pats, self, haystack, at) in find_at()
141 e.find_at(pats, self, haystack, at) in find_at()
144 e.find_at(pats, self, haystack, at) in find_at()
147 e.find_at(pats, self, haystack, at) in find_at()
150 e.find_at(pats, self, haystack, at) in find_at()
153 e.find_at(pats, self, haystack, at) in find_at()
156 e.find_at(pats, self, haystack, at) in find_at()
159 e.find_at(pats, self, haystack, at) in find_at()
[all …]
/third_party/rust/crates/aho-corasick/bench/src/
Dbuild.rs41 let pats = patterns.clone(); in define_build() localVariable
45 b.iter(|| black_box(AhoCorasick::new(&pats))) in define_build()
49 b.iter(|| black_box(AhoCorasick::new(&pats))) in define_build()
53 let pats = patterns.clone(); in define_build() localVariable
58 black_box(AhoCorasickBuilder::new().dfa(true).build(&pats)) in define_build()
64 black_box(AhoCorasickBuilder::new().dfa(true).build(&pats)) in define_build()
/third_party/rust/crates/regex/src/
Dre_builder.rs5 pub pats: Vec<String>, field
21 pats: vec![], in default()
60 builder.0.pats.push(pattern.to_owned());
263 builder.0.pats.push(pat.as_ref().to_owned());
Dexec.rs150 opts.pats = res.into_iter().map(|s| s.as_ref().to_owned()).collect(); in new_many()
230 let mut exprs = Vec::with_capacity(self.options.pats.len()); in parse()
234 let is_set = self.options.pats.len() > 1; in parse()
237 for pat in &self.options.pats { in parse()
302 if self.options.pats.is_empty() { in build()
342 res: self.options.pats, in build()
/third_party/rust/crates/syn/codegen/src/
Dhash.rs39 let mut pats = Vec::new(); in expand_impl_body() localVariable
43 pats.push(format_ident!("_")); in expand_impl_body()
60 pats.push(var); in expand_impl_body()
72 #ident::#variant(#(#pats),*) => { in expand_impl_body()
Dclone.rs23 let mut pats = Vec::new(); in expand_impl_body() localVariable
28 pats.push(pat); in expand_impl_body()
40 #ident::#variant(#(#pats),*) => #ident::#variant(#(#clones),*), in expand_impl_body()
Ddebug.rs77 let pats = (0..fields.len()) in expand_impl_body() localVariable
82 #ident::#variant(#(#pats),*) => { in expand_impl_body()
84 #(formatter.field(#pats);)* in expand_impl_body()
Dsnapshot.rs197 let pats = (0..fields.len()).map(|i| format_ident!("_v{}", i)); in expand_impl_body() localVariable
207 syn::#ident::#variant(#(#pats),*) => { in expand_impl_body()
/third_party/rust/crates/regex/src/literal/
Dimp.rs202 let pats = lits.literals().to_owned(); in new() localVariable
208 if let Some(s) = builder.extend(&pats).build() { in new()
209 return Matcher::Packed { s, lits: pats }; in new()
215 .build_with_size::<u32, _, _>(&pats) in new()
217 Matcher::AC { ac, lits: pats } in new()
/third_party/rust/crates/regex/regex-capi/src/
Drure.rs484 let mut pats = Vec::with_capacity(patterns_count); localVariable
487 pats.push(match str::from_utf8(pat) {
500 let mut builder = bytes::RegexSetBuilder::new(pats);
/third_party/rust/crates/glob/src/
Dlib.rs1207 let pats = ["[a-z123]", "[1a-z23]", "[123a-z]"]; in test_range_pattern() localVariable
1208 for &p in pats.iter() { in test_range_pattern()
1225 let pats = ["[abc-]", "[-abc]", "[a-c-]"]; in test_range_pattern() localVariable
1226 for &p in pats.iter() { in test_range_pattern()
/third_party/icu/icu4c/source/test/intltest/
Dregextst.cpp5754 const UChar *pats[] = { u"(?<!^)", in TestBug13631() local
5758 for (const UChar **pat=pats; *pat; ++pat) { in TestBug13631()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.td3505 // The following def pats catch the case where the LHS of an FMA is negated.
3872 // The following def pats catch the case where the LHS of an FMA is negated.