Lines Matching refs:s2
44 int strncasecmp(const char *s1, const char *s2, size_t len) in strncasecmp() argument
54 c2 = *s2++; in strncasecmp()
70 int strcasecmp(const char *s1, const char *s2) in strcasecmp() argument
76 c2 = tolower(*s2++); in strcasecmp()
701 bool sysfs_streq(const char *s1, const char *s2) in sysfs_streq() argument
703 while (*s1 && *s1 == *s2) { in sysfs_streq()
705 s2++; in sysfs_streq()
708 if (*s1 == *s2) in sysfs_streq()
710 if (!*s1 && *s2 == '\n' && !s2[1]) in sysfs_streq()
712 if (*s1 == '\n' && !s1[1] && !*s2) in sysfs_streq()
1012 char *strstr(const char *s1, const char *s2) in strstr() argument
1016 l2 = strlen(s2); in strstr()
1022 if (!memcmp(s1, s2, l2)) in strstr()
1038 char *strnstr(const char *s1, const char *s2, size_t len) in strnstr() argument
1042 l2 = strlen(s2); in strnstr()
1047 if (!memcmp(s1, s2, l2)) in strnstr()