Searched refs:cur_state (Results 1 – 3 of 3) sorted by relevance
/ndk/sources/host-tools/sed-4.2.1/lib/ |
D | regex_internal.c | 226 prev_st = pstr->cur_state; in build_wcs_buffer() 241 mbclen = __mbrtowc (&wc, p, remain_len, &pstr->cur_state); in build_wcs_buffer() 245 pstr->cur_state = prev_st; in build_wcs_buffer() 255 pstr->cur_state = prev_st; in build_wcs_buffer() 297 && mbsinit (&pstr->cur_state)) in build_wcs_upper_buffer() 310 prev_st = pstr->cur_state; in build_wcs_upper_buffer() 313 + byte_idx), remain_len, &pstr->cur_state); in build_wcs_upper_buffer() 347 pstr->cur_state = prev_st; in build_wcs_upper_buffer() 352 pstr->cur_state = prev_st; in build_wcs_upper_buffer() 367 prev_st = pstr->cur_state; in build_wcs_upper_buffer() [all …]
|
D | regexec.c | 1124 re_dfastate_t *cur_state; in check_matching() local 1129 cur_state = acquire_init_state_context (&err, mctx, cur_str_idx); in check_matching() 1131 if (BE (cur_state == NULL, 0)) in check_matching() 1139 mctx->state_log[cur_str_idx] = cur_state; in check_matching() 1146 err = check_subexp_matching_top (mctx, &cur_state->nodes, 0); in check_matching() 1150 if (cur_state->has_backref) in check_matching() 1152 err = transit_state_bkref (mctx, &cur_state->nodes); in check_matching() 1160 if (BE (cur_state->halt, 0)) in check_matching() 1162 if (!cur_state->has_constraint in check_matching() 1163 || check_halt_state_context (mctx, cur_state, cur_str_idx)) in check_matching() [all …]
|
D | regex_internal.h | 375 mbstate_t cur_state; member
|