Searched refs:TEST_ONE_SHIFT (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/lib/ |
D | overflow_kunit.c | 336 #define TEST_ONE_SHIFT(a, s, t, expect, of) do { \ macro 363 TEST_ONE_SHIFT(1, 0, u8, 1 << 0, false); in shift_sane_test() 364 TEST_ONE_SHIFT(1, 4, u8, 1 << 4, false); in shift_sane_test() 365 TEST_ONE_SHIFT(1, 7, u8, 1 << 7, false); in shift_sane_test() 366 TEST_ONE_SHIFT(0xF, 4, u8, 0xF << 4, false); in shift_sane_test() 367 TEST_ONE_SHIFT(1, 0, u16, 1 << 0, false); in shift_sane_test() 368 TEST_ONE_SHIFT(1, 10, u16, 1 << 10, false); in shift_sane_test() 369 TEST_ONE_SHIFT(1, 15, u16, 1 << 15, false); in shift_sane_test() 370 TEST_ONE_SHIFT(0xFF, 8, u16, 0xFF << 8, false); in shift_sane_test() 371 TEST_ONE_SHIFT(1, 0, int, 1 << 0, false); in shift_sane_test() [all …]
|