Searched refs:ucs2 (Results 1 – 3 of 3) sorted by relevance
95 #define PUTUCS2(ucs2, msg) \ argument96 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);\
69974 _jfp_ucs2_to_euc16(_jfp_ucs2_t ucs2) in _jfp_ucs2_to_euc16() argument69978 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()
68 kiconv_ja_ucs2_to_euc16(kiconv_ja_ucs2_t ucs2) in kiconv_ja_ucs2_to_euc16() argument72 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()