Home
last modified time | relevance | path

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

/linux/fs/nls/
A Dnls_ucs2_utils.h57 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 …]
/linux/fs/jfs/
A Djfs_unicode.h22 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 …]
/linux/fs/exfat/
A Dnls.c406 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()

Completed in 8 milliseconds