Home
last modified time | relevance | path

Searched refs:rm_so (Results 1 – 11 of 11) sorted by relevance

/PHP-5.3/ext/ereg/regex/
H A Dmain.c93 subs[0].rm_so = startoff;
105 if (subs[0].rm_so != -1) {
108 argv[optind] + subs[0].rm_so);
111 argv[optind] + subs[0].rm_so);
114 if (subs[i].rm_so != -1)
117 argv[optind] + subs[i].rm_so);
425 if (sub.rm_so > sub.rm_eo || (sub.rm_so == -1 && sub.rm_eo != -1) ||
427 (sub.rm_so != -1 && sub.rm_so < 0) ||
437 if (sub.rm_so == -1)
447 len = (int)(sub.rm_eo - sub.rm_so);
[all …]
H A Dengine.c87 start = string + pmatch[0].rm_so;
153 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1;
185 assert(m->pmatch[i].rm_so == -1);
204 pmatch[0].rm_so = m->coldp - m->offp;
213 pmatch[i].rm_so = -1;
397 m->pmatch[i].rm_so = sp - m->offp;
530 assert(m->pmatch[i].rm_so != -1);
535 ssp = m->offp + m->pmatch[i].rm_so;
589 offsave = m->pmatch[i].rm_so;
590 m->pmatch[i].rm_so = sp - m->offp;
[all …]
H A Dregex.h27 regoff_t rm_so; /* start of match */ member
/PHP-5.3/ext/ereg/
H A Dereg.c352 match_len = (int) (subs[0].rm_eo - subs[0].rm_so); in php_ereg()
361 start = subs[i].rm_so; in php_ereg()
484 strncat(buf, &string[pos], subs[0].rm_so); in php_ereg_replace()
487 walkbuf = &buf[tmp + subs[0].rm_so]; in php_ereg_replace()
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()
508 if (subs[0].rm_so + pos >= string_len) { in php_ereg_replace()
659 if (subs[0].rm_so == 0 && 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.3/ext/pcre/pcrelib/
H A Dpcreposix.c356 so = pmatch[0].rm_so; in regexec()
379 pmatch[i].rm_so = ovector[i*2]; in regexec()
383 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1; in regexec()
H A Dpcreposix.h108 regoff_t rm_so; member
/PHP-5.3/ext/mbstring/oniguruma/
H A Donigposix.h78 regoff_t rm_so; member
H A Dregposix.c206 pmatch[i].rm_so = pmatch[i].rm_eo = ONIG_REGION_NOTPOS; in regexec()
H A Dregexec.c1416 regoff_t rm_so; member
1519 rmt[0].rm_so = sstart - str; in match_at()
1524 rmt[i].rm_so = STACK_AT(mem_start_stk[i])->u.mem.pstr - str; in match_at()
1526 rmt[i].rm_so = (UChar* )((void* )(mem_start_stk[i])) - str; in match_at()
1533 rmt[i].rm_so = rmt[i].rm_eo = ONIG_REGION_NOTPOS; in match_at()
/PHP-5.3/ext/fileinfo/
H A Dlibmagic.patch1928 - ms->o.buf[rm.rm_so] = '\0';
3023 - pmatch[0].rm_so = 0;
3054 - ms->search.s += (int)pmatch[0].rm_so;
3055 - ms->search.offset += (size_t)pmatch[0].rm_so;
3057 - (size_t)(pmatch[0].rm_eo - pmatch[0].rm_so);
/PHP-5.3/ext/pcre/pcrelib/doc/
H A Dpcre.txt9169 The string is considered to start at string + pmatch[0].rm_so and to
9175 rm_so does not imply REG_NOTBOL; REG_STARTEND affects only the location
9188 bers rm_so and rm_eo. These contain the offset to the first character

Completed in 66 milliseconds