Lines Matching +full:start +full:- +full:up
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (C) International Business Machines Corp., 2000-2002
4 * Portions Copyright (C) Christoph Hellwig, 2001-2002
17 #define free_UCSname(COMP) kfree((COMP)->name)
24 wchar_t *anchor = ucs1; /* save the start of result string */ in UniStrcpy()
40 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_le()
44 while (n--) /* Pad with nulls */ in UniStrncpy_le()
50 * UniStrncmp_le: Compare length limited string - native to little-endian
57 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { in UniStrncmp_le()
61 return (int) *ucs1 - (int) __le16_to_cpu(*ucs2); in UniStrncmp_le()
65 * UniStrncpy_to_le: Copy length limited string with pad to little-endian
72 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_to_le()
76 while (n--) /* Pad with nulls */ in UniStrncpy_to_le()
82 * UniStrncpy_from_le: Copy length limited string with pad from little-endian
89 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_from_le()
93 while (n--) /* Pad with nulls */ in UniStrncpy_from_le()
109 while (rp->start) { in UniToupper()
110 if (uc < rp->start) /* Before start of range */ in UniToupper()
112 if (uc <= rp->end) /* In range */ in UniToupper()
113 return uc + rp->table[uc - rp->start]; in UniToupper()
126 wchar_t *up; in UniStrupr() local
128 up = upin; in UniStrupr()
129 while (*up) { /* For all characters */ in UniStrupr()
130 *up = UniToupper(*up); in UniStrupr()
131 up++; in UniStrupr()