/freebsd/usr.bin/m4/ |
H A D | gnum4.c | 282 if (n > (int)re->re_nsub) in add_sub() 337 while ((error = regexec(re, string, re->re_nsub+1, pm, flags)) == 0) { in do_subst() 376 switch(error = regexec(re, string, re->re_nsub+1, pm, 0)) { in do_regexp() 394 switch(error = regexec(re, string, re->re_nsub+1, pm, 0)) { in do_regexpindex() 499 pmatch = xreallocarray(NULL, re.re_nsub+1, sizeof(regmatch_t), in dopatsubst() 533 pmatch = xreallocarray(NULL, re.re_nsub+1, sizeof(regmatch_t), NULL); in doregexp()
|
/freebsd/bin/ed/ |
H A D | sub.c | 192 pat->re_nsub)) < 0) in substitute_matching_text() 224 apply_subst_template(const char *boln, regmatch_t *rm, int off, int re_nsub) in apply_subst_template() argument 239 (n = *sub - '0') <= re_nsub) { in apply_subst_template()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | Regex.cpp | 80 return preg->re_nsub; in getNumMatches() 93 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; in match()
|
H A D | regex_impl.h | 50 size_t re_nsub; /* number of parenthesized subexpressions */ member
|
H A D | regcomp.c | 374 preg->re_nsub = g->nsub; in llvm_regcomp()
|
/freebsd/contrib/nvi/regex/ |
H A D | regex.h | 51 size_t re_nsub; /* number of parenthesized subexpressions */ member
|
H A D | regcomp.c | 269 preg->re_nsub = g->nsub; in regcomp()
|
/freebsd/include/ |
H A D | regex.h | 52 size_t re_nsub; /* number of parenthesized subexpressions */ member
|
/freebsd/libexec/getty/ |
H A D | subr.c | 475 match = calloc(regex.re_nsub + 1, sizeof(*match)); in edithost() 481 found = !regexec(®ex, HN, regex.re_nsub + 1, match, 0); in edithost() 491 subex = !!regex.re_nsub; in edithost()
|
/freebsd/usr.bin/sed/ |
H A D | compile.c | 548 if (maxnsub < rep->re_nsub) in compile_re() 549 maxnsub = rep->re_nsub; in compile_re() 606 ref > s->re->re_nsub) in compile_subst()
|
H A D | process.c | 393 if (defpreg != NULL && cp->u.s->maxbref > defpreg->re_nsub) { in substitute()
|
/freebsd/contrib/libarchive/tar/ |
H A D | subst.c | 275 if ((size_t)(c - '0') > (size_t)(rule->re.re_nsub)) { in apply_substitution()
|
/freebsd/bin/pax/ |
H A D | pat_rep.c | 989 subexcnt = rp->re_nsub; in resub()
|
/freebsd/bin/expr/ |
H A D | expr.y | 552 if (rp.re_nsub == 0) in op_colon()
|
/freebsd/lib/libc/regex/ |
H A D | regcomp.c | 330 preg->re_nsub = g->nsub; in regcomp_internal()
|
/freebsd/contrib/sendmail/src/ |
H A D | map.c | 7695 substrings = map_p->regex_pattern_buf->re_nsub + 1; 7812 (int) map_p->regex_pattern_buf->re_nsub + 1) == -1)
|
/freebsd/contrib/bmake/ |
H A D | var.c | 3034 args.nsub = args.re.re_nsub + 1; in ApplyModifier_Regex()
|
/freebsd/sys/contrib/openzfs/lib/libnvpair/ |
H A D | libnvpair.abi | 383 <var-decl name='re_nsub' type-id='b59d7dce' visibility='default'/>
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs.abi | 2122 <var-decl name='re_nsub' type-id='b59d7dce' visibility='default'/>
|