Home
last modified time | relevance | path

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

/linux/lib/
H A Dutil_macros_kunit.c28 static int array_prog1a[] = { 1, 2, 3, 4, 5 }; in test_find_closest() local
69 FIND_CLOSEST_RANGE_CHECK(-3, 1, array_prog1a, 0); in test_find_closest()
70 FIND_CLOSEST_RANGE_CHECK(2, 2, array_prog1a, 1); in test_find_closest()
71 FIND_CLOSEST_RANGE_CHECK(3, 3, array_prog1a, 2); in test_find_closest()
72 FIND_CLOSEST_RANGE_CHECK(4, 4, array_prog1a, 3); in test_find_closest()
73 FIND_CLOSEST_RANGE_CHECK(5, 8, array_prog1a, 4); in test_find_closest()
136 static int array_prog1a[] = { 5, 4, 3, 2, 1 }; in test_find_closest_descending() local
176 FIND_CLOSEST_DESC_RANGE_CHECK(-3, 1, array_prog1a, 4); in test_find_closest_descending()
177 FIND_CLOSEST_DESC_RANGE_CHECK(2, 2, array_prog1a, 3); in test_find_closest_descending()
178 FIND_CLOSEST_DESC_RANGE_CHECK(3, 3, array_prog1a, 2); in test_find_closest_descending()
[all …]