Home
last modified time | relevance | path

Searched refs:pmatch (Results 1 – 9 of 9) sorted by relevance

/PHP-7.1/ext/pcre/pcrelib/
H A Dpcreposix.c321 regmatch_t pmatch[], int eflags) in regexec() argument
341 if (nosub || pmatch == NULL) nmatch = 0; in regexec()
365 so = pmatch[0].rm_so; in regexec()
366 eo = pmatch[0].rm_eo; in regexec()
388 pmatch[i].rm_so = ovector[i*2]; in regexec()
389 pmatch[i].rm_eo = ovector[i*2+1]; in regexec()
392 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1; in regexec()
H A DChangeLog2344 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-7.1/ext/mbstring/oniguruma/
H A Dregposix.c167 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 Dtestc.c41 regmatch_t pmatch[25]; in xx() local
51 r = regexec(&reg, 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 Dtestu.c66 regmatch_t pmatch[20]; in xx() local
79 r = regexec(&reg, 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 DHISTORY529 2005/12/29: [dist] change pmatch array size to 25 in testconv.rb.
1022 set pmatch to NULL if nmatch is 0 in regexec(). (POSIX API)
/PHP-7.1/ext/mbstring/oniguruma/win32/
H A Dtestc.c41 regmatch_t pmatch[25]; in xx() local
51 r = regexec(&reg, 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-7.1/ext/fileinfo/
H A Dlibmagic.patch2301 - regmatch_t* pmatch, int eflags)
2304 - return regexec(&rx->rx, str, nmatch, pmatch, eflags);
3578 - regmatch_t pmatch[1];
3615 + /* Need to fetch global match which equals pmatch[0] */
3648 - pmatch[0].rm_so = 0;
3649 - pmatch[0].rm_eo = slen;
3652 - 1, pmatch, REG_STARTEND);
3658 - ms->search.s += (int)pmatch[0].rm_so;
3659 - ms->search.offset += (size_t)pmatch[0].rm_so;
3661 - (size_t)(pmatch[0].rm_eo - pmatch[0].rm_so);
/PHP-7.1/ext/pcre/pcrelib/doc/
H A Dpcre.txt9524 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 84 milliseconds