Home
last modified time | relevance | path

Searched refs:ucs4 (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/iconv_modules/ja/common/
H A DUTF-8-ms932_TO_UTF-8.c63 unsigned int ucs4; in _icv_iconv() local
85 if (utf8_ucs(&ucs4, &ip, &ileft) == (size_t)-1) { in _icv_iconv()
91 if (ucs4 == 0xff5e) /* FULLWIDTH TILDE */ in _icv_iconv()
92 ucs4 = 0x301c; /* WAVE DASH */ in _icv_iconv()
93 else if (ucs4 == 0x2225) /* PARALLEL TO */ in _icv_iconv()
94 ucs4 = 0x2016; /* DOUBLE VERTICAL BAR/LINE */ in _icv_iconv()
95 else if (ucs4 == 0xff0d) /* FULLWIDTH MINUS SIGN */ in _icv_iconv()
96 ucs4 = 0x2212; /* MINUS SIGN */ in _icv_iconv()
97 else if (ucs4 == 0xffe0) /* FULLWIDTH CENT SIGN */ in _icv_iconv()
98 ucs4 = 0x00a2; /* CENT SIGN */ in _icv_iconv()
[all …]
H A DUTF-8_TO_UTF-8-ms932.c63 unsigned int ucs4; in _icv_iconv() local
85 if (utf8_ucs(&ucs4, &ip, &ileft) == (size_t)-1) { in _icv_iconv()
91 if (ucs4 == 0x301c) /* WAVE DASH */ in _icv_iconv()
92 ucs4 = 0xff5e; /* FULLWIDTH TILDE */ in _icv_iconv()
93 else if (ucs4 == 0x2016) /* DOUBLE VERTICAL BAR/LINE */ in _icv_iconv()
94 ucs4 = 0x2225; /* PARALLEL TO */ in _icv_iconv()
95 else if (ucs4 == 0x2212) /* MINUS SIGN */ in _icv_iconv()
96 ucs4 = 0xff0d; /* FULLWIDTH MINUS SIGN */ in _icv_iconv()
97 else if (ucs4 == 0x00a2) /* CENT SIGN */ in _icv_iconv()
98 ucs4 = 0xffe0; /* FULLWIDTH CENT SIGN */ in _icv_iconv()
[all …]
H A DUnicode_TO_eucJP.c65 unsigned int ucs4; in _icv_iconv() local
88 GETU(&ucs4); in _icv_iconv()
90 if (ucs4 > 0xffff) { in _icv_iconv()
95 euc16 = _jfp_ucs2_to_euc16((unsigned short)ucs4); in _icv_iconv()
H A DUnicode_TO_PCK.c75 unsigned int ucs4; in _icv_iconv() local
99 GETU(&ucs4); in _icv_iconv()
101 if (ucs4 > 0xffff) { in _icv_iconv()
105 euc16 = _jfp_ucs2_to_euc16((unsigned short)ucs4); in _icv_iconv()
H A DUTF-8_TO_ISO-2022-JP.c81 unsigned int ucs4; in _icv_iconv() local
121 if (utf8_ucs(&ucs4, &ip, &ileft) == (size_t)-1) { in _icv_iconv()
127 if (ucs4 > 0xffff) { in _icv_iconv()
138 euc16 = _jfp_ucs2_to_euc16((unsigned short)ucs4); in _icv_iconv()
/illumos-gate/usr/src/boot/efi/libefi/
H A Defichar.c124 uint32_t ucs4; in utf8_to_ucs2() local
136 ucs4 = 0; in utf8_to_ucs2()
149 ucs4 = c & 0x07; in utf8_to_ucs2()
152 ucs4 = c & 0x0f; in utf8_to_ucs2()
155 ucs4 = c & 0x1f; in utf8_to_ucs2()
158 ucs4 = c & 0x7f; in utf8_to_ucs2()
164 ucs4 = (ucs4 << 6) + (c & 0x3f); in utf8_to_ucs2()
171 if (ucs4 > 0xffff) in utf8_to_ucs2()
173 *nm++ = (CHAR16)ucs4; in utf8_to_ucs2()
/illumos-gate/usr/src/uts/common/kiconv/kiconv_ja/
H A Dkiconv_ja.c430 uint_t ucs4; in _do_kiconv_to_eucjp() local
453 KICONV_JA_GETU(&ucs4, 0); in _do_kiconv_to_eucjp()
455 if (ucs4 > 0xffff) { in _do_kiconv_to_eucjp()
462 KICONV_JA_CNV_U2_TO_EUCJPMS(id, euc16, ucs4); in _do_kiconv_to_eucjp()
464 euc16 = kiconv_ja_ucs2_to_euc16((ushort_t)ucs4); in _do_kiconv_to_eucjp()
666 uint_t ucs4; in _do_kiconvstr_to_eucjp() local
691 KICONV_JA_GETU(&ucs4, flag); in _do_kiconvstr_to_eucjp()
693 if (ucs4 == 0x0 && do_not_ignore_null) { in _do_kiconvstr_to_eucjp()
697 if (ucs4 > 0xffff) { in _do_kiconvstr_to_eucjp()
704 KICONV_JA_CNV_U2_TO_EUCJPMS(id, euc16, ucs4); in _do_kiconvstr_to_eucjp()
[all …]
/illumos-gate/usr/src/lib/iconv_modules/zh/common/
H A Dzh_TW-euc%UTF-8.c502 uint_t ucs4, disp; in getUnicodeFromUDA() local
508 return (ucs4 = (0xf << 16) | (disp & 0xffff)); in getUnicodeFromUDA()