Searched refs:clen (Results 1 – 2 of 2) sorted by relevance
195 size_t clen; in glob() local220 clen = mbrtowc(&wc, patnext, MB_LEN_MAX, &mbs); in glob()221 if (clen == (size_t)-1 || clen == (size_t)-2) in glob()223 else if (clen == 0) { in glob()228 patnext += clen; in glob()242 clen = mbrtowc(&wc, patnext, MB_LEN_MAX, &mbs); in glob()243 if (clen == (size_t)-1 || clen == (size_t)-2) in glob()245 else if (clen == 0) { in glob()250 patnext += clen; in glob()429 size_t clen; in globtilde() local[all …]
694 size_t clen, nbytes; in wcsconv() local713 clen = wcrtomb(buf, *p++, &mbs); in wcsconv()714 if (clen == 0 || clen == (size_t)-1 || nbytes + clen > (size_t)prec) break; in wcsconv()715 nbytes += clen; in wcsconv()717 if (clen == (size_t)-1) return nullptr; in wcsconv()