Home | History | Annotate | Download | only in pcre

Lines Matching refs:nmatch

293 be set. When this is the case, the nmatch and pmatch arguments are ignored, and
297 regexec(const regex_t *preg, const char *string, size_t nmatch,
315 to put it, ensure that nmatch is zero. Otherwise, ensure the vector for holding
318 if (nosub || pmatch == NULL) nmatch = 0;
320 else if (nmatch > 0)
322 if (nmatch <= POSIX_MALLOC_THRESHOLD)
328 if (nmatch > INT_MAX/(sizeof(int) * 3)) return REG_ESPACE;
329 ovector = (int *)malloc(sizeof(int) * nmatch * 3);
352 0, options, ovector, (int)(nmatch * 3));
354 if (rc == 0) rc = (int)nmatch; /* All captured slots were filled in */
369 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1;