Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/iconv_modules/ja/common/
H A Djapanese.h95 #define PUTUCS2(ucs2, msg) \ argument
96 if (ucs2 <= 0x7f) {\
97 NPUT((unsigned char)(ucs2), msg);\
98 } else if (ucs2 <= 0x7ff) {\
99 NPUT((unsigned char)((((ucs2)>>6) & 0x1f) | 0xc0), msg);\
100 NPUT((unsigned char)((((ucs2)>>0) & 0x3f) | 0x80), msg);\
102 NPUT((unsigned char)((((ucs2)>>12) & 0x0f) | 0xe0), msg);\
103 NPUT((unsigned char)((((ucs2)>>6) & 0x3f) | 0x80), msg);\
104 NPUT((unsigned char)((((ucs2)>>0) & 0x3f) | 0x80), msg);\
H A Djfp_ucs2_to_euc16.h69974 _jfp_ucs2_to_euc16(_jfp_ucs2_t ucs2) in _jfp_ucs2_to_euc16() argument
69978 if ((p = _jfp_tbl_ucs2_to_euc16_index[ucs2 >> 8]) != NULL) { in _jfp_ucs2_to_euc16()
69979 return (p[ucs2 & 0xff]); in _jfp_ucs2_to_euc16()
/illumos-gate/usr/src/uts/common/kiconv/kiconv_ja/
H A Dkiconv_ja.c68 kiconv_ja_ucs2_to_euc16(kiconv_ja_ucs2_t ucs2) in kiconv_ja_ucs2_to_euc16() argument
72 if ((p = kiconv_ja_ucs2_to_euc16_index[ucs2 >> 8]) != NULL) in kiconv_ja_ucs2_to_euc16()
73 return (p[ucs2 & 0xff]); in kiconv_ja_ucs2_to_euc16()