Lines Matching defs:remain_len
212 int byte_idx, end_idx, remain_len;
223 remain_len = end_idx - byte_idx;
230 for (i = 0; i < pstr->mb_cur_max && i < remain_len; ++i)
239 mbclen = __mbrtowc (&wc, p, remain_len, &pstr->cur_state);
260 for (remain_len = byte_idx + mbclen - 1; byte_idx < remain_len ;)
275 int src_idx, byte_idx, end_idx, remain_len;
308 remain_len = end_idx - byte_idx;
312 + byte_idx), remain_len, &pstr->cur_state);
335 for (remain_len = byte_idx + mbclen - 1; byte_idx < remain_len ;)
367 remain_len = end_idx - byte_idx;
373 for (i = 0; i < pstr->mb_cur_max && i < remain_len; ++i)
382 mbclen = __mbrtowc (&wc, p, remain_len, &pstr->cur_state);
452 for (remain_len = byte_idx + mbclen - 1; byte_idx < remain_len ;)
503 int remain_len = pstr->raw_len - rawbuf_idx;
506 remain_len, &pstr->cur_state);
510 if (mbclen == 0 || remain_len == 0)