Lines Matching defs:s1
355 * @s1: first string to compare
358 * Return: 0 if the first n u16 are the same in s1 and s2
359 * < 0 if the first different u16 in s1 is less than the
361 * > 0 if the first different u16 in s1 is greater than the
363 int u16_strcasecmp(const u16 *s1, const u16 *s2)
369 c1 = utf_to_upper(utf16_get(&s1));
381 * @s1: first string to compare
384 * Return: 0 if the first n u16 are the same in s1 and s2
385 * < 0 if the first different u16 in s1 is less than the
387 * > 0 if the first different u16 in s1 is greater than the
390 int __efi_runtime u16_strncmp(const u16 *s1, const u16 *s2, size_t n)
394 for (; n; --n, ++s1, ++s2) {
395 ret = *s1 - *s2;
396 if (ret || !*s1)