Searched refs:re_nsub (Results 1 - 25 of 25) sorted by relevance

/freebsd-11-stable/include/
H A Dregex.h53 size_t re_nsub; /* number of parenthesized subexpressions */ member in struct:__anon6527
/freebsd-11-stable/contrib/nvi/regex/
H A Dregex.h51 size_t re_nsub; /* number of parenthesized subexpressions */ member in struct:__anon5036
H A Dregcomp.c269 preg->re_nsub = g->nsub;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A Dregex_impl.h50 size_t re_nsub; /* number of parenthesized subexpressions */ member in struct:llvm_regex
H A DRegex.cpp79 return preg->re_nsub;
92 unsigned nmatch = Matches ? preg->re_nsub+1 : 0;
H A Dregcomp.c374 preg->re_nsub = g->nsub;
/freebsd-11-stable/usr.bin/m4/
H A Dgnum4.c284 if (n > (int)re->re_nsub)
339 while ((error = regexec(re, string, re->re_nsub+1, pm, flags)) == 0) {
378 switch(error = regexec(re, string, re->re_nsub+1, pm, 0)) {
396 switch(error = regexec(re, string, re->re_nsub+1, pm, 0)) {
501 pmatch = xreallocarray(NULL, re.re_nsub+1, sizeof(regmatch_t),
535 pmatch = xreallocarray(NULL, re.re_nsub+1, sizeof(regmatch_t), NULL);
/freebsd-11-stable/bin/ed/
H A Dsub.c194 pat->re_nsub)) < 0)
226 apply_subst_template(const char *boln, regmatch_t *rm, int off, int re_nsub) argument
241 (n = *sub - '0') <= re_nsub) {
/freebsd-11-stable/libexec/getty/
H A Dsubr.c482 match = calloc(regex.re_nsub + 1, sizeof(*match));
488 found = !regexec(&regex, HN, regex.re_nsub + 1, match, 0);
498 subex = !!regex.re_nsub;
/freebsd-11-stable/contrib/gcclibs/include/
H A Dxregex2.h327 compiled, the `re_nsub' field is available. All other fields are
363 size_t re_nsub;
373 for `max (RE_NREGS, re_nsub + 1)' groups.
360 size_t re_nsub; member in struct:re_pattern_buffer
/freebsd-11-stable/contrib/binutils/include/
H A Dxregex2.h327 compiled, the `re_nsub' field is available. All other fields are
363 size_t re_nsub;
373 for `max (RE_NREGS, re_nsub + 1)' groups.
360 size_t re_nsub; member in struct:re_pattern_buffer
/freebsd-11-stable/contrib/libgnuregex/
H A Dregex.h345 the fields `re_nsub', `not_bol' and `not_eol' are available. All
389 size_t re_nsub;
398 for `max (RE_NREGS, re_nsub + 1)' groups.
386 size_t re_nsub; member in struct:re_pattern_buffer
H A Dregcomp.c446 `re_nsub' to the number of subexpressions in PATTERN.
746 preg->re_nsub = 0;
796 preg->re_nsub = 0;
1167 dfa->subexp_map = re_malloc (int, preg->re_nsub);
1171 for (i = 0; i < preg->re_nsub; i++)
1174 for (i = 0; i < preg->re_nsub; i++)
1177 if (i == preg->re_nsub)
1200 if ((!preg->no_sub && preg->re_nsub > 0 && dfa->has_plural_match)
2455 cur_nsub = preg->re_nsub++;
H A Dregexec.c444 regs->num_regs < bufp->re_nsub + 1, 0))
455 nregs = bufp->re_nsub + 1;
659 extra_nmatch = (nmatch > preg->re_nsub) ? nmatch - (preg->re_nsub + 1) : 0;
/freebsd-11-stable/contrib/gdb/include/
H A Dxregex2.h324 compiled, the `re_nsub' field is available. All other fields are
360 size_t re_nsub;
370 for `max (RE_NREGS, re_nsub + 1)' groups.
357 size_t re_nsub; member in struct:re_pattern_buffer
/freebsd-11-stable/contrib/libarchive/tar/
H A Dsubst.c278 if ((size_t)(c - '0') > (size_t)(rule->re.re_nsub)) {
/freebsd-11-stable/usr.bin/sed/
H A Dcompile.c459 if (maxnsub < rep->re_nsub)
460 maxnsub = rep->re_nsub;
517 ref > s->re->re_nsub)
H A Dprocess.c395 if (defpreg != NULL && cp->u.s->maxbref > defpreg->re_nsub) {
/freebsd-11-stable/bin/expr/
H A Dexpr.y556 if (rp.re_nsub == 0)
/freebsd-11-stable/bin/pax/
H A Dpat_rep.c1084 subexcnt = rp->re_nsub;
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dregex.c496 the range 0 to one less than the pattern buffer's re_nsub
505 number, in the range 0 to one less than `re_nsub' in the
1162 printf ("re_nsub: %Zd\t", bufp->re_nsub);
1164 printf ("re_nsub: %ld\t", (long int) bufp->re_nsub);
2279 `re_nsub' is the number of subexpressions in PATTERN;
2423 bufp->re_nsub = 0;
3670 bufp->re_nsub++;
4197 int num_regs = bufp->re_nsub
[all...]
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dregex.c496 the range 0 to one less than the pattern buffer's re_nsub
505 number, in the range 0 to one less than `re_nsub' in the
1162 printf ("re_nsub: %Zd\t", bufp->re_nsub);
1164 printf ("re_nsub: %ld\t", (long int) bufp->re_nsub);
2279 `re_nsub' is the number of subexpressions in PATTERN;
2423 bufp->re_nsub = 0;
3670 bufp->re_nsub++;
4197 int num_regs = bufp->re_nsub
[all...]
/freebsd-11-stable/lib/libc/regex/
H A Dregcomp.c334 preg->re_nsub = g->nsub;
/freebsd-11-stable/contrib/bmake/
H A Dvar.c3471 pattern.nsub = pattern.re.re_nsub + 1;
/freebsd-11-stable/contrib/sendmail/src/
H A Dmap.c7429 substrings = map_p->regex_pattern_buf->re_nsub + 1;
7539 (int) map_p->regex_pattern_buf->re_nsub + 1) == -1)

Completed in 378 milliseconds