Lines Matching refs:s1
34 simple_strcasecmp (const char *s1, const char *s2) in simple_strcasecmp() argument
38 while ((ret = ((unsigned char) tolower (*s1) in simple_strcasecmp()
40 && *s1++) in simple_strcasecmp()
46 stupid_strcasecmp (const char *s1, const char *s2) in stupid_strcasecmp() argument
48 size_t ns1 = strlen (s1) + 1, ns2 = strlen (s2) + 1; in stupid_strcasecmp()
54 if ((ret = ((unsigned char) tolower (*s1) in stupid_strcasecmp()
57 ++s1; in stupid_strcasecmp()
64 do_one_test (impl_t *impl, const char *s1, const char *s2, int exp_result) in do_one_test() argument
66 int result = CALL (impl, s1, s2); in do_one_test()
83 char *s1, *s2; in do_test() local
96 s1 = (char *) (buf1 + align1); in do_test()
101 s1[i] = toupper (1 + 23 * i % max_char); in do_test()
102 s2[i] = tolower (s1[i]); in do_test()
105 s1[len] = s2[len] = 0; in do_test()
106 s1[len + 1] = 23; in do_test()
110 s1[len - 1] += exp_result; in do_test()
115 do_one_test (impl, s1, s2, exp_result); in do_test()