Searched refs:clen (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/upstream-freebsd/lib/libc/gen/ |
D | glob.c | 195 size_t clen; in glob() local 220 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 …]
|
/bionic/libc/stdio/ |
D | printf_common.h | 719 size_t clen, nbytes; in wcsconv() local 738 clen = wcrtomb(buf, *p++, &mbs); in wcsconv() 739 if (clen == 0 || clen == (size_t)-1 || nbytes + clen > (size_t)prec) break; in wcsconv() 740 nbytes += clen; in wcsconv() 742 if (clen == (size_t)-1) return nullptr; in wcsconv()
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | engine.c | 168 size_t clen; in stepback() local 179 clen = mbrtowc(NULL, ret - mbc, mbc, &mbs); in stepback() 180 if (clen != (size_t)-1 && clen != (size_t)-2) in stepback() 891 size_t i, clen; in walk() local 922 clen = 0; in walk() 924 clen = XMBRTOWC(&c, p, (size_t)(m->endp - p), in walk() 992 if (EQ(st, empty) || p == stop || clen > (size_t)(stop - p)) in walk() 1006 p += clen; in walk()
|
D | regcomp.c | 1397 size_t clen; local 1400 if ((clen = mbrtowc(&wc, sp, len, &mbs)) == len) 1402 else if (clen == (size_t)-1 || clen == (size_t)-2) 2048 size_t clen = wcrtomb(buf, (int)OPND(s), &mbs); local 2049 if (clen == (size_t)-1) 2051 newlen += (sopno)clen; 2177 size_t clen = wcrtomb(cp, (int)OPND(s), &mbs); local 2178 assert(clen != (size_t)-1); 2179 cp += clen;
|