Lines Matching refs:clen
358 int clen = 0, cerr = 0, error = -1, i, shft; in istrsenvisx() local
409 clen = mbtowc(src, mbsrc, MB_LEN_MAX); in istrsenvisx()
410 if (cerr || clen < 0) { in istrsenvisx()
413 clen = 1; in istrsenvisx()
416 if (clen == 0) in istrsenvisx()
421 clen = 1; in istrsenvisx()
425 mbsrc += clen; in istrsenvisx()
427 mbslength -= clen; in istrsenvisx()
482 clen = wctomb(mbdst, *dst); in istrsenvisx()
483 if (cerr || clen < 0) { in istrsenvisx()
491 clen = 0; in istrsenvisx()
498 mbdst[clen++] = (char)( in istrsenvisx()
505 if (olen + clen > (size_t)maxolen) in istrsenvisx()
508 mbdst += clen; in istrsenvisx()
512 olen += clen; in istrsenvisx()