Searched refs:expec (Results 1 – 1 of 1) sorted by relevance
483 __sum16 result, expec; in test_csum_fixed_random_inputs() local496 expec = to_sum16(expected_results[len]); in test_csum_fixed_random_inputs()497 CHECK_EQ(result, expec); in test_csum_fixed_random_inputs()509 __sum16 result, expec; in test_csum_all_carry_inputs() local521 expec = to_sum16((len & 1) ? 0xff00 : 0); in test_csum_all_carry_inputs()522 CHECK_EQ(result, expec); in test_csum_all_carry_inputs()530 expec = to_sum16(0xff00); in test_csum_all_carry_inputs()532 expec = 0; in test_csum_all_carry_inputs()534 expec = to_sum16(0xffff); in test_csum_all_carry_inputs()535 CHECK_EQ(result, expec); in test_csum_all_carry_inputs()[all …]