Home
last modified time | relevance | path

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

/external/toybox/toys/posix/
Dgrep.c190 mm->rm_eo = (s-line)+strlen(seek->arg); in do_grep()
195 int baseline = mm->rm_eo; in do_grep()
197 mm->rm_so = mm->rm_eo = INT_MAX; in do_grep()
204 shoe->m.rm_eo -= baseline; in do_grep()
212 (shoe->m.rm_so == mm->rm_so && shoe->m.rm_eo >= mm->rm_eo))) in do_grep()
221 if (mm->rm_so || line[mm->rm_eo]) rc = 1; in do_grep()
231 c = start[mm->rm_eo]; in do_grep()
244 mm->rm_eo = ulen-(start-line); in do_grep()
246 start += mm->rm_eo; in do_grep()
248 } else mm->rm_eo = mm->rm_so; in do_grep()
[all …]
Dsed.c479 mlen = match[0].rm_eo-match[0].rm_so; in sed_line()
490 rline += match[0].rm_eo; in sed_line()
491 rlen -= match[0].rm_eo; in sed_line()
497 if (match[0].rm_eo > INT_MAX) perror_exit(0); in sed_line()
509 newlen += match[cc].rm_eo-match[cc].rm_so; in sed_line()
518 memcpy(rswap+newlen, rline+match[0].rm_eo, (rlen -= match[0].rm_eo)+1); in sed_line()
540 ll = match[cc].rm_eo-match[cc].rm_so; in sed_line()
Dcut.c148 if (!match.rm_eo) break; // zero length match == no delimiter in cut_line()
149 ss += (!--start && j) ? match.rm_so : match.rm_eo; in cut_line()
Dps.c1850 if (match.rm_so || match.rm_eo!=strlen(name)) continue; in match_pgrep()
/external/swiftshader/third_party/LLVM/lib/Support/
DRegex.cpp62 pm[0].rm_eo = String.size(); in match()
85 assert(pm[i].rm_eo >= pm[i].rm_so); in match()
87 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/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-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/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/pcre/dist2/src/
Dpcre2posix.c327 eo = pmatch[0].rm_eo; in regexec()
349 pmatch[i].rm_eo = (ovector[i*2+1] == PCRE2_UNSET)? -1 : in regexec()
352 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1; in regexec()
Dpcre2posix.h114 regoff_t rm_eo; member
Dpcre2test.c6803 pmatch[0].rm_eo = (dat_datctl.startend[1] != 0)? in process_data()
6831 PCRE2_SIZE end = pmatch[i].rm_eo; in process_data()
6837 start = pmatch[i].rm_eo; in process_data()
6852 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/toybox/lib/
Dlib.c1343 pmatch[rc].rm_eo += s-string; 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.txt9585 pmatch[0].rm_so and ends at string + pmatch[0].rm_eo, which should
9615 members rm_so and rm_eo. These contain the byte offset to the first