/external/rust/crates/regex-automata/src/ |
D | dfa.rs | 270 let mut last_match = if self.is_dead_state(state) { in find_at() localVariable 281 return last_match; in find_at() 283 last_match = Some(start + i + 1); in find_at() 286 last_match in find_at() 302 let mut last_match = if self.is_dead_state(state) { in rfind_at() localVariable 313 return last_match; in rfind_at() 315 last_match = Some(i); in rfind_at() 318 last_match in rfind_at()
|
D | regex.rs | 419 last_match: Option<usize>, field 424 Matches { re, text, last_end: 0, last_match: None } in new() 446 if Some(e) == self.last_match { in next() 452 self.last_match = Some(e); in next()
|
/external/rust/crates/aho-corasick/src/ |
D | automaton.rs | 306 let mut last_match = self.get_match(*state_id, 0, at); in leftmost_find_at_imp() localVariable 342 last_match.is_some() || self.anchored(), in leftmost_find_at_imp() 345 return last_match; in leftmost_find_at_imp() 347 last_match = self.get_match(*state_id, 0, at); in leftmost_find_at_imp() 350 last_match in leftmost_find_at_imp() 420 let mut last_match = self.get_match(state_id, 0, at); in leftmost_find_at_no_state_imp() localVariable 457 last_match.is_some() || self.anchored(), in leftmost_find_at_no_state_imp() 460 return last_match; in leftmost_find_at_no_state_imp() 462 last_match = self.get_match(state_id, 0, at); in leftmost_find_at_no_state_imp() 465 last_match in leftmost_find_at_no_state_imp()
|
D | ahocorasick.rs | 553 let mut last_match = 0; in replace_all_with() localVariable 555 dst.push_str(&haystack[last_match..mat.start()]); in replace_all_with() 556 last_match = mat.end(); in replace_all_with() 561 dst.push_str(&haystack[last_match..]); in replace_all_with() 619 let mut last_match = 0; in replace_all_with_bytes() localVariable 621 dst.extend(&haystack[last_match..mat.start()]); in replace_all_with_bytes() 622 last_match = mat.end(); in replace_all_with_bytes() 627 dst.extend(&haystack[last_match..]); in replace_all_with_bytes()
|
/external/rust/crates/regex/examples/ |
D | shootout-regex-dna-single-cheat.rs | 69 let mut last_match = 0; in replace_all() localVariable 71 new.push_str(&text[last_match..m.start()]); in replace_all() 73 last_match = m.end(); in replace_all() 75 new.push_str(&text[last_match..]); in replace_all()
|
D | shootout-regex-dna-cheat.rs | 84 let mut last_match = 0; in replace_all() localVariable 86 new.push_str(&text[last_match..m.start()]); in replace_all() 88 last_match = m.end(); in replace_all() 90 new.push_str(&text[last_match..]); in replace_all()
|
/external/rust/crates/regex/src/ |
D | re_trait.rs | 142 Matches { re: self, text: text, last_end: 0, last_match: None } in find_iter() 162 last_match: Option<usize>, field 203 if Some(e) == self.last_match { in next() 209 self.last_match = Some(e); in next() 267 if Some(e) == self.0.last_match { in next() 273 self.0.last_match = Some(e); in next()
|
D | re_unicode.rs | 556 let mut last_match = 0; in replacen() localVariable 561 new.push_str(&text[last_match..m.start()]); in replacen() 563 last_match = m.end(); in replacen() 565 new.push_str(&text[last_match..]); in replacen() 576 let mut last_match = 0; in replacen() localVariable 583 new.push_str(&text[last_match..m.start()]); in replacen() 585 last_match = m.end(); in replacen() 587 new.push_str(&text[last_match..]); in replacen()
|
D | re_bytes.rs | 497 let mut last_match = 0; in replacen() localVariable 502 new.extend_from_slice(&text[last_match..m.start()]); in replacen() 504 last_match = m.end(); in replacen() 506 new.extend_from_slice(&text[last_match..]); in replacen() 517 let mut last_match = 0; in replacen() localVariable 524 new.extend_from_slice(&text[last_match..m.start()]); in replacen() 526 last_match = m.end(); in replacen() 528 new.extend_from_slice(&text[last_match..]); in replacen()
|
D | dfa.rs | 1299 let last_match = if self.last_match_si <= STATE_MAX { in clear_cache() localVariable 1314 if let Some(last_match) = last_match { in clear_cache() 1315 self.last_match_si = self.restore_state(last_match).unwrap(); in clear_cache()
|
/external/autotest/client/cros/ |
D | cros_logging.py | 169 last_match = None 172 last_match = line 173 if last_match: 174 return last_match
|
/external/mksh/src/ |
D | jobs.c | 1678 Job *j, *last_match; in j_lookup() local 1727 last_match = NULL; in j_lookup() 1731 if (last_match) { in j_lookup() 1736 last_match = j; in j_lookup() 1738 if (last_match) in j_lookup() 1739 return (last_match); in j_lookup() 1745 last_match = NULL; in j_lookup() 1748 if (last_match) { in j_lookup() 1753 last_match = j; in j_lookup() 1755 if (last_match) in j_lookup() [all …]
|