Home
last modified time | relevance | path

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

/ndk/sources/host-tools/sed-4.2.1/lib/
Dregex_internal.c61 pstr->valid_len = (pstr->mbs_allocated || dfa->mb_cur_max > 1) ? 0 : len; in re_string_allocate()
62 pstr->valid_raw_len = pstr->valid_len; in re_string_allocate()
97 if (pstr->bufs_len > pstr->valid_len + dfa->mb_cur_max) in re_string_construct()
120 pstr->valid_len = pstr->bufs_len; in re_string_construct()
220 for (byte_idx = pstr->valid_len; byte_idx < end_idx;) in build_wcs_buffer()
264 pstr->valid_len = byte_idx; in build_wcs_buffer()
285 byte_idx = pstr->valid_len; in build_wcs_upper_buffer()
356 pstr->valid_len = byte_idx; in build_wcs_upper_buffer()
479 pstr->valid_len = byte_idx; in build_wcs_upper_buffer()
536 for (char_idx = pstr->valid_len; char_idx < end_idx; ++char_idx) in build_upper_buffer()
[all …]
Dregex_internal.h381 Idx valid_len; member
449 ((idx) == (pstr)->valid_len || (pstr)->wcs[idx] != WEOF)
451 ((pstr)->wcs[idx] != WEOF && ((pstr)->valid_len == (idx) + 1 \
814 for (byte_idx = 1; idx + byte_idx < pstr->valid_len; ++byte_idx) in internal_function()
Dregexec.c937 (pmatch[reg_idx].rm_so == mctx.input.valid_len in re_search_internal()
941 (pmatch[reg_idx].rm_eo == mctx.input.valid_len in re_search_internal()
1181 || (BE (next_char_idx >= mctx->input.valid_len, 0) in check_matching()
1182 && mctx->input.valid_len < mctx->input.len)) in check_matching()
1759 || (next_state_log_idx >= mctx->input.valid_len in clean_state_log_if_needed()
1760 && mctx->input.valid_len < mctx->input.len)) in clean_state_log_if_needed()
2763 if (BE (bkref_str_off + sl_str_diff > mctx->input.valid_len, 0)) in get_subexp()
2810 if (BE (bkref_str_off >= mctx->input.valid_len, 0)) in get_subexp()