Lines Matching refs:wc
36 unsigned short wc = armscii_8_2uni[c-0xa0];
37 if (wc != 0xfffd) {
38 *pwc = (ucs4_t) wc;
75 armscii_8_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
78 if (wc < 0x0028) {
79 *r = (unsigned char) wc;
82 else if (wc >= 0x0028 && wc < 0x0030)
83 c = armscii_8_page00[wc-0x0028];
84 else if (wc >= 0x0030 && wc < 0x00a0)
85 c = (unsigned char) wc;
86 else if (wc >= 0x00a0 && wc < 0x00c0)
87 c = armscii_8_page00_1[wc-0x00a0];
88 else if (wc >= 0x0530 && wc < 0x0590)
89 c = armscii_8_page05[wc-0x0530];
90 else if (wc >= 0x2010 && wc < 0x2028)
91 c = armscii_8_page20[wc-0x2010];