Lines Matching defs:map
228 pub fn map<U, F: FnMut(T) -> U>(self, mut f: F) -> Result<U> {
1499 // Transition table and set of states and map should all be in sync.
1513 self.prog.prefixes.find(&text[at..]).map(|(s, _)| at + s)
1583 /// An abstraction for representing a map of states. The map supports two
1597 /// the map or on drop, in which case the keys of this map will be
1599 map: HashMap<State, StatePtr>,
1609 StateMap { map: HashMap::new(), states: vec![], num_byte_classes }
1621 self.map.get(state).cloned()
1629 self.map.insert(state.clone(), si);
1634 self.map.clear();
1915 ips.into_iter().map(|ip| ip as usize).collect();