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

/PHP_TRUNK/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_TRUNK/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_TRUNK/ext/pcre/pcrelib/
H A Dpcreposix.c316 be set. When this is the case, the nmatch and pmatch arguments are ignored, and
321 regmatch_t pmatch[], int eflags)
341 if (nosub || pmatch == NULL) nmatch = 0;
365 so = pmatch[0].rm_so;
366 eo = pmatch[0].rm_eo;
388 pmatch[i].rm_so = ovector[i*2];
389 pmatch[i].rm_eo = ovector[i*2+1];
392 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1;
320 regexec(const regex_t *preg, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags) argument

Completed in 16 milliseconds