Home
last modified time | relevance | path

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

/ndk/sources/host-tools/sed-4.2.1/lib/
Dregex_internal.h387 Idx cur_idx; member
445 ((pstr)->mbs[(pstr)->cur_idx + offset])
447 ((pstr)->mbs[(pstr)->cur_idx++])
453 #define re_string_eoi(pstr) ((pstr)->stop <= (pstr)->cur_idx)
454 #define re_string_cur_idx(pstr) ((pstr)->cur_idx)
458 #define re_string_skip_bytes(pstr,idx) ((pstr)->cur_idx += (idx))
459 #define re_string_set_index(pstr,idx) ((pstr)->cur_idx = (idx))
Dregexec.c69 Idx cur_idx, Idx nmatch) internal_function;
1563 regmatch_t *prev_idx_match, Idx cur_node, Idx cur_idx, Idx nmatch) in update_regs() argument
1573 pmatch[reg_num].rm_so = cur_idx; in update_regs()
1583 if (pmatch[reg_num].rm_so < cur_idx) in update_regs()
1585 pmatch[reg_num].rm_eo = cur_idx; in update_regs()
1603 pmatch[reg_num].rm_eo = cur_idx; in update_regs()
2356 Idx cur_idx = re_string_cur_idx (&mctx->input); in merge_state_with_log() local
2358 if (cur_idx > mctx->state_log_top) in merge_state_with_log()
2360 mctx->state_log[cur_idx] = next_state; in merge_state_with_log()
2361 mctx->state_log_top = cur_idx; in merge_state_with_log()
[all …]
Dregex_internal.c830 pstr->cur_idx = 0; in re_string_reconstruct()
847 && ! re_string_is_single_byte_char (pstr, pstr->cur_idx + idx)) in internal_function()
851 off = pstr->cur_idx + idx; in internal_function()
891 if (!re_string_first_byte (pstr, pstr->cur_idx)) in internal_function()
894 off = pstr->offsets[pstr->cur_idx]; in internal_function()
901 re_string_char_size_at (pstr, pstr->cur_idx)); in internal_function()
906 return pstr->raw_mbs[pstr->raw_mbs_idx + pstr->cur_idx++]; in internal_function()