Lines Matching defs:s1
156 * @s1: One string
159 * returns 0 if @s1 and @s2 are equal,
160 * < 0 if @s1 is less than @s2
161 * > 0 if @s1 is greater than @s2
164 int strcmp(const char *s1, const char *s2)
170 "0: clst %[s1],%[s2]\n"
173 " ic %[ret],0(%[s1])\n"
177 : [ret] "+&d" (ret), [s1] "+&a" (s1), [s2] "+&a" (s2)
185 static inline int clcle(const char *s1, unsigned long l1,
188 union register_pair r1 = { .even = (unsigned long)s1, .odd = l1, };
204 * @s1: The string to be searched
208 char *strstr(const char *s1, const char *s2)
214 return (char *) s1;
215 l1 = __strend(s1) - s1;
219 cc = clcle(s1, l2, s2, l2);
221 return (char *) s1;
222 s1++;
260 * @s1: One area of memory
265 int memcmp(const void *s1, const void *s2, size_t n)
269 ret = clcle(s1, n, s2, n);