Home
last modified time | relevance | path

Searched refs:rm_eo (Results 1 – 14 of 14) sorted by relevance

/PHP-5.6/ext/ereg/regex/
H A Dmain.c94 subs[0].rm_eo = strlen(argv[optind]) - endoff;
104 len = (int)(subs[0].rm_eo - subs[0].rm_so);
116 (int)(subs[i].rm_eo - subs[i].rm_so),
258 subs[0].rm_eo = strchr(f2, ')') - f2;
425 if (sub.rm_so > sub.rm_eo || (sub.rm_so == -1 && sub.rm_eo != -1) ||
426 (sub.rm_so != -1 && sub.rm_eo == -1) ||
428 (sub.rm_eo != -1 && sub.rm_eo < 0) ) {
430 (long)sub.rm_eo);
441 if (sub.rm_eo > strlen(str)) {
443 (long)sub.rm_so, (long)sub.rm_eo);
[all …]
H A Dregex.h28 regoff_t rm_eo; /* end of match */ member
H A Dengine.c88 stop = string + pmatch[0].rm_eo;
153 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1;
186 assert(m->pmatch[i].rm_eo == -1);
205 pmatch[0].rm_eo = endp - m->offp;
214 pmatch[i].rm_eo = -1;
402 m->pmatch[i].rm_eo = sp - m->offp;
528 if (m->pmatch[i].rm_eo == -1)
531 len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so;
600 offsave = m->pmatch[i].rm_eo;
601 m->pmatch[i].rm_eo = sp - m->offp;
[all …]
/PHP-5.6/ext/ereg/
H A Dereg.c352 match_len = (int) (subs[0].rm_eo - subs[0].rm_so); in php_ereg()
362 end = subs[i].rm_eo; in php_ereg()
493 && subs[walk[1] - '0'].rm_so <= subs[walk[1] - '0'].rm_eo) { in php_ereg_replace()
495 tmp = subs[walk[1] - '0'].rm_eo - subs[walk[1] - '0'].rm_so; in php_ereg_replace()
507 if (subs[0].rm_so == subs[0].rm_eo) { in php_ereg_replace()
519 pos += subs[0].rm_eo + 1; in php_ereg_replace()
523 pos += subs[0].rm_eo; in php_ereg_replace()
659 if (subs[0].rm_so == 0 && subs[0].rm_eo) { in php_split()
663 strp += subs[0].rm_eo; in php_split()
664 } else if (subs[0].rm_so == 0 && subs[0].rm_eo == 0) { in php_split()
[all …]
/PHP-5.6/ext/pcre/pcrelib/
H A Dpcreposix.c368 eo = pmatch[0].rm_eo; 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 Dpcreposix.h109 regoff_t rm_eo; member
/PHP-5.6/ext/mbstring/oniguruma/
H A Donigposix.h79 regoff_t rm_eo; member
H A Dtestc.c75 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 Dregposix.c206 pmatch[i].rm_so = pmatch[i].rm_eo = ONIG_REGION_NOTPOS; in regexec()
H A Dtestu.c103 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 Dregexec.c1232 regoff_t rm_eo; member
1338 rmt[0].rm_eo = s - str; in match_at()
1346 rmt[i].rm_eo = (BIT_STATUS_AT(reg->bt_mem_end, i) in match_at()
1351 rmt[i].rm_so = rmt[i].rm_eo = ONIG_REGION_NOTPOS; in match_at()
/PHP-5.6/ext/mbstring/oniguruma/win32/
H A Dtestc.c75 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.6/ext/fileinfo/
H A Dlibmagic.patch2123 - rm.rm_eo != 0 ? ms->o.buf + rm.rm_eo : "") == -1)
3354 - pmatch[0].rm_eo = ms->search.s_len;
3366 - (size_t)(pmatch[0].rm_eo - pmatch[0].rm_so);
/PHP-5.6/ext/pcre/pcrelib/doc/
H A Dpcre.txt9711 have a terminating NUL located at string + pmatch[0].rm_eo (there need
9729 bers rm_so and rm_eo. These contain the offset to the first character

Completed in 139 milliseconds