Lines Matching refs:charlen
148 int charlen; in uni16_to_x8() local
155 charlen = nls->uni2char(ec, op, NLS_MAX_CHARSET_SIZE); in uni16_to_x8()
156 if (charlen > 0) { in uni16_to_x8()
157 op += charlen; in uni16_to_x8()
158 len -= charlen; in uni16_to_x8()
195 int charlen; in fat_short2uni() local
197 charlen = t->char2uni(c, clen, uni); in fat_short2uni()
198 if (charlen < 0) { in fat_short2uni()
200 charlen = 1; in fat_short2uni()
202 return charlen; in fat_short2uni()
209 int charlen; in fat_short2lower_uni() local
212 charlen = t->char2uni(c, clen, &wc); in fat_short2lower_uni()
213 if (charlen < 0) { in fat_short2lower_uni()
215 charlen = 1; in fat_short2lower_uni()
216 } else if (charlen <= 1) { in fat_short2lower_uni()
222 charlen = t->char2uni(&nc, 1, uni); in fat_short2lower_uni()
223 if (charlen < 0) { in fat_short2lower_uni()
225 charlen = 1; in fat_short2lower_uni()
230 return charlen; in fat_short2lower_uni()