Home
last modified time | relevance | path

Searched refs:lits (Results 1 – 10 of 10) sorted by relevance

/third_party/rust/crates/regex/regex-syntax/src/hir/literal/
Dmod.rs36 lits: Vec<Literal>, field
54 Literals { lits: vec![], limit_size: 250, limit_class: 10 } in empty()
59 let mut lits = Literals::empty(); in prefixes() localVariable
60 lits.union_prefixes(expr); in prefixes()
61 lits in prefixes()
66 let mut lits = Literals::empty(); in suffixes() localVariable
67 lits.union_suffixes(expr); in suffixes()
68 lits in suffixes()
110 &self.lits in literals()
118 for lit in &self.lits { in min_len()
[all …]
/third_party/rust/crates/regex/src/literal/
Dimp.rs29 AC { ac: AhoCorasick<u32>, lits: Vec<Literal> },
36 Packed { s: packed::Searcher, lits: Vec<Literal> },
46 pub fn prefixes(lits: Literals) -> Self { in prefixes()
47 let matcher = Matcher::prefixes(&lits); in prefixes()
48 Self::new(lits, matcher) in prefixes()
52 pub fn suffixes(lits: Literals) -> Self { in suffixes()
53 let matcher = Matcher::suffixes(&lits); in suffixes()
54 Self::new(lits, matcher) in suffixes()
57 fn new(lits: Literals, matcher: Matcher) -> Self { in new()
58 let complete = lits.all_complete(); in new()
[all …]
/third_party/rust/crates/regex/regex-debug/src/
Dmain.rs142 let mut lits = if args.cmd_prefixes { in cmd_literals() localVariable
143 args.literals(&exprs, |lits, e| lits.union_prefixes(e)) in cmd_literals()
145 args.literals(&exprs, |lits, e| lits.union_suffixes(e)) in cmd_literals()
149 lits = lits.unambiguous_prefixes(); in cmd_literals()
151 lits = lits.unambiguous_suffixes(); in cmd_literals()
156 println!("{:?}", LiteralSearcher::prefixes(lits)) in cmd_literals()
158 println!("{:?}", LiteralSearcher::suffixes(lits)) in cmd_literals()
161 println!("{}", escape_unicode(lits.longest_common_prefix())); in cmd_literals()
163 println!("{}", escape_unicode(lits.longest_common_suffix())); in cmd_literals()
165 for lit in lits.literals() { in cmd_literals()
[all …]
/third_party/rust/crates/clap/clap_derive/src/derives/
Dvalue_enum.rs49 let lits = lits(variants)?; in gen_for_enum() localVariable
50 let value_variants = gen_value_variants(&lits); in gen_for_enum()
51 let to_possible_value = gen_to_possible_value(item, &lits); in gen_for_enum()
74 fn lits(variants: &[(&Variant, Item)]) -> Result<Vec<(TokenStream, Ident)>, syn::Error> { in lits() function
98 fn gen_value_variants(lits: &[(TokenStream, Ident)]) -> TokenStream { in gen_value_variants()
99 let lit = lits.iter().map(|l| &l.1).collect::<Vec<_>>(); in gen_value_variants()
108 fn gen_to_possible_value(item: &Item, lits: &[(TokenStream, Ident)]) -> TokenStream { in gen_to_possible_value()
109 let (lit, variant): (Vec<TokenStream>, Vec<Ident>) = lits.iter().cloned().unzip(); in gen_to_possible_value()
/third_party/rust/crates/clap/
Dtypos.toml8 lits = "lits"
/third_party/rust/crates/regex/src/
Dexec.rs363 let lits = match alternation_literals(&parsed.exprs[0]) { in build_aho_corasick() localVariable
365 Some(lits) => lits, in build_aho_corasick()
369 if lits.len() <= 32 { in build_aho_corasick()
375 .auto_configure(&lits) in build_aho_corasick()
376 .build_with_size::<u32, _, _>(&lits) in build_aho_corasick()
701 let lits = &self.ro.nfa.prefixes; in find_literals() localVariable
702 lits.find(&text[start..]).map(|(s, e)| (start + s, start + e)) in find_literals()
705 let lits = &self.ro.nfa.prefixes; in find_literals() localVariable
707 lits.find_start(&text[start..]) in find_literals()
714 let lits = &self.ro.suffixes; in find_literals() localVariable
[all …]
/third_party/rust/crates/regex/regex-syntax/src/hir/
Dtranslate.rs1184 let lits = s in hir_lit() localVariable
1189 Hir::concat(lits) in hir_lit()
1199 let lits = s in hir_blit() localVariable
1205 Hir::concat(lits) in hir_blit()
/third_party/skia/third_party/externals/icu/source/data/curr/
Dlv.txt396 "Lietuvas lits",
1371 one{"Lietuvas lits"}
/third_party/icu/icu4c/source/data/curr/
Dlv.txt396 "Lietuvas lits",
1370 one{"Lietuvas lits"}
/third_party/libwebsockets/minimal-examples/api-tests/api-test-fts/
Dles-mis-utf8.txt303 --Les lits, reprit le directeur, sont bien serrés les uns contre les
330 --Monsieur, dit-il, combien pensez-vous qu'il tiendrait de lits rien que
338 --Il y tiendrait bien vingt lits! dit-il, comme se parlant à lui-même.
1132 lits. Du reste, ce logis, tenu par deux femmes, était du haut en bas
7400 L'hôpital était mal doté; il y avait fondé dix lits. Montreuil-sur-mer
7431 fonda aussi deux lits à l'hôpital; ce qui fit douze.