Lines Matching refs:wc
61 unsigned short wc = mac_roman_2uni[c-0x80];
62 if (wc != 0xfffd) {
63 *pwc = (ucs4_t) wc;
140 mac_roman_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n)
143 if (wc < 0x0080) {
144 *r = wc;
147 switch(wc) { // single-character mapping
162 if (wc >= 0x00a0 && wc < 0x0100)
163 c = mac_roman_page00[wc-0x00a0];
164 else if (wc >= 0x0130 && wc < 0x0198)
165 c = mac_roman_page01[wc-0x0130];
166 else if (wc >= 0x02c0 && wc < 0x02e0)
167 c = mac_roman_page02[wc-0x02c0];
168 else if (wc >= 0x03a8 && wc < 0x03c8)
169 c = mac_roman_page03[wc-0x03a8];
170 else if (wc >= 0x2010 && wc < 0x2048)
171 c = mac_roman_page20[wc-0x2010];
172 else if (wc >= 0x2200 && wc < 0x2268)
173 c = mac_roman_page22[wc-0x2200];
174 else if (wc >= 0xfb00 && wc < 0xfb08)
175 c = mac_roman_pagefb[wc-0xfb00];