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
14 wchar_t start; member
24 #define free_UCSname(COMP) kfree((COMP)->name)
31 wchar_t *anchor = ucs1; /* save the start of result string */ in UniStrcpy()
47 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_le()
51 while (n--) /* Pad with nulls */ in UniStrncpy_le()
57 * UniStrncmp_le: Compare length limited string - native to little-endian
64 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { in UniStrncmp_le()
68 return (int) *ucs1 - (int) __le16_to_cpu(*ucs2); in UniStrncmp_le()
72 * UniStrncpy_to_le: Copy length limited string with pad to little-endian
79 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_to_le()
83 while (n--) /* Pad with nulls */ in UniStrncpy_to_le()
89 * UniStrncpy_from_le: Copy length limited string with pad from little-endian
96 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_from_le()
100 while (n--) /* Pad with nulls */ in UniStrncpy_from_le()
116 while (rp->start) { in UniToupper()
117 if (uc < rp->start) /* Before start of range */ in UniToupper()
119 if (uc <= rp->end) /* In range */ in UniToupper()
120 return uc + rp->table[uc - rp->start]; in UniToupper()
133 wchar_t *up; in UniStrupr() local
135 up = upin; in UniStrupr()
136 while (*up) { /* For all characters */ in UniStrupr()
137 *up = UniToupper(*up); in UniStrupr()
138 up++; in UniStrupr()