Home
last modified time | relevance | path

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

/dragonfly/contrib/grep/lib/
HDregex_internal.c68 pstr->valid_len = (pstr->mbs_allocated || dfa->mb_cur_max > 1) ? 0 : len; in re_string_allocate()
69 pstr->valid_raw_len = pstr->valid_len; in re_string_allocate()
104 if (pstr->bufs_len > pstr->valid_len + dfa->mb_cur_max) in re_string_construct()
127 pstr->valid_len = pstr->bufs_len; in re_string_construct()
226 for (byte_idx = pstr->valid_len; byte_idx < end_idx;) in build_wcs_buffer()
272 pstr->valid_len = byte_idx; in build_wcs_buffer()
293 byte_idx = pstr->valid_len; in build_wcs_upper_buffer()
365 pstr->valid_len = byte_idx; in build_wcs_upper_buffer()
488 pstr->valid_len = byte_idx; in build_wcs_upper_buffer()
543 for (char_idx = pstr->valid_len; char_idx < end_idx; ++char_idx) in build_upper_buffer()
[all …]
HDregex_internal.h386 Idx valid_len; member
437 ((idx) == (pstr)->valid_len || (pstr)->wcs[idx] != WEOF)
439 ((pstr)->wcs[idx] != WEOF && ((pstr)->valid_len == (idx) + 1 \
809 for (byte_idx = 1; idx + byte_idx < pstr->valid_len; ++byte_idx) in re_string_char_size_at()
HDregexec.c865 (pmatch[reg_idx].rm_so == mctx.input.valid_len in re_search_internal()
869 (pmatch[reg_idx].rm_eo == mctx.input.valid_len in re_search_internal()
1109 || (__glibc_unlikely (next_char_idx >= mctx->input.valid_len) in check_matching()
1110 && mctx->input.valid_len < mctx->input.len)) in check_matching()
1280 if (mctx->input.valid_len - *pidx < naccepted in proceed_next_node()
1676 || (next_state_log_idx >= mctx->input.valid_len in clean_state_log_if_needed()
1677 && mctx->input.valid_len < mctx->input.len)) in clean_state_log_if_needed()
2669 > mctx->input.valid_len)) in get_subexp()
2716 if (__glibc_unlikely (bkref_str_off >= mctx->input.valid_len)) in get_subexp()
/dragonfly/contrib/cvs-1.12/lib/
HDregex_internal.c58 pstr->valid_len = (pstr->mbs_allocated || dfa->mb_cur_max > 1) ? 0 : len; in re_string_allocate()
59 pstr->valid_raw_len = pstr->valid_len; in re_string_allocate()
94 if (pstr->bufs_len > pstr->valid_len + dfa->mb_cur_max) in re_string_construct()
117 pstr->valid_len = pstr->bufs_len; in re_string_construct()
210 for (byte_idx = pstr->valid_len; byte_idx < end_idx;) in build_wcs_buffer()
254 pstr->valid_len = byte_idx; in build_wcs_buffer()
275 byte_idx = pstr->valid_len; in build_wcs_upper_buffer()
346 pstr->valid_len = byte_idx; in build_wcs_upper_buffer()
469 pstr->valid_len = byte_idx; in build_wcs_upper_buffer()
519 for (char_idx = pstr->valid_len; char_idx < end_idx; ++char_idx) in build_upper_buffer()
[all …]
HDregex_internal.h373 Idx valid_len; member
442 ((idx) == (pstr)->valid_len || (pstr)->wcs[idx] != WEOF)
444 ((pstr)->wcs[idx] != WEOF && ((pstr)->valid_len == (idx) + 1 \
864 for (byte_idx = 1; idx + byte_idx < pstr->valid_len; ++byte_idx) in internal_function()
HDregexec.c894 (pmatch[reg_idx].rm_so == mctx.input.valid_len in re_search_internal()
898 (pmatch[reg_idx].rm_eo == mctx.input.valid_len in re_search_internal()
1128 || (BE (next_char_idx >= mctx->input.valid_len, 0) in check_matching()
1129 && mctx->input.valid_len < mctx->input.len)) in check_matching()
1709 || (next_state_log_idx >= mctx->input.valid_len in clean_state_log_if_needed()
1710 && mctx->input.valid_len < mctx->input.len)) in clean_state_log_if_needed()
2708 if (BE (bkref_str_off + sl_str_diff > mctx->input.valid_len, 0)) in get_subexp()
2754 if (BE (bkref_str_off >= mctx->input.valid_len, 0)) in get_subexp()