Lines Matching refs:s2
9 int test_memcmp(const void *s1, const void *s2, size_t n);
12 static void test_one(char *s1, char *s2) in test_one() argument
21 y = memcmp(s1+offset, s2+offset, size); in test_one()
22 x = test_memcmp(s1+offset, s2+offset, size); in test_one()
33 printf("%02x ", s2[i]); in test_one()
44 char *s2; in testcase() local
53 s2 = memalign(128, SIZE); in testcase()
54 if (!s2) { in testcase()
68 memcpy(s2, s1, SIZE); in testcase()
72 s2[change] = random() & 0xff; in testcase()
74 test_one(s1, s2); in testcase()
86 memcpy(s2, s1, SIZE); in testcase()
91 s2[change] = random() & 0xff; in testcase()
94 test_one(s1, s2); in testcase()