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

/PHP_5_4/ext/ereg/regex/
H A Dengine.c35 regmatch_t *pmatch; /* [nsub+1] (0 element unused) */ member in struct:match
63 == size_t nmatch, regmatch_t pmatch[], int eflags);
66 matcher(g, string, nmatch, pmatch, eflags)
70 regmatch_t pmatch[];
87 start = string + pmatch[0].rm_so;
88 stop = string + pmatch[0].rm_eo;
109 m->pmatch = NULL;
145 if (m->pmatch == NULL)
146 m->pmatch = (regmatch_t *)malloc((m->g->nsub + 1) *
148 if (m->pmatch
[all...]
H A Dengine.ih7 static int matcher(register struct re_guts *g, unsigned char *string, size_t nmatch, regmatch_t pmatch[], int eflags);
H A Dregexec.c113 regexec(preg, string, nmatch, pmatch, eflags)
117 regmatch_t pmatch[];
135 return(smatcher(g, (unsigned char *)string, nmatch, pmatch, eflags));
137 return(lmatcher(g, (unsigned char *)string, nmatch, pmatch, eflags));
/PHP_5_4/ext/pcre/pcrelib/
H A Dpcreposix.c307 be set. When this is the case, the nmatch and pmatch arguments are ignored, and
312 regmatch_t pmatch[], int eflags)
332 if (nosub || pmatch == NULL) nmatch = 0;
356 so = pmatch[0].rm_so;
357 eo = pmatch[0].rm_eo;
379 pmatch[i].rm_so = ovector[i*2];
380 pmatch[i].rm_eo = ovector[i*2+1];
383 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1;
311 regexec(const regex_t *preg, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags) argument
/PHP_5_4/ext/mbstring/oniguruma/
H A Dregposix.c167 regmatch_t pmatch[], int posix_options)
189 pm = pmatch;
199 if (pm != pmatch && pm != NULL) {
200 xmemcpy(pmatch, pm, sizeof(regmatch_t) * nmatch);
206 pmatch[i].rm_so = pmatch[i].rm_eo = ONIG_REGION_NOTPOS;
212 if (pm != pmatch && pm != NULL)
166 regexec(regex_t* reg, const char* str, size_t nmatch, regmatch_t pmatch[], int posix_options) argument

Completed in 7 milliseconds