Searched refs:pmatch (Results 1 - 8 of 8) sorted by relevance
| /PHP_TRUNK/ext/ereg/regex/ |
| H A D | engine.c | 35 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 D | engine.ih | 7 static int matcher(register struct re_guts *g, unsigned char *string, size_t nmatch, regmatch_t pmatch[], int eflags);
|
| H A D | regexec.c | 113 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_TRUNK/ext/mbstring/oniguruma/ |
| H A D | regposix.c | 167 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 D | testc.c | 41 regmatch_t pmatch[25]; local 51 r = regexec(®, 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 D | testu.c | 66 regmatch_t pmatch[20]; local 79 r = regexec(®, 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 D | testc.c | 41 regmatch_t pmatch[25]; local 51 r = regexec(®, 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 D | pcreposix.c | 307 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
|
Completed in 11 milliseconds