Home | History | Annotate | Download | only in wtf

Lines Matching refs:s1

34 int strcasecmp(const char* s1, const char* s2)
36 while (toASCIIUpper(*s1) == toASCIIUpper(*s2)) {
37 if (*s1 == '\0')
39 s1++;
43 return toASCIIUpper(*s1) - toASCIIUpper(*s2);
46 int strncasecmp(const char* s1, const char* s2, size_t len)
48 while (len > 0 && toASCIIUpper(*s1) == toASCIIUpper(*s2)) {
49 if (*s1 == '\0')
51 s1++;
59 return toASCIIUpper(*s1) - toASCIIUpper(*s2);