Home
last modified time | relevance | path

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

/picolibc-3.7.0-3.6.0/test/
Dregex.c47 int nmatch; member
53 .ret = 0, .nmatch = 1, .matches = { { .rm_so = 0, .rm_eo = 1 } }
56 .ret = 0, .nmatch = 1, .matches = { { .rm_so = 0, .rm_eo = 3 } }
59 .ret = 0, .nmatch = 4, .matches = {
67 .ret = 0, .nmatch = 1, .matches = { { .rm_so = 3, .rm_eo = 10 } }
101 if (m < tests[t].nmatch) { in main()
/picolibc-3.7.0-3.6.0/newlib/libc/posix/
Dregexec.c159 size_t nmatch, in regexec() argument
178 return(smatcher(g, (char *)string, nmatch, pmatch, eflags)); in regexec()
180 return(lmatcher(g, (char *)string, nmatch, pmatch, eflags)); in regexec()
Dengine.c92 static int matcher(struct re_guts *g, char *string, size_t nmatch, regmatch_t pmatch[], int eflags);
140 size_t nmatch, in matcher() argument
163 nmatch = 0; in matcher()
244 if (nmatch == 0 && !g->backrefs) in matcher()
257 if (nmatch == 1 && !g->backrefs) in matcher()
319 if (nmatch > 0) { in matcher()
323 if (nmatch > 1) { in matcher()
325 for (i = 1; i < nmatch; i++) in matcher()