• Home
  • Raw
  • Download

Lines Matching refs:buff

63 uint8_t buff[1000];  /* Large so we con'don't have to worry about it */  variable
140 run_test(buff, sizeof buff, NULL, 0); in main()
141 run_test(buff, sizeof buff, NULL, 1); in main()
142 run_test(buff, sizeof buff, NULL, 2); in main()
143 run_test(buff, sizeof buff, NULL, 3); in main()
144 run_test(buff, sizeof buff, pattern1, 0); in main()
145 run_test(buff, sizeof buff, pattern1, 1); in main()
146 run_test(buff, sizeof buff, pattern1, 2); in main()
147 run_test(buff, sizeof buff, pattern1, 3); in main()
152 run_test(buff, sizeof buff, pattern1, 4); /* 1 utf32 -> 1 1-byte utf8 */ in main()
153 run_test(buff, sizeof buff, pattern2, 10); /* 2 utf32 -> 2 2-byte utf8 */ in main()
154 run_test(buff, sizeof buff, pattern3, 5); /* 1 utf32 -> 1 3-byte utf8 */ in main()
155 run_test(buff, sizeof buff, pattern4, 21); /* 5 utf32 -> 5 4-byte utf8 */ in main()
183 run_test(buff, 2, pattern1, 8); in main()
193 run_test(buff, sizeof buff, invalid + i, 4); in main()
195 run_test(buff, 0, invalid, sizeof invalid); // cc = 2 in main()
196 run_test(buff, 100, invalid, sizeof invalid); in main()
200 run_test(buff, sizeof buff, pattern1, sizeof pattern1); in main()
201 run_test(buff, sizeof buff, pattern2, sizeof pattern2); in main()
202 run_test(buff, sizeof buff, pattern3, sizeof pattern3); in main()
203 run_test(buff, sizeof buff, pattern4, sizeof pattern4); in main()
204 run_test(buff, sizeof buff, mixed, sizeof mixed); in main()
236 memset(buff, fill_byte, sizeof buff); in write_and_check_aux()
239 run_test(buff, sizeof buff, input, num_input_bytes); in write_and_check_aux()
243 for (i = num_expected_output_bytes; i < sizeof buff; ++i) in write_and_check_aux()
244 if (((unsigned char *)buff)[i] != fill_byte) ++num_errors; in write_and_check_aux()