Lines Matching defs:wc
119 big5hkscs2004_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
126 if (wc == 0x0304 || wc == 0x030c) {
130 r[1] = last + ((wc & 24) >> 2) - 4; /* = 0x62 or 0x64 or 0xa3 or 0xa5 */
147 if (wc < 0x0080) {
150 r[0] = (unsigned char) wc;
160 ret = big5_wctomb(conv,buf,wc,2);
173 ret = hkscs1999_wctomb(conv,buf,wc,2);
176 if ((wc & ~0x0020) == 0x00ca) {
191 ret = hkscs2001_wctomb(conv,buf,wc,2);
202 ret = hkscs2004_wctomb(conv,buf,wc,2);