Lines Matching refs:num_byte_classes
165 num_byte_classes: usize, field
416 let num_byte_classes = (prog.byte_classes[255] as usize + 1) + 1; in new() localVariable
420 compiled: StateMap::new(num_byte_classes), in new()
421 trans: Transitions::new(num_byte_classes), in new()
1522 fn num_byte_classes(&self) -> usize { in num_byte_classes() method
1532 None => self.num_byte_classes() - 1, in byte_class()
1606 num_byte_classes: usize, field
1610 fn new(num_byte_classes: usize) -> StateMap { in new()
1614 num_byte_classes: num_byte_classes, in new()
1631 self.states.get(si as usize / self.num_byte_classes) in get_state()
1650 fn new(num_byte_classes: usize) -> Transitions { in new()
1651 Transitions { table: vec![], num_byte_classes: num_byte_classes } in new()
1656 self.table.len() / self.num_byte_classes in num_states()
1667 self.table.extend(repeat(STATE_UNKNOWN).take(self.num_byte_classes)); in add()
1688 self.num_byte_classes * mem::size_of::<StatePtr>() in state_heap_size()
1694 debug_assert!(cls < self.num_byte_classes); in next_unchecked()
1770 let s = si * self.num_byte_classes; in fmt()
1771 let e = s + self.num_byte_classes; in fmt()