Home
last modified time | relevance | path

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

/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Dregcomp.c609 re_free (dfa->subexp_map); in free_dfa_content()
1110 dfa->subexp_map = re_xmalloc (Idx, preg->re_nsub); in analyze()
1111 if (dfa->subexp_map != NULL) in analyze()
1115 dfa->subexp_map[i] = i; in analyze()
1118 if (dfa->subexp_map[i] != i) in analyze()
1122 free (dfa->subexp_map); in analyze()
1123 dfa->subexp_map = NULL; in analyze()
1228 if (node->token.type == OP_BACK_REF && dfa->subexp_map) in optimize_subexps()
1231 node->token.opr.idx = dfa->subexp_map[idx]; in optimize_subexps()
1244 dfa->subexp_map[other_idx] = dfa->subexp_map[node->token.opr.idx]; in optimize_subexps()
H A Dregex_internal.h751 Idx *subexp_map; member
H A Dregexec.c917 if (dfa->subexp_map) in re_search_internal()
919 if (dfa->subexp_map[reg_idx] != reg_idx) in re_search_internal()
922 = pmatch[dfa->subexp_map[reg_idx] + 1].rm_so; in re_search_internal()
924 = pmatch[dfa->subexp_map[reg_idx] + 1].rm_eo; in re_search_internal()