Lines Matching defs:buf
39 unsigned char buf[2];
40 buf[0] = c-0x80; buf[1] = c2-0x80;
41 return jisx0208_mbtowc(conv,pwc,buf,2);
83 unsigned char buf[2];
85 buf[0] = c2-0x80; buf[1] = c3-0x80;
86 ret = jisx0212_mbtowc(conv,pwc,buf,2);
113 unsigned char buf[2];
122 ret = jisx0208_wctomb(conv,buf,wc,2);
127 r[0] = buf[0]+0x80;
128 r[1] = buf[1]+0x80;
133 ret = jisx0201_wctomb(conv,buf,wc,1);
134 if (ret != RET_ILUNI && buf[0] >= 0x80) {
139 r[1] = buf[0];
144 ret = jisx0212_wctomb(conv,buf,wc,2);
150 r[1] = buf[0]+0x80;
151 r[2] = buf[1]+0x80;