Lines Matching +full:start +full:- +full:up

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
49 wchar_t start; member
84 wchar_t *anchor = ucs1; /* save a pointer to start of ucs1 */ in UniStrcat()
88 ucs1--; /* Return to the null */ in UniStrcat()
125 return (int)*ucs1 - (int)*ucs2; in UniStrcmp()
133 wchar_t *anchor = ucs1; /* save the start of result string */ in UniStrcpy()
177 ucs1--; /* point to null terminator of s1 */ in UniStrncat()
178 while (n-- && (*ucs1 = *ucs2)) { /* copy s2 after s1 */ in UniStrncat()
193 while ((*ucs1 == *ucs2) && *ucs1 && --n) { in UniStrncmp()
197 return (int)*ucs1 - (int)*ucs2; in UniStrncmp()
201 * UniStrncmp_le: Compare length limited string - native to little-endian
208 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { in UniStrncmp_le()
212 return (int)*ucs1 - (int)__le16_to_cpu(*ucs2); in UniStrncmp_le()
222 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy()
226 while (n--) /* Pad with nulls */ in UniStrncpy()
232 * UniStrncpy_le: Copy length limited string with pad to little-endian
238 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_le()
242 while (n--) /* Pad with nulls */ in UniStrncpy_le()
291 while (rp->start) { in UniToupper()
292 if (uc < rp->start) /* Before start of range */ in UniToupper()
294 if (uc <= rp->end) /* In range */ in UniToupper()
295 return uc + rp->table[uc - rp->start]; in UniToupper()
306 register __le16 *up; in UniStrupr() local
308 up = upin; in UniStrupr()
309 while (*up) { /* For all characters */ in UniStrupr()
310 *up = cpu_to_le16(UniToupper(le16_to_cpu(*up))); in UniStrupr()
311 up++; in UniStrupr()
331 while (rp->start) { in UniTolower()
332 if (uc < rp->start) /* Before start of range */ in UniTolower()
334 if (uc <= rp->end) /* In range */ in UniTolower()
335 return uc + rp->table[uc - rp->start]; in UniTolower()
346 register wchar_t *up; in UniStrlwr() local
348 up = upin; in UniStrlwr()
349 while (*up) { /* For all characters */ in UniStrlwr()
350 *up = UniTolower(*up); in UniStrlwr()
351 up++; in UniStrlwr()