Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/powerpc/stringloops/
Dmemcmp.c97 char *rand_s2 = s2; in testcase() local
103 rand_s2 += random() % MAX_OFFSET_DIFF_S1_S2; in testcase()
104 memcpy(rand_s2, rand_s1, comp_size); in testcase()
108 rand_s2[change] = random() & 0xff; in testcase()
111 test_one(rand_s1, rand_s2, LARGE_MAX_OFFSET, in testcase()
114 test_one(rand_s1, rand_s2, SIZE, 0, comp_size); in testcase()
123 char *rand_s2 = s2; in testcase() local
129 rand_s2 += random() % MAX_OFFSET_DIFF_S1_S2; in testcase()
130 memcpy(rand_s2, rand_s1, comp_size); in testcase()
139 test_one(rand_s1, rand_s2, LARGE_MAX_OFFSET, in testcase()
[all …]