Searched refs:nsub (Results 1 - 5 of 5) sorted by relevance

/ast/src/lib/libast/comp/
H A Dregcmp.c41 int nsub; member in struct:__anon252
72 int nsub; local
88 nsub = 0;
139 if (nsub <= j)
141 if (!nsub)
143 nsub = j + 1;
184 if (re->nsub = nsub)
185 memcpy(re->sub, sub, (nsub + 1) * sizeof(sub[0]));
206 for (n = 0; n < re->nsub;
[all...]
/ast/src/cmd/re/
H A Dtestregex.c860 matchprint(regmatch_t* match, int nmatch, int nsub, char* ans, unsigned long test) argument
864 for (; nmatch > nsub + 1; nmatch--)
884 matchcheck(regmatch_t* match, int nmatch, int nsub, char* ans, char* re, char* s, int len, int flags, unsigned long test) argument
954 matchprint(match, nmatch, nsub, ans, test);
973 matchprint(match, nmatch, nsub, ans, test);
984 matchprint(match, nmatch + 1, nsub, NiL, test);
1080 extract(int* tabs, char* spec, char* re, char* s, char* ans, char* msg, char* accept, regmatch_t* match, int nmatch, int nsub, unsigned long skip, unsigned long level, unsigned long test) argument
1127 matchprint(match, nmatch, nsub, NiL, test);
1140 catchfree(regex_t* preg, int flags, int* tabs, char* spec, char* re, char* s, char* ans, char* msg, char* accept, regmatch_t* match, int nmatch, int nsub, unsigned long skip, unsigned long level, unsigned long test) argument
1229 int nsub; local
[all...]
/ast/src/lib/libast/regex/
H A Dreglib.h541 size_t nsub; /* internal re_nsub */ member in struct:reglib_s
H A Dregnexec.c387 DEBUG_CODE(0x0040,{sfprintf(sfstdout, "AHA better old ");for (i = 0; i <= env->nsub; i++)showmatch(&env->best[i]);sfprintf(sfstdout, "\n new ");for (i = 0; i <= env->nsub; i++)showmatch(&env->match[i]);sfprintf(sfstdout, "\n");},{0;});
1039 r = env->nsub;
1877 n = env->nsub;
1951 n = env->nsub;
1965 n = env->nsub;
H A Dregcomp.c3408 p->env->nsub = env.stats.p + env.stats.u;

Completed in 99 milliseconds