Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/tre/dist/lib/
H A Dregexec.c42 tre_submatch_data_t *submatch_data; in tre_fill_pmatch() local
54 submatch_data = tnfa->submatch_data; in tre_fill_pmatch()
57 if (submatch_data[i].so_tag == tnfa->end_tag) in tre_fill_pmatch()
60 pmatch[i].rm_so = tags[submatch_data[i].so_tag]; in tre_fill_pmatch()
62 if (submatch_data[i].eo_tag == tnfa->end_tag) in tre_fill_pmatch()
65 pmatch[i].rm_eo = tags[submatch_data[i].eo_tag]; in tre_fill_pmatch()
73 submatch_data[i].so_tag, pmatch[i].rm_so, in tre_fill_pmatch()
74 submatch_data[i].eo_tag, pmatch[i].rm_eo)); in tre_fill_pmatch()
86 parents = submatch_data[i].parents; in tre_fill_pmatch()
H A Dtre-compile.c135 tnfa->submatch_data[id].so_tag = tag; in tre_purge_regset()
137 tnfa->submatch_data[id].eo_tag = tag; in tre_purge_regset()
245 tnfa->submatch_data[id].parents = NULL; in tre_add_tags()
254 assert(tnfa->submatch_data[id].parents == NULL); in tre_add_tags()
255 tnfa->submatch_data[id].parents = p; in tre_add_tags()
1867 tre_submatch_data_t *submatch_data; in tre_compile() local
1959 submatch_data = xcalloc((unsigned)parse_ctx.submatch_id, in tre_compile()
1960 sizeof(*submatch_data)); in tre_compile()
1961 if (submatch_data == NULL) in tre_compile()
1963 tnfa->submatch_data = submatch_data; in tre_compile()
[all …]
H A Dtre-internal.h236 tre_submatch_data_t *submatch_data; member