Searched refs:ucs2 (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/fs/nls/ |
H A D | nls_ucs2_utils.h | 57 while ((*ucs1++ = *ucs2++)) in UniStrcat() 91 ucs2++; in UniStrcmp() 93 return (int)*ucs1 - (int)*ucs2; in UniStrcmp() 103 while ((*ucs1++ = *ucs2++)) in UniStrcpy() 148 ucs2++; in UniStrncat() 163 ucs2++; in UniStrncmp() 178 ucs2++; in UniStrncmp_le() 191 *ucs1++ = *ucs2++; in UniStrncpy() 228 if (*ucs1 == *ucs2) { in UniStrstr() 231 ucs2++; in UniStrstr() [all …]
|
/openbmc/linux/fs/jfs/ |
H A D | jfs_unicode.h | 22 static inline wchar_t *UniStrcpy(wchar_t * ucs1, const wchar_t * ucs2) in UniStrcpy() argument 26 while ((*ucs1++ = *ucs2++)); in UniStrcpy() 40 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_le() 41 *ucs1++ = *ucs2++; in UniStrncpy_le() 57 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { in UniStrncmp_le() 59 ucs2++; in UniStrncmp_le() 61 return (int) *ucs1 - (int) __le16_to_cpu(*ucs2); in UniStrncmp_le() 72 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_to_le() 73 *ucs1++ = cpu_to_le16(*ucs2++); in UniStrncpy_to_le() 89 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_from_le() [all …]
|
/openbmc/linux/fs/exfat/ |
H 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()
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_hii.c | 152 struct efi_hii_sibt_string_ucs2_block *ucs2; in add_strings_package() local 154 ucs2 = (void *)block; in add_strings_package() 156 block = efi_hii_sibt_string_ucs2_block_next(ucs2); in add_strings_package() 195 struct efi_hii_sibt_string_ucs2_block *ucs2; in add_strings_package() local 197 ucs2 = (void *)block; in add_strings_package() 198 EFI_PRINT("%4u: \"%ls\"\n", idx + 1, ucs2->string_text); in add_strings_package() 200 u16_strdup(ucs2->string_text); in add_strings_package() 207 block = efi_hii_sibt_string_ucs2_block_next(ucs2); in add_strings_package()
|