/external/toybox/toys/posix/ |
D | grep.c | 190 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 …]
|
D | sed.c | 479 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()
|
D | cut.c | 148 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()
|
D | ps.c | 1850 if (match.rm_so || match.rm_eo!=strlen(name)) continue; in match_pgrep()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | Regex.cpp | 62 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()
|
D | regex_impl.h | 45 llvm_regoff_t rm_eo; /* end of match */ member
|
D | regengine.inc | 150 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/ |
D | Regex.cpp | 66 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()
|
D | regex_impl.h | 45 llvm_regoff_t rm_eo; /* end of match */ member
|
D | regengine.inc | 150 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/ |
D | Regex.cpp | 78 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()
|
D | regex_impl.h | 45 llvm_regoff_t rm_eo; /* end of match */ member
|
D | regengine.inc | 150 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/ |
D | Regex.cpp | 83 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()
|
D | regex_impl.h | 45 llvm_regoff_t rm_eo; /* end of match */ member
|
D | regengine.inc | 150 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/ |
D | pcre2posix.c | 327 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()
|
D | pcre2posix.h | 114 regoff_t rm_eo; member
|
D | pcre2test.c | 6803 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/ |
D | expr.c | 116 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()
|
D | mdev.c | 130 || off.rm_eo!=strlen(device_name)) in make_device()
|
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
D | rc_test_helpers.c | 78 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/ |
D | lib.c | 1343 pmatch[rc].rm_eo += s-string; in regexec0()
|
/external/u-boot/scripts/kconfig/ |
D | symbol.c | 1073 sym_match_arr[cnt].eo = match[0].rm_eo; in sym_re_search()
|
/external/pcre/dist2/doc/ |
D | pcre2.txt | 9585 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
|