Searched refs:ucs2 (Results 1 – 5 of 5) sorted by relevance
/linux-6.3-rc2/fs/ksmbd/ |
A D | unicode.h | 89 while ((*ucs1++ = *ucs2++)) in UniStrcat() 123 ucs2++; in UniStrcmp() 125 return (int)*ucs1 - (int)*ucs2; in UniStrcmp() 135 while ((*ucs1++ = *ucs2++)) in UniStrcpy() 180 ucs2++; in UniStrncat() 195 ucs2++; in UniStrncmp() 210 ucs2++; in UniStrncmp_le() 223 *ucs1++ = *ucs2++; in UniStrncpy() 260 if (*ucs1 == *ucs2) { in UniStrstr() 263 ucs2++; in UniStrstr() [all …]
|
/linux-6.3-rc2/fs/cifs/ |
A D | cifs_unicode.h | 159 ucs2++; in UniStrcmp() 172 while ((*ucs1++ = *ucs2++)) ; in UniStrcpy() 218 ucs2++; in UniStrncat() 234 ucs2++; in UniStrncmp() 249 ucs2++; in UniStrncmp_le() 263 *ucs1++ = *ucs2++; in UniStrncpy() 299 const wchar_t *anchor2 = ucs2; in UniStrstr() 302 if (*ucs1 == *ucs2) { in UniStrstr() 305 ucs2++; in UniStrstr() 307 if (!*ucs2) /* Match found */ in UniStrstr() [all …]
|
/linux-6.3-rc2/fs/jfs/ |
A 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() 47 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_le() 48 *ucs1++ = *ucs2++; in UniStrncpy_le() 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() 79 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_to_le() 80 *ucs1++ = cpu_to_le16(*ucs2++); in UniStrncpy_to_le() 96 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_from_le() [all …]
|
/linux-6.3-rc2/fs/exfat/ |
A 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-6.3-rc2/fs/vboxsf/ |
A D | shfl_hostintf.h | 73 u16 ucs2[1]; /* misnomer, use utf16. */ member
|
Completed in 15 milliseconds