Home
last modified time | relevance | path

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

/ndk/sources/host-tools/sed-4.2.1/lib/
Dregcomp.c648 re_free (dfa->subexp_map); in free_dfa_content()
1154 dfa->subexp_map = re_malloc (Idx, preg->re_nsub); in analyze()
1155 if (dfa->subexp_map != NULL) in analyze()
1159 dfa->subexp_map[i] = i; in analyze()
1162 if (dfa->subexp_map[i] != i) in analyze()
1166 free (dfa->subexp_map); in analyze()
1167 dfa->subexp_map = NULL; in analyze()
1272 if (node->token.type == OP_BACK_REF && dfa->subexp_map) in optimize_subexps()
1275 node->token.opr.idx = dfa->subexp_map[idx]; in optimize_subexps()
1288 dfa->subexp_map[other_idx] = dfa->subexp_map[node->token.opr.idx]; in optimize_subexps()
Dregex_internal.h699 Idx *subexp_map; member
Dregexec.c957 if (dfa->subexp_map) in re_search_internal()
959 if (dfa->subexp_map[reg_idx] != reg_idx) in re_search_internal()
962 = pmatch[dfa->subexp_map[reg_idx] + 1].rm_so; in re_search_internal()
964 = pmatch[dfa->subexp_map[reg_idx] + 1].rm_eo; in re_search_internal()