Home
last modified time | relevance | path

Searched refs:expec (Results 1 – 1 of 1) sorted by relevance

/linux/lib/
H A Dchecksum_kunit.c483 __sum16 result, expec; in test_csum_fixed_random_inputs() local
496 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() local
521 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 …]