Lines Matching refs:lits
363 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()
379 .build_with_size::<u32, _, _>(&lits) in build_aho_corasick()
704 let lits = &self.ro.nfa.prefixes; in find_literals() localVariable
705 lits.find(&text[start..]).map(|(s, e)| (start + s, start + e)) in find_literals()
708 let lits = &self.ro.nfa.prefixes; in find_literals() localVariable
710 lits.find_start(&text[start..]) in find_literals()
717 let lits = &self.ro.suffixes; in find_literals() localVariable
718 lits.find_end(&text[start..]) in find_literals()
1581 let mut lits = vec![]; in alternation_literals() localVariable
1596 lits.push(lit); in alternation_literals()
1598 Some(lits) in alternation_literals()