Lines Matching refs:clen
179 size_t clen; in glob() local
203 clen = mbrtowc(&wc, patnext, MB_LEN_MAX, &mbs); in glob()
204 if (clen == (size_t)-1 || clen == (size_t)-2) in glob()
206 else if (clen == 0) in glob()
209 patnext += clen; in glob()
223 clen = mbrtowc(&wc, patnext, MB_LEN_MAX, &mbs); in glob()
224 if (clen == (size_t)-1 || clen == (size_t)-2) in glob()
226 else if (clen == 0) in glob()
229 patnext += clen; in glob()
654 size_t clen; in glob3() local
664 clen = mbrtowc(&wc, sc, MB_LEN_MAX, &mbs); in glob3()
665 if (clen == (size_t)-1 || clen == (size_t)-2) { in glob3()
667 clen = 1; in glob3()
672 sc += clen; in glob3()
888 size_t clen; in g_Ctoc() local
892 clen = wcrtomb(buf, *str, &mbs); in g_Ctoc()
893 if (clen == (size_t)-1) in g_Ctoc()
898 buf += clen; in g_Ctoc()
899 len -= clen; in g_Ctoc()