Lines Matching refs:buff
52 uint16_t buff[1000]; /* Large so we con'don't have to worry about it */ variable
130 run_test(buff, sizeof buff, NULL, 0); in main()
131 run_test(buff, sizeof buff, NULL, 1); in main()
132 run_test(buff, sizeof buff, NULL, 2); in main()
133 run_test(buff, sizeof buff, NULL, 3); in main()
134 run_test(buff, sizeof buff, pattern2, 0); in main()
135 run_test(buff, sizeof buff, pattern2, 1); in main()
136 run_test(buff, sizeof buff, pattern2, 2); in main()
137 run_test(buff, sizeof buff, pattern2, 3); in main()
142 run_test(buff, sizeof buff, pattern2, 4); /* 1 utf32 -> 1 utf16 */ in main()
143 run_test(buff, sizeof buff, pattern2, 10); /* 2 utf32 -> 2 utf16 */ in main()
144 run_test(buff, sizeof buff, pattern4, 5); /* 1 utf32 -> 2 utf16 */ in main()
145 run_test(buff, sizeof buff, pattern4, 11); /* 2 utf32 -> 4 utf16 */ in main()
146 run_test(buff, sizeof buff, pattern4, 18); /* 4 utf32 -> 8 utf16 */ in main()
170 run_test(buff, 4, pattern2, 8); in main()
180 run_test(buff, sizeof buff, invalid + i, 4); in main()
182 run_test(buff, 0, invalid, sizeof invalid); // cc = 2 in main()
183 run_test(buff, 100, invalid, sizeof invalid); in main()
187 run_test(buff, sizeof buff, pattern2, sizeof pattern2); in main()
188 run_test(buff, sizeof buff, pattern4, sizeof pattern4); in main()
189 run_test(buff, sizeof buff, mixed, sizeof mixed); in main()
213 memset(buff, fill_byte, sizeof buff); in write_and_check_aux()
216 run_test(buff, sizeof buff, input, num_input_bytes); in write_and_check_aux()
220 for (i = num_expected_output_bytes; i < sizeof buff; ++i) in write_and_check_aux()
221 if (((unsigned char *)buff)[i] != fill_byte) ++num_errors; in write_and_check_aux()