Home
last modified time | relevance | path

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

/external/toybox/toys/posix/
Dgrep.c192 mm->rm_eo = (s-start)+strlen(seek->arg); in do_grep()
197 int baseline = mm->rm_eo; in do_grep()
199 mm->rm_so = mm->rm_eo = INT_MAX; in do_grep()
206 shoe->m.rm_eo -= baseline; in do_grep()
214 (shoe->m.rm_so == mm->rm_so && shoe->m.rm_eo >= mm->rm_eo))) in do_grep()
223 if (mm->rm_so || line[mm->rm_eo]) rc = 1; in do_grep()
233 c = start[mm->rm_eo]; in do_grep()
246 mm->rm_eo = ulen-(start-line); in do_grep()
248 start += mm->rm_eo; in do_grep()
250 } else mm->rm_eo = mm->rm_so; in do_grep()
[all …]
Dsed.c488 mlen = match[0].rm_eo-match[0].rm_so; in sed_line()
499 memcpy(l2+l2used, rline, match[0].rm_eo); in sed_line()
500 l2used += match[0].rm_eo; in sed_line()
501 rline += match[0].rm_eo; in sed_line()
507 if (match[0].rm_eo > INT_MAX) perror_exit(0); in sed_line()
519 newlen += match[cc].rm_eo-match[cc].rm_so; in sed_line()
551 ll = match[cc].rm_eo-match[cc].rm_so; in sed_line()
557 rline += match[0].rm_eo; in sed_line()
Dcut.c124 if (!match.rm_eo) break; // zero length match == no delimiter in cut_line()
125 ss += (!--start && j) ? match.rm_so : match.rm_eo; in cut_line()
Dps.c1852 if (match.rm_so || match.rm_eo!=strlen(name)) continue; in match_pgrep()
/external/llvm/lib/Support/
DRegex.cpp66 pm[0].rm_eo = String.size(); in match()
89 assert(pm[i].rm_eo >= pm[i].rm_so); in match()
91 pm[i].rm_eo-pm[i].rm_so)); in match()
Dregex_impl.h45 llvm_regoff_t rm_eo; /* end of match */ member
Dregengine.inc150 stop = string + pmatch[0].rm_eo;
217 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1;
250 assert(m->pmatch[i].rm_eo == -1);
270 pmatch[0].rm_eo = endp - m->offp;
279 pmatch[i].rm_eo = -1;
467 m->pmatch[i].rm_eo = sp - m->offp;
586 if (m->pmatch[i].rm_eo == -1)
589 len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so;
660 offsave = m->pmatch[i].rm_eo;
661 m->pmatch[i].rm_eo = sp - m->offp;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DRegex.cpp83 pm[0].rm_eo = String.size(); in match()
106 assert(pm[i].rm_eo >= pm[i].rm_so); in match()
108 pm[i].rm_eo-pm[i].rm_so)); in match()
Dregex_impl.h45 llvm_regoff_t rm_eo; /* end of match */ member
Dregengine.inc150 stop = string + pmatch[0].rm_eo;
217 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1;
250 assert(m->pmatch[i].rm_eo == -1);
270 pmatch[0].rm_eo = endp - m->offp;
279 pmatch[i].rm_eo = -1;
467 m->pmatch[i].rm_eo = sp - m->offp;
586 if (m->pmatch[i].rm_eo == -1)
589 len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so;
660 offsave = m->pmatch[i].rm_eo;
661 m->pmatch[i].rm_eo = sp - m->offp;
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DRegex.cpp78 pm[0].rm_eo = String.size(); in match()
101 assert(pm[i].rm_eo >= pm[i].rm_so); in match()
103 pm[i].rm_eo-pm[i].rm_so)); in match()
Dregex_impl.h45 llvm_regoff_t rm_eo; /* end of match */ member
Dregengine.inc150 stop = string + pmatch[0].rm_eo;
217 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1;
250 assert(m->pmatch[i].rm_eo == -1);
270 pmatch[0].rm_eo = endp - m->offp;
279 pmatch[i].rm_eo = -1;
467 m->pmatch[i].rm_eo = sp - m->offp;
586 if (m->pmatch[i].rm_eo == -1)
589 len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so;
660 offsave = m->pmatch[i].rm_eo;
661 m->pmatch[i].rm_eo = sp - m->offp;
[all …]
/external/pcre/dist2/src/
Dpcre2posix.c376 eo = pmatch[0].rm_eo; in pcre2_regexec()
398 pmatch[i].rm_eo = (ovector[i*2+1] == PCRE2_UNSET)? -1 : in pcre2_regexec()
401 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1; in pcre2_regexec()
Dpcre2posix.h116 regoff_t rm_eo; member
Dpcre2test.c7032 pmatch[0].rm_eo = (dat_datctl.startend[1] != 0)? in process_data()
7060 PCRE2_SIZE end = pmatch[i].rm_eo; in process_data()
7066 start = pmatch[i].rm_eo; in process_data()
7081 PCHARSV(pp, pmatch[i].rm_eo, len - pmatch[i].rm_eo, utf, outfile); in process_data()
/external/toybox/toys/pending/
Dexpr.c116 ret->s = xmprintf("%.*s", (int)(m[1].rm_eo-m[1].rm_so), in re()
120 } else assign_int(ret, m[0].rm_eo); in re()
Dmdev.c130 || off.rm_eo!=strlen(device_name)) in make_device()
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.c78 return matches[index].rm_eo - matches[index].rm_so; in match_length()
103 matches[i].rm_so, matches[i].rm_eo); in regex_helper()
/external/igt-gpu-tools/tools/
Dintel_reg_spec.c230 match[i].rm_eo - match[i].rm_so); in parse_line()
/external/toybox/lib/
Dlib.c1310 pmatch->rm_eo = len; in regexec0()
/external/u-boot/scripts/kconfig/
Dsymbol.c1073 sym_match_arr[cnt].eo = match[0].rm_eo; in sym_re_search()
/external/pcre/dist2/doc/
Dpcre2.txt9881 pmatch[0].rm_so and ends at string + pmatch[0].rm_eo, which should
9912 members rm_so and rm_eo. These contain the byte offset to the first