Searched refs:nmatch (Results 1 – 9 of 9) sorted by relevance
/PHP-5.5/ext/pcre/pcrelib/ |
H A D | pcreposix.c | 322 regexec(const regex_t *preg, const char *string, size_t nmatch, in regexec() argument 343 if (nosub || pmatch == NULL) nmatch = 0; in regexec() 345 else if (nmatch > 0) in regexec() 347 if (nmatch <= POSIX_MALLOC_THRESHOLD) in regexec() 353 if (nmatch > INT_MAX/(sizeof(int) * 3)) return REG_ESPACE; in regexec() 354 ovector = (int *)malloc(sizeof(int) * nmatch * 3); in regexec() 377 0, options, ovector, (int)(nmatch * 3)); in regexec() 379 if (rc == 0) rc = (int)nmatch; /* All captured slots were filled in */ in regexec() 394 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1; in regexec()
|
H A D | ChangeLog | 2344 value for nmatch with a NULL value for pmatch, the value of 2345 nmatch is forced to zero. 3934 9. In the POSIX regexec() interface, if nmatch is specified as a ridiculously 3942 with this option is matched, the nmatch and pmatch options of regexec() are
|
/PHP-5.5/ext/mbstring/oniguruma/ |
H A D | regposix.c | 166 regexec(regex_t* reg, const char* str, size_t nmatch, in regexec() argument 178 if (nmatch == 0 || (reg->comp_options & REG_NOSUB) != 0) { in regexec() 180 nmatch = 0; in regexec() 182 else if ((int )nmatch < ONIG_C(reg)->num_mem + 1) { in regexec() 200 xmemcpy(pmatch, pm, sizeof(regmatch_t) * nmatch); in regexec() 205 for (i = 0; i < (int )nmatch; i++) in regexec() 216 if (reg->re_nsub > nmatch - 1) in regexec() 217 reg->re_nsub = (nmatch <= 1 ? 0 : nmatch - 1); in regexec()
|
H A D | onigposix.h | 155 ONIG_EXTERN int regexec P_((regex_t* reg, const char* str, size_t nmatch, regmatch_t* matches, i…
|
H A D | HISTORY | 995 fix nmatch argument of regexec() is smaller than 998 set pmatch to NULL if nmatch is 0 in regexec(). (POSIX API)
|
/PHP-5.5/ext/ereg/regex/ |
H A D | regexec.c | 113 regexec(preg, string, nmatch, pmatch, eflags) 116 size_t nmatch; variable 135 return(smatcher(g, (unsigned char *)string, nmatch, pmatch, eflags)); 137 return(lmatcher(g, (unsigned char *)string, nmatch, pmatch, eflags));
|
H A D | engine.c | 66 matcher(g, string, nmatch, pmatch, eflags) in matcher() argument 69 size_t nmatch; 85 nmatch = 0; 128 if (nmatch == 0 && !g->backrefs) 141 if (nmatch == 1 && !g->backrefs) 203 if (nmatch > 0) { 207 if (nmatch > 1) { 209 for (i = 1; i < nmatch; i++)
|
H A D | engine.ih | 7 static int matcher(register struct re_guts *g, unsigned char *string, size_t nmatch, regmatch_t pma…
|
/PHP-5.5/ext/pcre/pcrelib/doc/ |
H A D | pcre.txt | 9524 size_t nmatch, regmatch_t pmatch[], int eflags); 9608 ing, the nmatch and pmatch arguments are ignored, and no captured 9713 nmatch. This is a BSD extension, compatible with but not specified by 9720 matched strings is returned. The nmatch and pmatch arguments of 9723 If the value of nmatch is zero, or if the value pmatch is NULL, no data 9728 an array of nmatch structures of type regmatch_t, containing the mem-
|
Completed in 109 milliseconds