Home
last modified time | relevance | path

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

/Linux-v5.4/lib/
Dtest_overflow.c296 #define TEST_ONE_SHIFT(a, s, t, expect, of) ({ \ in test_overflow_shift() macro
323 err |= TEST_ONE_SHIFT(1, 0, u8, 1 << 0, false); in test_overflow_shift()
324 err |= TEST_ONE_SHIFT(1, 4, u8, 1 << 4, false); in test_overflow_shift()
325 err |= TEST_ONE_SHIFT(1, 7, u8, 1 << 7, false); in test_overflow_shift()
326 err |= TEST_ONE_SHIFT(0xF, 4, u8, 0xF << 4, false); in test_overflow_shift()
327 err |= TEST_ONE_SHIFT(1, 0, u16, 1 << 0, false); in test_overflow_shift()
328 err |= TEST_ONE_SHIFT(1, 10, u16, 1 << 10, false); in test_overflow_shift()
329 err |= TEST_ONE_SHIFT(1, 15, u16, 1 << 15, false); in test_overflow_shift()
330 err |= TEST_ONE_SHIFT(0xFF, 8, u16, 0xFF << 8, false); in test_overflow_shift()
331 err |= TEST_ONE_SHIFT(1, 0, int, 1 << 0, false); in test_overflow_shift()
[all …]