Home
last modified time | relevance | path

Searched refs:re_nsub (Results 1 – 19 of 19) sorted by relevance

/freebsd/usr.bin/m4/
H A Dgnum4.c282 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 Dsub.c192 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 DRegex.cpp80 return preg->re_nsub; in getNumMatches()
93 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; in match()
H A Dregex_impl.h50 size_t re_nsub; /* number of parenthesized subexpressions */ member
H A Dregcomp.c374 preg->re_nsub = g->nsub; in llvm_regcomp()
/freebsd/contrib/nvi/regex/
H A Dregex.h51 size_t re_nsub; /* number of parenthesized subexpressions */ member
H A Dregcomp.c269 preg->re_nsub = g->nsub; in regcomp()
/freebsd/include/
H A Dregex.h52 size_t re_nsub; /* number of parenthesized subexpressions */ member
/freebsd/libexec/getty/
H A Dsubr.c475 match = calloc(regex.re_nsub + 1, sizeof(*match)); in edithost()
481 found = !regexec(&regex, HN, regex.re_nsub + 1, match, 0); in edithost()
491 subex = !!regex.re_nsub; in edithost()
/freebsd/usr.bin/sed/
H A Dcompile.c548 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 Dprocess.c393 if (defpreg != NULL && cp->u.s->maxbref > defpreg->re_nsub) { in substitute()
/freebsd/contrib/libarchive/tar/
H A Dsubst.c275 if ((size_t)(c - '0') > (size_t)(rule->re.re_nsub)) { in apply_substitution()
/freebsd/bin/pax/
H A Dpat_rep.c989 subexcnt = rp->re_nsub; in resub()
/freebsd/bin/expr/
H A Dexpr.y552 if (rp.re_nsub == 0) in op_colon()
/freebsd/lib/libc/regex/
H A Dregcomp.c330 preg->re_nsub = g->nsub; in regcomp_internal()
/freebsd/contrib/sendmail/src/
H A Dmap.c7695 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 Dvar.c3034 args.nsub = args.re.re_nsub + 1; in ApplyModifier_Regex()
/freebsd/sys/contrib/openzfs/lib/libnvpair/
H A Dlibnvpair.abi383 <var-decl name='re_nsub' type-id='b59d7dce' visibility='default'/>
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs.abi2122 <var-decl name='re_nsub' type-id='b59d7dce' visibility='default'/>