Lines Matching refs:s1
96 _DEFUN (strncmp, (s1, s2, n),
97 _CONST char *s1 _AND
105 while (n-- != 0 && *s1 == *s2)
107 if (n == 0 || *s1 == '\0')
109 s1++;
113 return (*(unsigned char *) s1) - (*(unsigned char *) s2);
122 if (!UNALIGNED (s1, s2))
125 a1 = (unsigned long*)s1;
141 s1 = (char*)a1;
145 while (n-- > 0 && *s1 == *s2)
149 if (n == 0 || *s1 == '\0')
151 s1++;
154 return (*(unsigned char *) s1) - (*(unsigned char *) s2);