Lines Matching defs:output
160 * This test verifies that parse_X does not overwrite the output
161 * buffer when given input data that exceeds the output buffer
167 u_int8_t output[10];
174 /* Normal output plus two filler bytes */
179 /* Safe output when option is too long */
186 memset(output, 0xff, sizeof(output));
189 len = parse_X(&cfile, output, expected_len);
193 atf_tc_fail("parse_X failed, output len: %d", len);
197 if (memcmp(output, expected_plus_two, sizeof(output))) {
198 atf_tc_fail("parse_X failed, output does not match expected");
203 memset(output, 0xff, sizeof(output));
205 len = parse_X(&cfile, output, short_buf_len);
213 if (memcmp(output, expected_too_long, sizeof(output))) {