Home
last modified time | relevance | path

Searched refs:subexp_map (Results 1 – 4 of 4) sorted by relevance

/glibc-2.36/posix/
Dregcomp.c621 re_free (dfa->subexp_map); in free_dfa_content()
1177 dfa->subexp_map = re_malloc (Idx, preg->re_nsub); in analyze()
1178 if (dfa->subexp_map != NULL) in analyze()
1182 dfa->subexp_map[i] = i; in analyze()
1185 if (dfa->subexp_map[i] != i) in analyze()
1189 re_free (dfa->subexp_map); in analyze()
1190 dfa->subexp_map = NULL; in analyze()
1295 if (node->token.type == OP_BACK_REF && dfa->subexp_map) in optimize_subexps()
1298 node->token.opr.idx = dfa->subexp_map[idx]; in optimize_subexps()
1311 dfa->subexp_map[other_idx] = dfa->subexp_map[node->token.opr.idx]; in optimize_subexps()
Dregex_internal.h678 Idx *subexp_map; member
Dregexec.c885 if (dfa->subexp_map) in re_search_internal()
887 if (dfa->subexp_map[reg_idx] != reg_idx) in re_search_internal()
890 = pmatch[dfa->subexp_map[reg_idx] + 1].rm_so; in re_search_internal()
892 = pmatch[dfa->subexp_map[reg_idx] + 1].rm_eo; in re_search_internal()
/glibc-2.36/ChangeLog.old/
DChangeLog.15714 (re_dfa_t): Add subexp_map.
719 (free_dfa_content): Free subexp_map.
721 * posix/regexec.c (re_search_internal): If subexp_map