Home
last modified time | relevance | path

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

/ndk/sources/host-tools/sed-4.2.1/lib/
Dregex_internal.c97 if (pstr->bufs_len > pstr->valid_len + dfa->mb_cur_max) in re_string_construct()
99 ret = re_string_realloc_buffers (pstr, pstr->bufs_len * 2); in re_string_construct()
120 pstr->valid_len = pstr->bufs_len; in re_string_construct()
121 pstr->valid_raw_len = pstr->bufs_len; in re_string_construct()
166 pstr->bufs_len = new_buf_len; in re_string_realloc_buffers()
219 end_idx = (pstr->bufs_len > pstr->len) ? pstr->len : pstr->bufs_len; in build_wcs_buffer()
286 end_idx = (pstr->bufs_len > pstr->len) ? pstr->len : pstr->bufs_len; in build_wcs_upper_buffer()
397 if (byte_idx + mbcdlen > pstr->bufs_len) in build_wcs_upper_buffer()
405 pstr->offsets = re_malloc (Idx, pstr->bufs_len); in build_wcs_upper_buffer()
429 end_idx = (pstr->bufs_len > pstr->len) in build_wcs_upper_buffer()
[all …]
Dregexec.c725 if (BE (SIZE_MAX / sizeof (re_dfastate_t *) <= mctx.input.bufs_len, 0)) in re_search_internal()
731 mctx.state_log = re_malloc (re_dfastate_t *, mctx.input.bufs_len + 1); in re_search_internal()
1180 if (BE (next_char_idx >= mctx->input.bufs_len, 0) in check_matching()
1758 if (next_state_log_idx >= mctx->input.bufs_len in clean_state_log_if_needed()
4135 if (BE (SIZE_MAX / 2 / sizeof (re_dfastate_t *) <= pstr->bufs_len, 0)) in extend_buffers()
4139 ret = re_string_realloc_buffers (pstr, pstr->bufs_len * 2); in extend_buffers()
4150 pstr->bufs_len + 1); in extend_buffers()
Dregex_internal.h385 Idx bufs_len; member