Lines Matching refs:src_idx
277 Idx src_idx, byte_idx, end_idx, remain_len;
328 src_idx = byte_idx;
362 for (src_idx = pstr->valid_raw_len; byte_idx < end_idx;)
375 ch = pstr->raw_mbs [pstr->raw_mbs_idx + src_idx + i];
381 p = (const char *) pstr->raw_mbs + pstr->raw_mbs_idx + src_idx;
420 pstr->offsets[byte_idx] = src_idx;
424 = src_idx + (i < mbclen ? i : mbclen - 1);
428 if (pstr->raw_stop > src_idx)
433 src_idx += mbclen;
446 pstr->offsets[byte_idx + i] = src_idx + i;
448 src_idx += mbclen;
458 int ch = pstr->raw_mbs[pstr->raw_mbs_idx + src_idx];
465 pstr->offsets[byte_idx] = src_idx;
466 ++src_idx;
481 pstr->valid_raw_len = src_idx;