Lines Matching full:s2
203 * @s2: Another 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) in strcmp() argument
216 "0: clst %[s1],%[s2]\n" in strcmp()
220 " ic 0,0(%[s2])\n" in strcmp()
223 : [ret] "+&d" (ret), [s1] "+&a" (s1), [s2] "+&a" (s2) in strcmp()
232 const char *s2, unsigned long l2) in clcle() argument
235 union register_pair r3 = { .even = (unsigned long)s2, .odd = l2, }; in clcle()
252 * @s2: The string to search for
255 char *strstr(const char *s1, const char *s2) in strstr() argument
259 l2 = __strend(s2) - s2; in strstr()
266 cc = clcle(s1, l2, s2, l2); in strstr()
308 * @s2: Another area of memory
312 int memcmp(const void *s1, const void *s2, size_t n) in memcmp() argument
316 ret = clcle(s1, n, s2, n); in memcmp()