Home
last modified time | relevance | path

Searched refs:ucs2 (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/fs/cifs/
Dcifs_unicode.h133 UniStrcat(__le16 *ucs1, const __le16 *ucs2) in UniStrcat() argument
139 while ((*ucs1++ = *ucs2++)) ; /* copy string 2 over */ in UniStrcat()
170 UniStrcmp(const wchar_t *ucs1, const wchar_t *ucs2) in UniStrcmp() argument
172 while ((*ucs1 == *ucs2) && *ucs1) { in UniStrcmp()
174 ucs2++; in UniStrcmp()
176 return (int) *ucs1 - (int) *ucs2; in UniStrcmp()
183 UniStrcpy(wchar_t *ucs1, const wchar_t *ucs2) in UniStrcpy() argument
187 while ((*ucs1++ = *ucs2++)) ; in UniStrcpy()
225 UniStrncat(wchar_t *ucs1, const wchar_t *ucs2, size_t n) in UniStrncat() argument
231 while (n-- && (*ucs1 = *ucs2)) { /* copy s2 after s1 */ in UniStrncat()
[all …]
/linux-4.19.296/fs/jfs/
Djfs_unicode.h42 static inline wchar_t *UniStrcpy(wchar_t * ucs1, const wchar_t * ucs2) in UniStrcpy() argument
46 while ((*ucs1++ = *ucs2++)); in UniStrcpy()
55 static inline __le16 *UniStrncpy_le(__le16 * ucs1, const __le16 * ucs2, in UniStrncpy_le() argument
60 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_le()
61 *ucs1++ = *ucs2++; in UniStrncpy_le()
72 static inline int UniStrncmp_le(const wchar_t * ucs1, const __le16 * ucs2, in UniStrncmp_le() argument
77 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { in UniStrncmp_le()
79 ucs2++; in UniStrncmp_le()
81 return (int) *ucs1 - (int) __le16_to_cpu(*ucs2); in UniStrncmp_le()
87 static inline __le16 *UniStrncpy_to_le(__le16 * ucs1, const wchar_t * ucs2, in UniStrncpy_to_le() argument
[all …]