Lines Matching refs:s2
38 simple_wcscmp (const wchar_t *s1, const wchar_t *s2) in simple_wcscmp() argument
44 c2 = *s2++; in simple_wcscmp()
64 simple_strcmp (const char *s1, const char *s2) in simple_strcmp() argument
68 while ((ret = *(unsigned char *) s1 - *(unsigned char*) s2++) == 0 && *s1++); in simple_strcmp()
83 const CHAR *s1, const CHAR *s2, in do_one_test() argument
92 CALL (impl, s1, s2); in do_one_test()
107 CHAR *s1, *s2; in do_test() local
133 s2 = (CHAR *)(buf2 + align2); in do_test()
136 s1[i] = s2[i] = 1 + (23 << ((CHARBYTES - 1) * 8)) * i % max_char; in do_test()
138 s1[len] = s2[len] = 0; in do_test()
140 s2[len + 1] = 24 + exp_result; in do_test()
141 s2[len - 1] -= exp_result; in do_test()
150 do_one_test (json_ctx, impl, s1, s2, exp_result); in do_test()
157 do_one_test_page_boundary (json_ctx_t *json_ctx, CHAR *s1, CHAR *s2, in do_one_test_page_boundary() argument
167 do_one_test (json_ctx, impl, s1, s2, exp_result); in do_one_test_page_boundary()
182 CHAR *s2 = (CHAR *) (buf2 + (BUF1PAGES - 1) * page_size); in do_test_page_boundary() local
186 memset (s2, 'a', page_size); in do_test_page_boundary()
189 s2[(page_size / CHARBYTES) - 1] = (CHAR) 0; in do_test_page_boundary()
202 CHAR *s2p = s2 + align2; in do_test_page_boundary()