Home
last modified time | relevance | path

Searched refs:nmatch (Results 1 – 5 of 5) sorted by relevance

/ndk/sources/host-tools/sed-4.2.1/testsuite/
Dbug-regex12.c38 int flags, nmatch; member
70 if (! regexec (&re, tests[i].string, tests[i].nmatch, in main()
71 tests[i].nmatch ? rm : NULL, 0)) in main()
Dbug-regex11.c38 int flags, nmatch; member
119 if (regexec (&re, tests[i].string, tests[i].nmatch, rm, 0)) in main()
127 for (n = 0; n < tests[i].nmatch; ++n) in main()
/ndk/sources/host-tools/ndk-stack/regex/
Dregexec.c139 regexec(const regex_t *preg, const char *string, size_t nmatch, in regexec() argument
157 return(smatcher(g, (char *)string, nmatch, pmatch, eflags)); in regexec()
159 return(lmatcher(g, (char *)string, nmatch, pmatch, eflags)); in regexec()
Dengine.c128 matcher(struct re_guts *g, char *string, size_t nmatch, regmatch_t pmatch[], in matcher() argument
143 nmatch = 0; in matcher()
188 if (nmatch == 0 && !g->backrefs) in matcher()
201 if (nmatch == 1 && !g->backrefs) in matcher()
264 if (nmatch > 0) { in matcher()
268 if (nmatch > 1) { in matcher()
270 for (i = 1; i < (ssize_t)nmatch; i++) in matcher()
/ndk/sources/host-tools/sed-4.2.1/lib/
Dregexec.c44 size_t nmatch, regmatch_t pmatch[],
69 Idx cur_idx, Idx nmatch) internal_function;
77 size_t nmatch, regmatch_t *pmatch,
226 regexec (preg, string, nmatch, pmatch, eflags) in regexec() argument
229 size_t nmatch;
259 length, nmatch, pmatch, eflags);
274 const char *_Restrict_ string, size_t nmatch, in __compat_regexec() argument
277 return regexec (preg, string, nmatch, pmatch, in __compat_regexec()
646 size_t nmatch, regmatch_t pmatch[], in re_search_internal() argument
675 extra_nmatch = (nmatch > preg->re_nsub) ? nmatch - (preg->re_nsub + 1) : 0; in re_search_internal()
[all …]