Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/kiconv/kiconv_sc/
H A Dkiconv_sc.c126 uint32_t gb_val; in kiconv_fr_gb18030() local
178 gb_val = (uint32_t)(*ib) << 24 | in kiconv_fr_gb18030()
190 gb_val = (uint32_t)(*ib) << 8 | *(ib + 1); in kiconv_fr_gb18030()
193 sz = gbk_to_utf8(gb_val, ob, obtail, &ret_val, isgbk4); in kiconv_fr_gb18030()
224 uint32_t gb_val; in kiconvstr_fr_gb18030() local
273 gb_val = (uint32_t)(*ib) << 24 | in kiconvstr_fr_gb18030()
290 gb_val = (uint32_t)(*ib) << 8 | *(ib + 1); in kiconvstr_fr_gb18030()
293 sz = gbk_to_utf8(gb_val, ob, obtail, &ret_val, isgbk4); in kiconvstr_fr_gb18030()
356 uint32_t gb_val; in kiconv_fr_gbk() local
410 gb_val = (uint32_t)(*ib) << 8 | *(ib + 1); in kiconv_fr_gbk()
[all …]
/titanic_50/usr/src/lib/iconv_modules/zh/common/
H A Dzh_TW-big5%zh_CN.euc.c174 unsigned long gb_val; in big5_to_gb2312() local
186 gb_val = big5_gb_tab[index].value; in big5_to_gb2312()
187 *buf = (gb_val >> 8) & ONEBYTE; in big5_to_gb2312()
188 *(buf + 1) = gb_val & ONEBYTE; in big5_to_gb2312()
H A Dzh_CN.euc%zh_TW-big5.c174 unsigned long gb_val; /* GB2312 value */ in gb2312_to_big5() local
183 gb_val = ((keepc[0] & ONEBYTE) << 8) + (keepc[1] & ONEBYTE); in gb2312_to_big5()
184 index = binsearch(gb_val, gb_big5_tab, BIG5MAX); in gb2312_to_big5()