Home
last modified time | relevance | path

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

/ndk/sources/host-tools/sed-4.2.1/testsuite/
Dtst-pcre.c180 rm[0].rm_eo = -1; in main()
197 if (rm[0].rm_so != -1 || rm[0].rm_eo != -1) in main()
200 linenum, pattern, string, rm[0].rm_so, rm[0].rm_eo); in main()
219 if (rm[num].rm_so == -1 || rm[num].rm_eo == -1) in main()
225 rm[num].rm_so, rm[num].rm_eo); in main()
231 if (rm[num].rm_eo < rm[num].rm_so in main()
232 || rm[num].rm_eo - rm[num].rm_so != len - (p + 2 - line) in main()
234 rm[num].rm_eo - rm[num].rm_so) != 0) in main()
238 rm[num].rm_so, rm[num].rm_eo); in main()
Dtst-boost.c202 rm[i].rm_eo = -1; in main()
210 int rm_so, rm_eo; in main() local
217 rm_eo = strtol (p, &q, 10); in main()
222 if (rm[i].rm_so != rm_so || rm[i].rm_eo != rm_eo) in main()
225 i, rm[i].rm_so, rm[i].rm_eo, rm_so, rm_eo); in main()
Dbug-regex9.c63 if (rm[0].rm_so != 0 || rm[0].rm_eo != 10 in main()
64 || rm[1].rm_so != 8 || rm[1].rm_eo != 8) in main()
67 rm[0].rm_so, rm[0].rm_eo, rm[1].rm_so, rm[1].rm_eo); in main()
Dbug-regex11.c129 || rm[n].rm_eo != tests[i].rm[n].rm_eo) in main()
131 if (tests[i].rm[n].rm_so == -1 && tests[i].rm[n].rm_eo == -1) in main()
134 tests[i].pattern, i, n, rm[n].rm_so, rm[n].rm_eo); in main()
Drunptests.c107 && match[0].rm_eo == 0 && tests[cnt].end == 0) in main()
110 && match[0].rm_eo == tests[cnt].end) in main()
115 match[0].rm_so, match[0].rm_eo); in main()
Druntests.c95 regs[x].rm_so = regs[x].rm_eo = -1; in run_a_test()
109 regs[x].rm_eo, in run_a_test()
110 regs[x].rm_eo - regs[x].rm_so, in run_a_test()
Dtst-regex2.c118 if (pmatch[0].rm_eo != pmatch[0].rm_so + 11 in main()
119 || pmatch[0].rm_eo > len in main()
134 || pmatch[l].rm_eo != pmatch[l].rm_so + 1) in main()
Dtst-rxspencer.c173 if (rm[idx].rm_so == -1 && rm[idx].rm_eo == -1) in check_match()
179 if (rm[idx].rm_so == -1 || rm[idx].rm_eo == -1) in check_match()
187 if (rm[idx].rm_so != rm[idx].rm_eo) in check_match()
202 if (rm[idx].rm_eo - rm[idx].rm_so != strlen (match) in check_match()
204 rm[idx].rm_eo - rm[idx].rm_so)) in check_match()
/ndk/sources/host-tools/ndk-stack/regex/
Dengine.c146 stop = string + pmatch[0].rm_eo; in matcher()
213 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; in matcher()
246 assert(m->pmatch[i].rm_eo == -1); in matcher()
266 pmatch[0].rm_eo = endp - m->offp; in matcher()
275 pmatch[i].rm_eo = -1; in matcher()
458 m->pmatch[i].rm_eo = sp - m->offp; in dissect()
577 if (m->pmatch[i].rm_eo == -1) in backref()
580 len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so; in backref()
651 offsave = m->pmatch[i].rm_eo; in backref()
652 m->pmatch[i].rm_eo = sp - m->offp; in backref()
[all …]
Dregex.h61 regoff_t rm_eo; /* end of match */ member
/ndk/sources/host-tools/sed-4.2.1/sed/
Dregexp.c201 regs->end[i] = pmatch[i].rm_eo;
239 regmatch[0].rm_eo = CAST(int)buflen;
/ndk/sources/host-tools/sed-4.2.1/lib/
Dregexec.c245 length = pmatch[0].rm_eo;
500 rval = pmatch[0].rm_eo - start; in re_search_stub()
569 regs->end[i] = pmatch[i].rm_eo; in re_copy_regs()
910 pmatch[reg_idx].rm_so = pmatch[reg_idx].rm_eo = -1; in re_search_internal()
914 pmatch[0].rm_eo = mctx.match_last; in re_search_internal()
940 pmatch[reg_idx].rm_eo = in re_search_internal()
941 (pmatch[reg_idx].rm_eo == mctx.input.valid_len in re_search_internal()
943 : mctx.input.offsets[pmatch[reg_idx].rm_eo]); in re_search_internal()
949 pmatch[reg_idx].rm_eo += match_first; in re_search_internal()
954 pmatch[nmatch + reg_idx].rm_eo = -1; in re_search_internal()
[all …]
Dregex.h546 regoff_t rm_eo; /* Byte offset from string's start to substring's end. */ member