Searched refs:TEST_OVERFLOWS_TYPE (Results 1 – 1 of 1) sorted by relevance
/linux/lib/ |
H A D | overflow_kunit.c | 810 #define TEST_OVERFLOWS_TYPE(__t1, __t2, v, of) do { \ in overflows_type_test() macro 819 TEST_OVERFLOWS_TYPE(u8, u8, U8_MAX, false); in overflows_type_test() 820 TEST_OVERFLOWS_TYPE(u8, u16, U8_MAX, false); in overflows_type_test() 821 TEST_OVERFLOWS_TYPE(u8, s8, U8_MAX, true); in overflows_type_test() 822 TEST_OVERFLOWS_TYPE(u8, s8, S8_MAX, false); in overflows_type_test() 823 TEST_OVERFLOWS_TYPE(u8, s8, (u8)S8_MAX + 1, true); in overflows_type_test() 824 TEST_OVERFLOWS_TYPE(u8, s16, U8_MAX, false); in overflows_type_test() 825 TEST_OVERFLOWS_TYPE(s8, u8, S8_MAX, false); in overflows_type_test() 826 TEST_OVERFLOWS_TYPE(s8, u8, -1, true); in overflows_type_test() 827 TEST_OVERFLOWS_TYPE(s8, u8, S8_MIN, true); in overflows_type_test() [all …]
|