Lines Matching refs:s1
37 int strnicmp(const char *s1, const char *s2, size_t len) in strnicmp() argument
46 c1 = *s1++; in strnicmp()
63 int strcasecmp(const char *s1, const char *s2) in strcasecmp() argument
68 c1 = tolower(*s1++); in strcasecmp()
77 int strncasecmp(const char *s1, const char *s2, size_t n) in strncasecmp() argument
82 c1 = tolower(*s1++); in strncasecmp()
523 bool sysfs_streq(const char *s1, const char *s2) in sysfs_streq() argument
525 while (*s1 && *s1 == *s2) { in sysfs_streq()
526 s1++; in sysfs_streq()
530 if (*s1 == *s2) in sysfs_streq()
532 if (!*s1 && *s2 == '\n' && !s2[1]) in sysfs_streq()
534 if (*s1 == '\n' && !s1[1] && !*s2) in sysfs_streq()
695 char *strstr(const char *s1, const char *s2) in strstr() argument
701 return (char *)s1; in strstr()
702 l1 = strlen(s1); in strstr()
705 if (!memcmp(s1, s2, l2)) in strstr()
706 return (char *)s1; in strstr()
707 s1++; in strstr()
721 char *strnstr(const char *s1, const char *s2, size_t len) in strnstr() argument
727 return (char *)s1; in strnstr()
730 if (!memcmp(s1, s2, l2)) in strnstr()
731 return (char *)s1; in strnstr()
732 s1++; in strnstr()