Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/powerpc/stringloops/
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_OFFSET, in testcase()
[all …]

Completed in 2 milliseconds