Lines Matching refs:s2
43 int strncasecmp(const char *s1, const char *s2, size_t len) in strncasecmp() argument
53 c2 = *s2++; in strncasecmp()
69 int strcasecmp(const char *s1, const char *s2) in strcasecmp() argument
75 c2 = tolower(*s2++); in strcasecmp()
662 bool sysfs_streq(const char *s1, const char *s2) in sysfs_streq() argument
664 while (*s1 && *s1 == *s2) { in sysfs_streq()
666 s2++; in sysfs_streq()
669 if (*s1 == *s2) in sysfs_streq()
671 if (!*s1 && *s2 == '\n' && !s2[1]) in sysfs_streq()
673 if (*s1 == '\n' && !s1[1] && !*s2) in sysfs_streq()
943 char *strstr(const char *s1, const char *s2) in strstr() argument
947 l2 = strlen(s2); in strstr()
953 if (!memcmp(s1, s2, l2)) in strstr()
969 char *strnstr(const char *s1, const char *s2, size_t len) in strnstr() argument
973 l2 = strlen(s2); in strnstr()
978 if (!memcmp(s1, s2, l2)) in strnstr()