Lines Matching refs:result
200 /// The result of running the DFA.
202 /// Generally, the result is either a match or not a match, but sometimes the
216 /// Returns true if this result corresponds to a match.
224 /// Maps the given function onto T and returns the result.
534 let result = dfa.exec_at(&mut cache.qcur, &mut cache.qnext, text);
535 if result.is_match() {
548 result
599 let mut result = Result::NoMatch(self.at);
643 result = Result::Match(at - 1);
645 return result;
659 return result;
678 result = Result::Match(at - 2);
710 Some(STATE_DEAD) => return result.set_non_match(at),
716 result = Result::Match(at - 1);
718 return result;
734 Some(STATE_DEAD) => return result.set_non_match(text.len()),
741 result = Result::Match(text.len());
743 result
761 let mut result = Result::NoMatch(self.at);
789 result = Result::Match(at + 1);
791 return result;
804 result = Result::Match(at + 2);
815 Some(STATE_DEAD) => return result.set_non_match(at),
821 result = Result::Match(at + 1);
823 return result;
836 Some(STATE_DEAD) => return result.set_non_match(0),
843 result = Result::Match(0);
845 result