Searched refs:re_nsub (Results 1 – 14 of 14) sorted by relevance
213 nbra = (int)reg_comp.r_adv.re_nsub > 0 ? in dhl_compile()214 (int)reg_comp.r_adv.re_nsub : 0; in dhl_compile()336 for (i = 0; i <= rep->re_nsub; i++) { in dhl_doit()
89 re->re_nbra = env->re.re_nsub; in _re_comp()104 for (n = 1; n <= env->re.re_nsub; n++) in _re_exec()
133 size_t re_nsub; /* # of subexpressions in RE pattern */ member
147 i = re->re_nsub; in strgrpmatch()
316 if (re.re_nsub > 0) in expr_cond()335 else if (re.re_nsub) in expr_cond()
189 size_t re_nsub; /* number of subexpressions */ member
450 if (maxnsub < rep->re_nsub) in compile_re()451 maxnsub = rep->re_nsub; in compile_re()509 ref > s->re->re_nsub) in compile_subst()
386 if (defpreg != NULL && cp->u.s->maxbref > defpreg->re_nsub) { in substitute()
320 if (c > p->re_nsub) in regsubcomp()
3389 p->re_nsub = env.stats.p; in regcomp()3391 p->re_nsub /= 2; in regcomp()
2007 ((regex_t*)p)->re_nsub = m; in regnexec()
2028 else if (nsub != preg.re_nsub) in main()2030 if (nsub > preg.re_nsub) in main()2037 printf("at least %d expected, %d returned\n", nsub, preg.re_nsub); in main()2042 nsub = preg.re_nsub; in main()
333 preg->re_nsub = g->nsub; in regcomp()
6954 substrings = map_p->regex_pattern_buf->re_nsub + 1;7064 (int) map_p->regex_pattern_buf->re_nsub + 1) == -1)