Home
last modified time | relevance | path

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

/Linux-v6.6/lib/
Dmemcpy_kunit.c108 static unsigned char larger_array [2048]; variable
186 larger_array[256] = 0xAAu; in memmove_test()
191 memmove(larger_array, larger_array + 256, 1024); in memmove_test()
192 KUNIT_ASSERT_EQ(test, larger_array[0], 0xAAu); in memmove_test()
193 KUNIT_ASSERT_EQ(test, larger_array[256], 0x00); in memmove_test()
195 memchr(larger_array + 1, 0xaa, ARRAY_SIZE(larger_array) - 1)); in memmove_test()
197 larger_array[0] = 0xBBu; in memmove_test()
198 memmove(larger_array + 256, larger_array, 1024); in memmove_test()
199 KUNIT_ASSERT_EQ(test, larger_array[0], 0xBBu); in memmove_test()
200 KUNIT_ASSERT_EQ(test, larger_array[256], 0xBBu); in memmove_test()
[all …]