/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
D | tst-pcre.c | 179 rm[0].rm_so = -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() 233 || strncmp (p + 2, string + rm[num].rm_so, 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()
|
D | tst-boost.c | 201 rm[i].rm_so = -1; in main() 210 int rm_so, rm_eo; in main() local 212 rm_so = 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()
|
D | bug-regex9.c | 63 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()
|
D | runtests.c | 95 regs[x].rm_so = regs[x].rm_eo = -1; in run_a_test() 105 if (regs[x].rm_so != -1) in run_a_test() 108 regs[x].rm_so, in run_a_test() 110 regs[x].rm_eo - regs[x].rm_so, in run_a_test() 111 t->data + regs[x].rm_so); in run_a_test()
|
D | tst-regex2.c | 118 if (pmatch[0].rm_eo != pmatch[0].rm_so + 11 in main() 120 || string + pmatch[0].rm_so >= strchr (string, 'R') in main() 121 || strncmp (string + pmatch[0].rm_so, in main() 133 if (pmatch[l].rm_so != pmatch[0].rm_so + j in main() 134 || pmatch[l].rm_eo != pmatch[l].rm_so + 1) in main()
|
D | bug-regex11.c | 128 if (rm[n].rm_so != tests[i].rm[n].rm_so 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()
|
D | runptests.c | 106 if (match[0].rm_so == 0 && tests[cnt].start == 0 in main() 109 else if (match[0].rm_so + 1 == tests[cnt].start in main() 115 match[0].rm_so, match[0].rm_eo); in main()
|
D | tst-rxspencer.c | 173 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() 193 if (strncmp (string + rm[idx].rm_so, match + 1, strlen (match + 1) in check_match() 202 if (rm[idx].rm_eo - rm[idx].rm_so != strlen (match) in check_match() 203 || strncmp (string + rm[idx].rm_so, match, in check_match() 204 rm[idx].rm_eo - rm[idx].rm_so)) in check_match()
|
/ndk/sources/host-tools/ndk-stack/regex/ |
D | engine.c | 145 start = string + pmatch[0].rm_so; in matcher() 213 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; in matcher() 245 assert(m->pmatch[i].rm_so == -1); in matcher() 265 pmatch[0].rm_so = m->coldp - m->offp; in matcher() 274 pmatch[i].rm_so = -1; in matcher() 453 m->pmatch[i].rm_so = sp - m->offp; in dissect() 579 assert(m->pmatch[i].rm_so != -1); in backref() 580 len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so; in backref() 586 ssp = m->offp + m->pmatch[i].rm_so; in backref() 640 offsave = m->pmatch[i].rm_so; in backref() [all …]
|
D | regex.h | 60 regoff_t rm_so; /* start of match */ member
|
/ndk/sources/host-tools/ndk-stack/ |
D | ndk-stack-parser.c | 204 fprintf(parser->out_handle, "%s\n", line + match.rm_so); in ParseLine() 213 fprintf(parser->out_handle, "%s\n", line + match.rm_so); in ParseLine() 221 return ParseFrame(parser, line + match.rm_so); in ParseLine()
|
/ndk/sources/host-tools/sed-4.2.1/sed/ |
D | regexp.c | 200 regs->start[i] = pmatch[i].rm_so; 238 regmatch[0].rm_so = CAST(int)buf_start_offset;
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
D | regexec.c | 244 start = pmatch[0].rm_so; 499 assert (pmatch[0].rm_so == start); in re_search_stub() 503 rval = pmatch[0].rm_so; in re_search_stub() 568 regs->start[i] = pmatch[i].rm_so; in re_copy_regs() 910 pmatch[reg_idx].rm_so = pmatch[reg_idx].rm_eo = -1; in re_search_internal() 913 pmatch[0].rm_so = 0; in re_search_internal() 931 if (pmatch[reg_idx].rm_so != -1) in re_search_internal() 936 pmatch[reg_idx].rm_so = in re_search_internal() 937 (pmatch[reg_idx].rm_so == mctx.input.valid_len in re_search_internal() 939 : mctx.input.offsets[pmatch[reg_idx].rm_so]); in re_search_internal() [all …]
|
D | regex.h | 545 regoff_t rm_so; /* Byte offset from string's start to substring's start. */ member
|