Lines Matching refs:u16
37 u16 sjis;
38 u16 unicode;
45 static u16 SearchUnicodeTable(u16 unicode, SjisUtf16Pare * tblp, int elem_num);
59 void ExSJIS_BEtoUTF16_LE(u8 *sjisp, u16 *unip, u16 length) in ExSJIS_BEtoUTF16_LE()
61 u16 code; in ExSJIS_BEtoUTF16_LE()
68 code = (u16)((u16)*sjisp++ << 8); in ExSJIS_BEtoUTF16_LE()
69 code |= (u16)*sjisp++; in ExSJIS_BEtoUTF16_LE()
73 code = (u16)*sjisp++; in ExSJIS_BEtoUTF16_LE()
98 *unip = (u16)((code - 0x00a1) + 0xff61); in ExSJIS_BEtoUTF16_LE()
109 *unip = (u16)((code - 0x824f) + 0xff10); in ExSJIS_BEtoUTF16_LE()
114 *unip = (u16)((code - 0x8260) + 0xff21); in ExSJIS_BEtoUTF16_LE()
119 *unip = (u16)((code - 0x8281) + 0xff41); in ExSJIS_BEtoUTF16_LE()
124 *unip = (u16)((code - 0x829f) + 0x3041); in ExSJIS_BEtoUTF16_LE()
129 *unip = (u16)((code - 0x8340) + 0x30a1); in ExSJIS_BEtoUTF16_LE()
142 *unip = (u16)((code - 0x839f) + 0x0391); in ExSJIS_BEtoUTF16_LE()
149 *unip = (u16)((code - 0x83bf) + 0x03b1); in ExSJIS_BEtoUTF16_LE()
156 *unip = (u16)((code - 0x8440) + 0x0410); in ExSJIS_BEtoUTF16_LE()
169 *unip = (u16)((code - 0x8470) + 0x0430); in ExSJIS_BEtoUTF16_LE()
206 void ExUTF16_LEtoSJIS_BE(u8 *sjisp, u16 *unip, u16 length) in ExUTF16_LEtoSJIS_BE()
208 u16 code, sjis_le; in ExUTF16_LEtoSJIS_BE()
249 sjis_le = (u16)((code - 0xff61) + 0x00a1); in ExUTF16_LEtoSJIS_BE()
261 sjis_le = (u16)((code - 0xff10) + 0x824f); in ExUTF16_LEtoSJIS_BE()
266 sjis_le = (u16)((code - 0xff21) + 0x8260); in ExUTF16_LEtoSJIS_BE()
271 sjis_le = (u16)((code - 0xff41) + 0x8281); in ExUTF16_LEtoSJIS_BE()
285 sjis_le = (u16)((code - 0x3041) + 0x829f); in ExUTF16_LEtoSJIS_BE()
290 sjis_le = (u16)((code - 0x30a1) + 0x8340); in ExUTF16_LEtoSJIS_BE()
306 sjis_le = (u16)((code - 0x0391) + 0x839f); in ExUTF16_LEtoSJIS_BE()
313 sjis_le = (u16)((code - 0x03b1) + 0x83bf); in ExUTF16_LEtoSJIS_BE()
325 sjis_le = (u16)((code - 0x0410) + 0x8440); in ExUTF16_LEtoSJIS_BE()
334 sjis_le = (u16)((code - 0x0430) + 0x8470); in ExUTF16_LEtoSJIS_BE()
379 static u16 SearchUnicodeTable(u16 unicode, SjisUtf16Pare * tblp, int elem_num) in SearchUnicodeTable()
399 u16 sjis, sjis_be, rev_sjis, sjis_le; in CheckSJIS_BEtoUTF16_LE()
400 u16 unicode; in CheckSJIS_BEtoUTF16_LE()
409 sjis_le = (u16)((rev_sjis >> 8) | (rev_sjis << 8)); in CheckSJIS_BEtoUTF16_LE()
418 sjis_be = (u16)((sjis >> 8) | (sjis << 8)); in CheckSJIS_BEtoUTF16_LE()
421 sjis_le = (u16)((rev_sjis >> 8) | (rev_sjis << 8)); in CheckSJIS_BEtoUTF16_LE()