Home
last modified time | relevance | path

Searched refs:rand_s2 (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp.c102 char *rand_s2 = s2; in testcase() local
108 rand_s2 += random() % MAX_OFFSET_DIFF_S1_S2; in testcase()
109 memcpy(rand_s2, rand_s1, comp_size); in testcase()
113 rand_s2[change] = random() & 0xff; in testcase()
116 test_one(rand_s1, rand_s2, LARGE_MAX_OFFSET, in testcase()
119 test_one(rand_s1, rand_s2, SIZE, 0, comp_size); in testcase()
128 char *rand_s2 = s2; in testcase() local
134 rand_s2 += random() % MAX_OFFSET_DIFF_S1_S2; in testcase()
135 memcpy(rand_s2, rand_s1, comp_size); in testcase()
144 test_one(rand_s1, rand_s2, LARGE_MAX_OFFSE in testcase()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp.c102 char *rand_s2 = s2; in testcase() local
108 rand_s2 += random() % MAX_OFFSET_DIFF_S1_S2; in testcase()
109 memcpy(rand_s2, rand_s1, comp_size); in testcase()
113 rand_s2[change] = random() & 0xff; in testcase()
116 test_one(rand_s1, rand_s2, LARGE_MAX_OFFSET, in testcase()
119 test_one(rand_s1, rand_s2, SIZE, 0, comp_size); in testcase()
128 char *rand_s2 = s2; in testcase() local
134 rand_s2 += random() % MAX_OFFSET_DIFF_S1_S2; in testcase()
135 memcpy(rand_s2, rand_s1, comp_size); in testcase()
144 test_one(rand_s1, rand_s2, LARGE_MAX_OFFSE in testcase()
[all...]

Completed in 1 milliseconds