Home
last modified time | relevance | path

Searched refs:mbclen (Results 1 – 1 of 1) sorted by relevance

/haiku/src/system/libroot/posix/glibc/regex/
H A Dregex_internal.c220 size_t mbclen; in build_wcs_buffer() local
246 mbclen = __mbrtowc (&wc, p, remain_len, &pstr->cur_state); in build_wcs_buffer()
247 if (BE (mbclen == (size_t) -1 || mbclen == 0 in build_wcs_buffer()
248 || (mbclen == (size_t) -2 && pstr->bufs_len >= pstr->len), 0)) in build_wcs_buffer()
251 mbclen = 1; in build_wcs_buffer()
257 else if (BE (mbclen == (size_t) -2, 0)) in build_wcs_buffer()
267 for (remain_len = byte_idx + mbclen - 1; byte_idx < remain_len ;) in build_wcs_buffer()
283 size_t mbclen; in build_wcs_upper_buffer() local
317 mbclen = __mbrtowc (&wc, in build_wcs_upper_buffer()
320 if (BE (0 < mbclen && mbclen < (size_t) -2, 1)) in build_wcs_upper_buffer()
[all …]