Lines Matching refs:wc
55 char_ucs2_to_mac_roman ( unsigned char *r, ucs2_t wc)
58 if (wc < 0x0080) {
59 *r = wc;
62 else if (wc >= 0x00a0 && wc < 0x0100)
63 c = mac_roman_page00[wc-0x00a0];
64 else if (wc >= 0x0130 && wc < 0x0198)
65 c = mac_roman_page01[wc-0x0130];
66 else if (wc >= 0x02c0 && wc < 0x02e0)
67 c = mac_roman_page02[wc-0x02c0];
68 else if (wc == 0x03c0)
70 else if (wc >= 0x2010 && wc < 0x2048)
71 c = mac_roman_page20[wc-0x2010];
72 else if (wc >= 0x2120 && wc < 0x2128)
73 c = mac_roman_page21[wc-0x2120];
74 else if (wc >= 0x2200 && wc < 0x2268)
75 c = mac_roman_page22[wc-0x2200];
76 else if (wc == 0x25ca)
78 else if (wc >= 0xfb00 && wc < 0xfb08)
79 c = mac_roman_pagefb[wc-0xfb00];
80 else if (wc == 0xf8ff)
107 unsigned short wc = mac_roman_2uni[c-0x80];
108 *pwc = (ucs2_t) wc;