Home
last modified time | relevance | path

Searched refs:num_submatches (Results 1 – 12 of 12) sorted by relevance

/third_party/musl/porting/liteos_m/kernel/src/regex/
Dregcomp.c91 int num_submatches; member
183 node->num_submatches = arg->num_submatches; in tre_ast_new_iter()
201 node->num_submatches = left->num_submatches + right->num_submatches; in tre_ast_new_union()
219 node->num_submatches = left->num_submatches + right->num_submatches; in tre_ast_new_catenation()
766 n->num_submatches = node->num_submatches; in marksub()
770 node->num_submatches++; in marksub()
1126 c->right->num_submatches = 0; in tre_add_tag_left()
1157 c->left->num_submatches = 0; in tre_add_tag_right()
1229 regset = xmalloc(sizeof(*regset) * ((tnfa->num_submatches + 1) * 2)); in tre_add_tags()
1235 parents = xmalloc(sizeof(*parents) * (tnfa->num_submatches + 1)); in tre_add_tags()
[all …]
Dregexec.c661 if (tnfa->num_submatches) in tre_tnfa_run_backtrack()
663 pmatch = xmalloc(sizeof(*pmatch) * tnfa->num_submatches); in tre_tnfa_run_backtrack()
942 while (i < tnfa->num_submatches && i < nmatch) in tre_fill_pmatch()
964 while (i < tnfa->num_submatches && i < nmatch) in tre_fill_pmatch()
Dtre.h161 unsigned int num_submatches; member
/third_party/musl/porting/liteos_m_iccarm/kernel/src/regex/
Dregcomp.c91 int num_submatches; member
183 node->num_submatches = arg->num_submatches; in tre_ast_new_iter()
201 node->num_submatches = left->num_submatches + right->num_submatches; in tre_ast_new_union()
219 node->num_submatches = left->num_submatches + right->num_submatches; in tre_ast_new_catenation()
766 n->num_submatches = node->num_submatches; in marksub()
770 node->num_submatches++; in marksub()
1127 c->right->num_submatches = 0; in tre_add_tag_left()
1158 c->left->num_submatches = 0; in tre_add_tag_right()
1230 regset = xmalloc(sizeof(*regset) * ((tnfa->num_submatches + 1) * 2)); in tre_add_tags()
1236 parents = xmalloc(sizeof(*parents) * (tnfa->num_submatches + 1)); in tre_add_tags()
[all …]
Dregexec.c661 if (tnfa->num_submatches) in tre_tnfa_run_backtrack()
663 pmatch = xmalloc(sizeof(*pmatch) * tnfa->num_submatches); in tre_tnfa_run_backtrack()
942 while (i < tnfa->num_submatches && i < nmatch) in tre_fill_pmatch()
964 while (i < tnfa->num_submatches && i < nmatch) in tre_fill_pmatch()
Dtre.h162 unsigned int num_submatches; member
/third_party/musl/src/regex/
Dregcomp.c91 int num_submatches; member
183 node->num_submatches = arg->num_submatches; in tre_ast_new_iter()
201 node->num_submatches = left->num_submatches + right->num_submatches; in tre_ast_new_union()
219 node->num_submatches = left->num_submatches + right->num_submatches; in tre_ast_new_catenation()
766 n->num_submatches = node->num_submatches; in marksub()
770 node->num_submatches++; in marksub()
1126 c->right->num_submatches = 0; in tre_add_tag_left()
1157 c->left->num_submatches = 0; in tre_add_tag_right()
1229 regset = xmalloc(sizeof(*regset) * ((tnfa->num_submatches + 1) * 2)); in tre_add_tags()
1235 parents = xmalloc(sizeof(*parents) * (tnfa->num_submatches + 1)); in tre_add_tags()
[all …]
Dregexec.c661 if (tnfa->num_submatches) in tre_tnfa_run_backtrack()
663 pmatch = xmalloc(sizeof(*pmatch) * tnfa->num_submatches); in tre_tnfa_run_backtrack()
942 while (i < tnfa->num_submatches && i < nmatch) in tre_fill_pmatch()
964 while (i < tnfa->num_submatches && i < nmatch) in tre_fill_pmatch()
Dtre.h160 unsigned int num_submatches; member
/third_party/musl/porting/uniproton/kernel/src/regex/
Dregcomp.c91 int num_submatches; member
183 node->num_submatches = arg->num_submatches; in tre_ast_new_iter()
201 node->num_submatches = left->num_submatches + right->num_submatches; in tre_ast_new_union()
219 node->num_submatches = left->num_submatches + right->num_submatches; in tre_ast_new_catenation()
766 n->num_submatches = node->num_submatches; in marksub()
770 node->num_submatches++; in marksub()
1126 c->right->num_submatches = 0; in tre_add_tag_left()
1157 c->left->num_submatches = 0; in tre_add_tag_right()
1229 regset = xmalloc(sizeof(*regset) * ((tnfa->num_submatches + 1) * 2)); in tre_add_tags()
1235 parents = xmalloc(sizeof(*parents) * (tnfa->num_submatches + 1)); in tre_add_tags()
[all …]
Dregexec.c661 if (tnfa->num_submatches) in tre_tnfa_run_backtrack()
663 pmatch = xmalloc(sizeof(*pmatch) * tnfa->num_submatches); in tre_tnfa_run_backtrack()
942 while (i < tnfa->num_submatches && i < nmatch) in tre_fill_pmatch()
964 while (i < tnfa->num_submatches && i < nmatch) in tre_fill_pmatch()
Dtre.h161 unsigned int num_submatches; member