Searched refs:array_prog3a (Results 1 – 1 of 1) sorted by relevance
/linux/lib/ |
H A D | util_macros_kunit.c | 33 static int array_prog3a[] = { 1, 4, 7, 10 }; in test_find_closest() local 97 FIND_CLOSEST_RANGE_CHECK(-3, 2, array_prog3a, 0); in test_find_closest() 98 FIND_CLOSEST_RANGE_CHECK(3, 5, array_prog3a, 1); in test_find_closest() 99 FIND_CLOSEST_RANGE_CHECK(6, 8, array_prog3a, 2); in test_find_closest() 100 FIND_CLOSEST_RANGE_CHECK(9, 20, array_prog3a, 3); in test_find_closest() 141 static int array_prog3a[] = { 10, 7, 4, 1 }; in test_find_closest_descending() local 204 FIND_CLOSEST_DESC_RANGE_CHECK(-3, 2, array_prog3a, 3); in test_find_closest_descending() 205 FIND_CLOSEST_DESC_RANGE_CHECK(3, 5, array_prog3a, 2); in test_find_closest_descending() 206 FIND_CLOSEST_DESC_RANGE_CHECK(6, 8, array_prog3a, 1); in test_find_closest_descending() 207 FIND_CLOSEST_DESC_RANGE_CHECK(9, 20, array_prog3a, 0); in test_find_closest_descending()
|