Lines Matching refs:s1
202 * @s1: One string
205 * returns 0 if @s1 and @s2 are equal,
206 * < 0 if @s1 is less than @s2
207 * > 0 if @s1 is greater than @s2
210 int strcmp(const char *s1, const char *s2)
216 "0: clst %[s1],%[s2]\n"
219 " ic %[ret],0(%[s1])\n"
223 : [ret] "+&d" (ret), [s1] "+&a" (s1), [s2] "+&a" (s2)
231 static inline int clcle(const char *s1, unsigned long l1,
234 union register_pair r1 = { .even = (unsigned long)s1, .odd = l1, };
251 * @s1: The string to be searched
255 char *strstr(const char *s1, const char *s2)
261 return (char *) s1;
262 l1 = __strend(s1) - s1;
266 cc = clcle(s1, l2, s2, l2);
268 return (char *) s1;
269 s1++;
307 * @s1: One area of memory
312 int memcmp(const void *s1, const void *s2, size_t n)
316 ret = clcle(s1, n, s2, n);