Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/expr/
H A Dcompile.c213 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()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dregexp.c89 re->re_nbra = env->re.re_nsub; in _re_comp()
104 for (n = 1; n <= env->re.re_nsub; n++) in _re_exec()
/illumos-gate/usr/src/head/
H A Dregex.h133 size_t re_nsub; /* # of subexpressions in RE pattern */ member
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrmatch.c147 i = re->re_nsub; in strgrpmatch()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dexpr.c316 if (re.re_nsub > 0) in expr_cond()
335 else if (re.re_nsub) in expr_cond()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dregex.h189 size_t re_nsub; /* number of subexpressions */ member
/illumos-gate/usr/src/cmd/sed/
H A Dcompile.c450 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()
H A Dprocess.c386 if (defpreg != NULL && cp->u.s->maxbref > defpreg->re_nsub) { in substitute()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/
H A Dregsubcomp.c320 if (c > p->re_nsub) in regsubcomp()
H A Dregcomp.c3389 p->re_nsub = env.stats.p; in regcomp()
3391 p->re_nsub /= 2; in regcomp()
H A Dregnexec.c2007 ((regex_t*)p)->re_nsub = m; in regnexec()
/illumos-gate/usr/src/test/libc-tests/tests/regex/
H A Dtestregex.c2028 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()
/illumos-gate/usr/src/lib/libc/port/regex/
H A Dregcomp.c333 preg->re_nsub = g->nsub; in regcomp()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dmap.c6954 substrings = map_p->regex_pattern_buf->re_nsub + 1;
7064 (int) map_p->regex_pattern_buf->re_nsub + 1) == -1)