Lines Matching refs:valid_code
234 struct valid_code { struct
248 struct valid_code valid_codes[MAX_VALID_CODES]; argument
330 struct valid_code * valid_code = NULL; in test_valids() local
331 valid_code = valid->valid_codes + j; in test_valids()
333 hex_str = hex_string(valid_code->code, valid_code->size); in test_valids()
336 valid->platform_comment, hex_str, valid_code->start_addr, in test_valids()
337 valid_code->comment, valid_code->expected_out); in test_valids()
340 valid_code->code, valid_code->size, in test_valids()
341 valid_code->start_addr, 0, &insn in test_valids()
360 tmp_len = strlen(valid_code->expected_out); in test_valids()
365 if (memcmp(tmp_buf, valid_code->expected_out, max_len)) { in test_valids()
369 tmp_buf, valid_code->expected_out in test_valids()