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

/PHP_5_5/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_5/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
H A Dtestc.c41 regmatch_t pmatch[25]; local
51 r = regexec(&reg, str, reg.re_nsub + 1, pmatch, 0);
75 if (pmatch[mem].rm_so == from && pmatch[mem].rm_eo == to) {
81 from, to, pmatch[mem].rm_so, pmatch[mem].rm_eo);
H A Dtestu.c66 regmatch_t pmatch[20]; local
79 r = regexec(&reg, str, reg.re_nsub + 1, pmatch, 0);
103 if (pmatch[mem].rm_so == from && pmatch[mem].rm_eo == to) {
109 from, to, pmatch[mem].rm_so, pmatch[mem].rm_eo);
/PHP_5_5/ext/mbstring/oniguruma/win32/
H A Dtestc.c41 regmatch_t pmatch[25]; local
51 r = regexec(&reg, str, reg.re_nsub + 1, pmatch, 0);
75 if (pmatch[mem].rm_so == from && pmatch[mem].rm_eo == to) {
81 from, to, pmatch[mem].rm_so, pmatch[mem].rm_eo);
/PHP_5_5/ext/pcre/pcrelib/
H A Dpcreposix.c315 be set. When this is the case, the nmatch and pmatch arguments are ignored, and
320 regmatch_t pmatch[], int eflags)
340 if (nosub || pmatch == NULL) nmatch = 0;
364 so = pmatch[0].rm_so;
365 eo = pmatch[0].rm_eo;
387 pmatch[i].rm_so = ovector[i*2];
388 pmatch[i].rm_eo = ovector[i*2+1];
391 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1;
319 regexec(const regex_t *preg, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags) argument

Completed in 17 milliseconds