Lines Matching refs:run_test
89 run_test(uint16_t *dst, uint64_t dst_len, uint32_t *src, uint64_t src_len)
123 run_test(NULL, 0, NULL, 0);
130 run_test(buff, sizeof buff, NULL, 0);
131 run_test(buff, sizeof buff, NULL, 1);
132 run_test(buff, sizeof buff, NULL, 2);
133 run_test(buff, sizeof buff, NULL, 3);
134 run_test(buff, sizeof buff, pattern2, 0);
135 run_test(buff, sizeof buff, pattern2, 1);
136 run_test(buff, sizeof buff, pattern2, 2);
137 run_test(buff, sizeof buff, pattern2, 3);
142 run_test(buff, sizeof buff, pattern2, 4); /* 1 utf32 -> 1 utf16 */
143 run_test(buff, sizeof buff, pattern2, 10); /* 2 utf32 -> 2 utf16 */
144 run_test(buff, sizeof buff, pattern4, 5); /* 1 utf32 -> 2 utf16 */
145 run_test(buff, sizeof buff, pattern4, 11); /* 2 utf32 -> 4 utf16 */
146 run_test(buff, sizeof buff, pattern4, 18); /* 4 utf32 -> 8 utf16 */
155 run_test(NULL, 0, pattern2, sizeof pattern2);
158 run_test(NULL, 0, pattern2, sizeof pattern2);
159 run_test(NULL, 1, pattern2, sizeof pattern2);
162 run_test(NULL, 0, pattern4, sizeof pattern4);
163 run_test(NULL, 1, pattern4, sizeof pattern4);
164 run_test(NULL, 2, pattern4, sizeof pattern4);
165 run_test(NULL, 3, pattern4, sizeof pattern4);
170 run_test(buff, 4, pattern2, 8);
180 run_test(buff, sizeof buff, invalid + i, 4);
182 run_test(buff, 0, invalid, sizeof invalid); // cc = 2
183 run_test(buff, 100, invalid, sizeof invalid);
187 run_test(buff, sizeof buff, pattern2, sizeof pattern2);
188 run_test(buff, sizeof buff, pattern4, sizeof pattern4);
189 run_test(buff, sizeof buff, mixed, sizeof mixed);
216 run_test(buff, sizeof buff, input, num_input_bytes);