Lines Matching refs:set
50 /// An ordered set of NFA states and their captures.
53 /// An ordered set of opcodes (each opcode is an NFA state).
54 set: SparseSet,
126 clist.set.clear();
127 nlist.set.clear();
129 if clist.set.is_empty() {
130 // Three ways to bail out when our current set of threads is
161 if clist.set.is_empty()
171 for i in 0..clist.set.len() {
172 let ip = clist.set[i];
191 // in this set because we've matched something
193 // threads in the next set to support things like
207 nlist.set.clear();
214 /// nlist is the set of states that will be processed on the next token
217 /// caps is the set of captures passed by the caller of the NFA. They are
220 /// thread_caps is the set of captures set for the current NFA state, ip.
300 // traverse the set of states. We only push to the stack when we
306 if nlist.set.contains(ip) {
309 nlist.set.insert(ip);
344 Threads { set: SparseSet::new(0), caps: vec![], slots_per_thread: 0 }
348 if num_insts == self.set.capacity() {
352 self.set = SparseSet::new(num_insts);