Searched refs:ucs2 (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/fs/ksmbd/ |
D | unicode.h | 81 static inline wchar_t *UniStrcat(wchar_t *ucs1, const wchar_t *ucs2) in UniStrcat() argument 88 while ((*ucs1++ = *ucs2++)) in UniStrcat() 118 static inline int UniStrcmp(const wchar_t *ucs1, const wchar_t *ucs2) in UniStrcmp() argument 120 while ((*ucs1 == *ucs2) && *ucs1) { in UniStrcmp() 122 ucs2++; in UniStrcmp() 124 return (int)*ucs1 - (int)*ucs2; in UniStrcmp() 130 static inline wchar_t *UniStrcpy(wchar_t *ucs1, const wchar_t *ucs2) in UniStrcpy() argument 134 while ((*ucs1++ = *ucs2++)) in UniStrcpy() 170 static inline wchar_t *UniStrncat(wchar_t *ucs1, const wchar_t *ucs2, size_t n) in UniStrncat() argument 177 while (n-- && (*ucs1 = *ucs2)) { /* copy s2 after s1 */ in UniStrncat() [all …]
|
/linux-5.19.10/fs/cifs/ |
D | cifs_unicode.h | 118 UniStrcat(__le16 *ucs1, const __le16 *ucs2) in UniStrcat() argument 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() 159 ucs2++; in UniStrcmp() 161 return (int) *ucs1 - (int) *ucs2; in UniStrcmp() 168 UniStrcpy(wchar_t *ucs1, const wchar_t *ucs2) in UniStrcpy() argument 172 while ((*ucs1++ = *ucs2++)) ; in UniStrcpy() 210 UniStrncat(wchar_t *ucs1, const wchar_t *ucs2, size_t n) in UniStrncat() argument 216 while (n-- && (*ucs1 = *ucs2)) { /* copy s2 after s1 */ in UniStrncat() [all …]
|
/linux-5.19.10/fs/jfs/ |
D | jfs_unicode.h | 29 static inline wchar_t *UniStrcpy(wchar_t * ucs1, const wchar_t * ucs2) in UniStrcpy() argument 33 while ((*ucs1++ = *ucs2++)); in UniStrcpy() 42 static inline __le16 *UniStrncpy_le(__le16 * ucs1, const __le16 * ucs2, in UniStrncpy_le() argument 47 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_le() 48 *ucs1++ = *ucs2++; 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 && --n) { in UniStrncmp_le() 66 ucs2++; in UniStrncmp_le() 68 return (int) *ucs1 - (int) __le16_to_cpu(*ucs2); in UniStrncmp_le() 74 static inline __le16 *UniStrncpy_to_le(__le16 * ucs1, const wchar_t * ucs2, in UniStrncpy_to_le() argument [all …]
|
/linux-5.19.10/fs/exfat/ |
D | nls.c | 406 const unsigned char *ch, int ch_len, unsigned short *ucs2, in exfat_convert_char_to_ucs2() argument 411 *ucs2 = 0x0; in exfat_convert_char_to_ucs2() 414 *ucs2 = ch[0]; in exfat_convert_char_to_ucs2() 418 len = nls->char2uni(ch, ch_len, ucs2); in exfat_convert_char_to_ucs2() 423 *ucs2 = '_'; in exfat_convert_char_to_ucs2() 430 unsigned short ucs2, unsigned char *ch, int *lossy) in exfat_convert_ucs2_to_char() argument 436 if (ucs2 < 0x0080) { in exfat_convert_ucs2_to_char() 437 ch[0] = ucs2; in exfat_convert_ucs2_to_char() 441 len = nls->uni2char(ucs2, ch, MAX_CHARSET_SIZE); in exfat_convert_ucs2_to_char()
|
/linux-5.19.10/fs/vboxsf/ |
D | shfl_hostintf.h | 73 u16 ucs2[1]; /* misnomer, use utf16. */ member
|