Lines Matching refs:buff

62 uint8_t buff[1000];  /* Large so we con'don't have to worry about it */  variable
137 run_test(buff, sizeof buff, NULL, 1); in main()
138 run_test(buff, sizeof buff, pattern1, 1); in main()
139 run_test(buff, sizeof buff, pattern2, 1); in main()
140 run_test(buff, sizeof buff, pattern3, 1); in main()
141 run_test(buff, sizeof buff, pattern4, 1); in main()
142 run_test(buff, sizeof buff, pattern4, 2); in main()
143 run_test(buff, sizeof buff, pattern4, 3); in main()
148 run_test(buff, sizeof buff, pattern1, 3); in main()
149 run_test(buff, sizeof buff, pattern2, 5); in main()
150 run_test(buff, sizeof buff, pattern3, 7); in main()
151 run_test(buff, sizeof buff, pattern4, 9); in main()
152 run_test(buff, sizeof buff, pattern4, 10); in main()
153 run_test(buff, sizeof buff, pattern4, 11); in main()
182 run_test(buff, 3, pattern1, sizeof pattern1); in main()
184 run_test(buff, 5, pattern2, sizeof pattern2); in main()
186 run_test(buff, 7, pattern3, sizeof pattern3); in main()
187 run_test(buff, 8, pattern3, sizeof pattern3); in main()
189 run_test(buff, 9, pattern4, sizeof pattern4); in main()
190 run_test(buff, 10, pattern4, sizeof pattern4); in main()
191 run_test(buff, 11, pattern4, sizeof pattern4); in main()
196 run_test(buff, 6, pattern1, 6); in main()
200 run_test(buff, sizeof buff, invalid, sizeof invalid); in main()
201 run_test(buff, 0, invalid, sizeof invalid); in main()
205 run_test(buff, sizeof buff, pattern1, sizeof pattern1); in main()
206 run_test(buff, sizeof buff, pattern2, sizeof pattern2); in main()
207 run_test(buff, sizeof buff, pattern3, sizeof pattern3); in main()
208 run_test(buff, sizeof buff, pattern4, sizeof pattern4); in main()
209 run_test(buff, sizeof buff, mixed, sizeof mixed); in main()
247 memset(buff, fill_byte, sizeof buff); in write_and_check_aux()
250 run_test(buff, sizeof buff, input, num_input_bytes); in write_and_check_aux()
254 for (i = num_expected_output_bytes; i < sizeof buff; ++i) in write_and_check_aux()
255 if (buff[i] != fill_byte) ++num_errors; in write_and_check_aux()