/kernel/linux/linux-6.6/fs/nls/ |
H A D | nls_ucs2_utils.h | 50 static inline wchar_t *UniStrcat(wchar_t *ucs1, const wchar_t *ucs2) in UniStrcat() argument 52 wchar_t *anchor = ucs1; /* save a pointer to start of ucs1 */ in UniStrcat() 54 while (*ucs1++) in UniStrcat() 56 ucs1--; /* Return to the null */ in UniStrcat() 57 while ((*ucs1++ = *ucs2++)) in UniStrcat() 87 static inline int UniStrcmp(const wchar_t *ucs1, const wchar_t *ucs2) in UniStrcmp() argument 89 while ((*ucs1 == *ucs2) && *ucs1) { in UniStrcmp() 90 ucs1 in UniStrcmp() 99 UniStrcpy(wchar_t *ucs1, const wchar_t *ucs2) UniStrcpy() argument 111 UniStrlen(const wchar_t *ucs1) UniStrlen() argument 124 UniStrnlen(const wchar_t *ucs1, int maxlen) UniStrnlen() argument 139 UniStrncat(wchar_t *ucs1, const wchar_t *ucs2, size_t n) UniStrncat() argument 157 UniStrncmp(const wchar_t *ucs1, const wchar_t *ucs2, size_t n) UniStrncmp() argument 172 UniStrncmp_le(const wchar_t *ucs1, const wchar_t *ucs2, size_t n) UniStrncmp_le() argument 186 UniStrncpy(wchar_t *ucs1, const wchar_t *ucs2, size_t n) UniStrncpy() argument 202 UniStrncpy_le(wchar_t *ucs1, const wchar_t *ucs2, size_t n) UniStrncpy_le() argument 222 UniStrstr(const wchar_t *ucs1, const wchar_t *ucs2) UniStrstr() argument [all...] |
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | cifs_unicode.h | 118 UniStrcat(__le16 *ucs1, const __le16 *ucs2) in UniStrcat() argument 120 __le16 *anchor = ucs1; /* save a pointer to start of ucs1 */ in UniStrcat() 122 while (*ucs1++) ; /* To end of first string */ in UniStrcat() 123 ucs1--; /* Return to the null */ in UniStrcat() 124 while ((*ucs1++ = *ucs2++)) ; /* copy string 2 over */ in UniStrcat() 155 UniStrcmp(const wchar_t *ucs1, const wchar_t *ucs2) in UniStrcmp() argument 157 while ((*ucs1 == *ucs2) && *ucs1) { in UniStrcmp() 158 ucs1 in UniStrcmp() 168 UniStrcpy(wchar_t *ucs1, const wchar_t *ucs2) UniStrcpy() argument 180 UniStrlen(const wchar_t *ucs1) UniStrlen() argument 194 UniStrnlen(const wchar_t *ucs1, int maxlen) UniStrnlen() argument 210 UniStrncat(wchar_t *ucs1, const wchar_t *ucs2, size_t n) UniStrncat() argument 228 UniStrncmp(const wchar_t *ucs1, const wchar_t *ucs2, size_t n) UniStrncmp() argument 243 UniStrncmp_le(const wchar_t *ucs1, const wchar_t *ucs2, size_t n) UniStrncmp_le() argument 258 UniStrncpy(wchar_t *ucs1, const wchar_t *ucs2, size_t n) UniStrncpy() argument 275 UniStrncpy_le(wchar_t *ucs1, const wchar_t *ucs2, size_t n) UniStrncpy_le() argument 296 UniStrstr(const wchar_t *ucs1, const wchar_t *ucs2) UniStrstr() argument [all...] |
/kernel/linux/linux-5.10/fs/jfs/ |
H A D | jfs_unicode.h | 29 static inline wchar_t *UniStrcpy(wchar_t * ucs1, const wchar_t * ucs2) in UniStrcpy() argument 31 wchar_t *anchor = ucs1; /* save the start of result string */ in UniStrcpy() 33 while ((*ucs1++ = *ucs2++)); in UniStrcpy() 42 static inline __le16 *UniStrncpy_le(__le16 * ucs1, const __le16 * ucs2, in UniStrncpy_le() argument 45 __le16 *anchor = ucs1; in UniStrncpy_le() 48 *ucs1++ = *ucs2++; in UniStrncpy_le() 52 *ucs1++ = 0; in UniStrncpy_le() 59 static inline int UniStrncmp_le(const wchar_t * ucs1, const __le16 * ucs2, in UniStrncmp_le() argument 64 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 in UniStrncmp_le() 74 UniStrncpy_to_le(__le16 * ucs1, const wchar_t * ucs2, size_t n) UniStrncpy_to_le() argument 91 UniStrncpy_from_le(wchar_t * ucs1, const __le16 * ucs2, size_t n) UniStrncpy_from_le() argument [all...] |
/kernel/linux/linux-6.6/fs/jfs/ |
H A D | jfs_unicode.h | 22 static inline wchar_t *UniStrcpy(wchar_t * ucs1, const wchar_t * ucs2) in UniStrcpy() argument 24 wchar_t *anchor = ucs1; /* save the start of result string */ in UniStrcpy() 26 while ((*ucs1++ = *ucs2++)); in UniStrcpy() 35 static inline __le16 *UniStrncpy_le(__le16 * ucs1, const __le16 * ucs2, in UniStrncpy_le() argument 38 __le16 *anchor = ucs1; in UniStrncpy_le() 41 *ucs1++ = *ucs2++; in UniStrncpy_le() 45 *ucs1++ = 0; in UniStrncpy_le() 52 static inline int UniStrncmp_le(const wchar_t * ucs1, const __le16 * ucs2, in UniStrncmp_le() argument 57 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 in UniStrncmp_le() 67 UniStrncpy_to_le(__le16 * ucs1, const wchar_t * ucs2, size_t n) UniStrncpy_to_le() argument 84 UniStrncpy_from_le(wchar_t * ucs1, const __le16 * ucs2, size_t n) UniStrncpy_from_le() argument [all...] |