Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A Dnjh_to_utf_sub.c41 hcode_type _johap92_to_utf8(hcode_type njh_code) in _johap92_to_utf8() argument
48 if (njh_code.byte.byte3 == NJH_UDC_SEG) { in _johap92_to_utf8()
49 if ((njh_code.byte.byte4 < NJH_UDC_OFFSET1_START) || in _johap92_to_utf8()
50 (NJH_UDC_OFFSET2_END < njh_code.byte.byte4) || in _johap92_to_utf8()
51 ((NJH_UDC_OFFSET1_END < njh_code.byte.byte4) && in _johap92_to_utf8()
59 if (njh_code.byte.byte4 >= NJH_UDC_OFFSET2_START) in _johap92_to_utf8()
73 } else if (njh_code.code > NJH_HANGUL_END) { in _johap92_to_utf8()
77 node.code = njh_code.word.low; in _johap92_to_utf8()
95 x = njh_code.johap.chosung - 2; /* 2 = 'Kyoug' */ in _johap92_to_utf8()
96 y = njh_code.johap.joongsung; in _johap92_to_utf8()
[all …]
H A Dnjh_to_utf_main.c79 hcode_type njh_code, utf_code; in _icv_iconv() local
88 njh_code.code = 0; in _icv_iconv()
89 njh_code.byte.byte3 = *ib; in _icv_iconv()
90 njh_code.byte.byte4 = *(ib + 1); in _icv_iconv()
92 utf_code = _johap92_to_utf8(njh_code); in _icv_iconv()
H A Dutf_to_njh_main.c89 hcode_type utf8_code, njh_code; in _icv_iconv() local
110 njh_code = _utf8_to_johap92(utf8_code); in _icv_iconv()
112 if (njh_code.code != 0) { in _icv_iconv()
114 *ob++ = njh_code.byte.byte3; in _icv_iconv()
115 *ob++ = njh_code.byte.byte4; in _icv_iconv()