Searched refs:pmatch (Results 1 – 12 of 12) sorted by relevance
/PHP-5.5/ext/pcre/pcrelib/ |
H A D | pcreposix.c | 323 regmatch_t pmatch[], int eflags) in regexec() argument 343 if (nosub || pmatch == NULL) nmatch = 0; in regexec() 367 so = pmatch[0].rm_so; in regexec() 368 eo = pmatch[0].rm_eo; in regexec() 390 pmatch[i].rm_so = ovector[i*2]; in regexec() 391 pmatch[i].rm_eo = ovector[i*2+1]; 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 3942 with this option is matched, the nmatch and pmatch options of regexec() are
|
/PHP-5.5/ext/ereg/regex/ |
H A D | engine.c | 70 regmatch_t pmatch[]; 109 m->pmatch = NULL; 145 if (m->pmatch == NULL) 148 if (m->pmatch == NULL) { 153 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; 211 pmatch[i] = m->pmatch[i]; 213 pmatch[i].rm_so = -1; 214 pmatch[i].rm_eo = -1; 218 if (m->pmatch != NULL) 219 free((char *)m->pmatch); [all …]
|
H A D | regexec.c | 113 regexec(preg, string, nmatch, pmatch, eflags) 117 regmatch_t pmatch[]; 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.ih | 7 …register struct re_guts *g, unsigned char *string, size_t nmatch, regmatch_t pmatch[], int eflags);
|
/PHP-5.5/ext/mbstring/oniguruma/ |
H A D | regposix.c | 167 regmatch_t pmatch[], int posix_options) in regexec() argument 189 pm = pmatch; in regexec() 199 if (pm != pmatch && pm != NULL) { in regexec() 200 xmemcpy(pmatch, pm, sizeof(regmatch_t) * nmatch); in regexec() 206 pmatch[i].rm_so = pmatch[i].rm_eo = ONIG_REGION_NOTPOS; in regexec() 212 if (pm != pmatch && pm != NULL) in regexec()
|
H A D | testc.c | 41 regmatch_t pmatch[25]; in xx() local 51 r = regexec(®, str, reg.re_nsub + 1, pmatch, 0); in xx() 75 if (pmatch[mem].rm_so == from && pmatch[mem].rm_eo == to) { in xx() 81 from, to, pmatch[mem].rm_so, pmatch[mem].rm_eo); in xx()
|
H A D | testu.c | 66 regmatch_t pmatch[20]; in xx() local 79 r = regexec(®, str, reg.re_nsub + 1, pmatch, 0); in xx() 103 if (pmatch[mem].rm_so == from && pmatch[mem].rm_eo == to) { in xx() 109 from, to, pmatch[mem].rm_so, pmatch[mem].rm_eo); in xx()
|
H A D | HISTORY | 505 2005/12/29: [dist] change pmatch array size to 25 in testconv.rb. 998 set pmatch to NULL if nmatch is 0 in regexec(). (POSIX API)
|
/PHP-5.5/ext/mbstring/oniguruma/win32/ |
H A D | testc.c | 41 regmatch_t pmatch[25]; in xx() local 51 r = regexec(®, str, reg.re_nsub + 1, pmatch, 0); in xx() 75 if (pmatch[mem].rm_so == from && pmatch[mem].rm_eo == to) { in xx() 81 from, to, pmatch[mem].rm_so, pmatch[mem].rm_eo); in xx()
|
/PHP-5.5/ext/fileinfo/ |
H A D | libmagic.patch | 3389 - regmatch_t pmatch[1]; 3396 - pmatch[0].rm_so = 0; 3397 - pmatch[0].rm_eo = ms->search.s_len; 3400 - 1, pmatch, REG_STARTEND); 3406 - ms->search.s += (int)pmatch[0].rm_so; 3407 - ms->search.offset += (size_t)pmatch[0].rm_so; 3409 - (size_t)(pmatch[0].rm_eo - pmatch[0].rm_so); 3458 + /* Need to fetch global match which equals pmatch[0] */
|
/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 9710 The string is considered to start at string + pmatch[0].rm_so and to 9711 have a terminating NUL located at string + pmatch[0].rm_eo (there need 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 9727 tured substrings, are returned via the pmatch argument, which points to
|
Completed in 113 milliseconds