Lines Matching refs:s_match
1037 fn s_match() -> State { in s_match() function
1063 assert_eq!(nfa.states[10], s_match()); in compile_unanchored_prefix()
1078 s_match(), in compile_unanchored_prefix()
1085 assert_eq!(build("").states, &[s_match(),]); in compile_empty()
1090 assert_eq!(build("a").states, &[s_byte(b'a', 1), s_match(),]); in compile_literal()
1093 &[s_byte(b'a', 1), s_byte(b'b', 2), s_match(),] in compile_literal()
1097 &[s_byte(0xE2, 1), s_byte(0x98, 2), s_byte(0x83, 3), s_match(),] in compile_literal()
1111 assert_eq!(nfa.states, &[s_byte(b'\xFF', 1), s_match(),]); in compile_literal()
1118 &[s_range(b'a', b'z', 1), s_match(),] in compile_class()
1122 &[s_sparse(&[(b'a', b'c', 1), (b'x', b'z', 1)]), s_match()] in compile_class()
1126 &[s_range(0xB1, 0xB4, 2), s_byte(0xCE, 0), s_match()] in compile_class()
1136 s_match(), in compile_class()
1145 s_match(), in compile_class()
1154 &[s_union(&[1, 2]), s_byte(b'a', 2), s_match(),] in compile_repetition()
1158 &[s_union(&[2, 1]), s_byte(b'a', 2), s_match(),] in compile_repetition()
1166 &[s_byte(b'a', 1), s_byte(b'b', 2), s_union(&[1, 3]), s_match(),] in compile_group()
1170 &[s_byte(b'a', 1), s_byte(b'b', 2), s_match(),] in compile_group()
1174 &[s_byte(b'a', 1), s_byte(b'b', 2), s_union(&[0, 3]), s_match(),] in compile_group()
1182 &[s_byte(b'a', 3), s_byte(b'b', 3), s_union(&[0, 1]), s_match(),] in compile_alternation()
1186 &[s_byte(b'b', 2), s_union(&[2, 0]), s_match(),] in compile_alternation()
1190 &[s_byte(b'a', 2), s_union(&[0, 2]), s_match(),] in compile_alternation()