Lines Matching refs:rand_s2
102 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()
147 test_one(rand_s1, rand_s2, SIZE, 0, comp_size); in testcase()