Searched refs:utf_val (Results 1 – 1 of 1) sorted by relevance
693 unsigned long utf_val; /* unicode code */ in iso_cns_to_utf() local712 utf_val = cns1_utf_tab[unidx].value; in iso_cns_to_utf()717 utf_val = cns2_utf_tab[unidx].value; in iso_cns_to_utf()722 utf_val = cns3_utf_tab[unidx].value; in iso_cns_to_utf()736 if (utf_val >= 0x0080 && utf_val <= 0x07ff) { in iso_cns_to_utf()741 *buf = ((utf_val >> 6) & 0x1f) | 0xc0; in iso_cns_to_utf()742 *(buf+1) = (utf_val & 0x3f) | MSB; in iso_cns_to_utf()745 if (utf_val >= 0x0800 && utf_val <= 0xffff) { in iso_cns_to_utf()750 *buf = ((utf_val >> 12) & 0x0f) | 0xe0; in iso_cns_to_utf()751 *(buf+1) = ((utf_val >> 6) & 0x3f) | MSB; in iso_cns_to_utf()[all …]