Lines Matching defs:buf
62 unsigned char buf[2];
63 buf[0] = 2*t1 + (t2 < 0x5e ? 0 : 1) + 0x21;
64 buf[1] = (t2 < 0x5e ? t2 : t2-0x5e) + 0x21;
65 return jisx0208_mbtowc(conv,pwc,buf,2);
85 unsigned char buf[2];
89 ret = jisx0201_wctomb(conv,buf,wc,1);
93 c = buf[0];
101 ret = jisx0208_wctomb(conv,buf,wc,2);
107 c1 = buf[0];
108 c2 = buf[1];