Home
last modified time | relevance | path

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

/posix/
A Dtst-pcre.c170 rm[0].rm_eo = -1; in main()
187 if (rm[0].rm_so != -1 || rm[0].rm_eo != -1) in main()
190 linenum, pattern, string, rm[0].rm_so, rm[0].rm_eo); in main()
209 if (rm[num].rm_so == -1 || rm[num].rm_eo == -1) in main()
215 rm[num].rm_so, rm[num].rm_eo); in main()
221 if (rm[num].rm_eo < rm[num].rm_so in main()
222 || rm[num].rm_eo - rm[num].rm_so != len - (p + 2 - line) in main()
224 rm[num].rm_eo - rm[num].rm_so) != 0) in main()
228 rm[num].rm_so, rm[num].rm_eo); in main()
A Dbug-regex9.c53 if (rm[0].rm_so != 0 || rm[0].rm_eo != 10 in main()
54 || rm[1].rm_so != 8 || rm[1].rm_eo != 8) in main()
57 rm[0].rm_so, rm[0].rm_eo, rm[1].rm_so, rm[1].rm_eo); in main()
A Dtst-boost.c192 rm[i].rm_eo = -1; in main()
200 int rm_so, rm_eo; in main() local
207 rm_eo = strtol (p, &q, 10); in main()
212 if (rm[i].rm_so != rm_so || rm[i].rm_eo != rm_eo) in main()
215 i, rm[i].rm_so, rm[i].rm_eo, rm_so, rm_eo); in main()
A Dbug-regex17.c91 || rm[n].rm_eo != tests[i].rm[n].rm_eo) in do_test()
93 if (tests[i].rm[n].rm_so == -1 && tests[i].rm[n].rm_eo == -1) in do_test()
96 n, rm[n].rm_so, rm[n].rm_eo); in do_test()
A Dbug-regex18.c84 || rm[n].rm_eo != tests[i].rm[n].rm_eo) in main()
86 if (tests[i].rm[n].rm_so == -1 && tests[i].rm[n].rm_eo == -1) in main()
89 n, rm[n].rm_so, rm[n].rm_eo); in main()
A Dbug-regex30.c84 || rm[n].rm_eo != tests[i].rm[n].rm_eo) in do_test()
86 if (tests[i].rm[n].rm_so == -1 && tests[i].rm[n].rm_eo == -1) in do_test()
89 n, rm[n].rm_so, rm[n].rm_eo); in do_test()
A Dbug-regex11.c123 || rm[n].rm_eo != tests[i].rm[n].rm_eo) in main()
125 if (tests[i].rm[n].rm_so == -1 && tests[i].rm[n].rm_eo == -1) in main()
128 tests[i].pattern, i, n, rm[n].rm_so, rm[n].rm_eo); in main()
A Dtst-regexloc.c42 printf ("match from %d to %d\n", mat[0].rm_so, mat[0].rm_eo); in do_test()
43 res = mat[0].rm_so != 0 || mat[0].rm_eo != 6; in do_test()
A Drunptests.c101 && match[0].rm_eo == 0 && tests[cnt].end == 0) in main()
104 && match[0].rm_eo == tests[cnt].end) in main()
109 match[0].rm_so, match[0].rm_eo); in main()
A Druntests.c101 regs[x].rm_eo, in run_a_test()
102 regs[x].rm_eo - regs[x].rm_so, in run_a_test()
A Dtst-regex2.c138 if (pmatch[0].rm_eo != pmatch[0].rm_so + 13 in do_test()
139 || pmatch[0].rm_eo > len in do_test()
154 || pmatch[l].rm_eo != pmatch[l].rm_so + 1) in do_test()
A Dtst-rxspencer.c177 if (rm[idx].rm_so == -1 && rm[idx].rm_eo == -1) in check_match()
183 if (rm[idx].rm_so == -1 || rm[idx].rm_eo == -1) in check_match()
191 if (rm[idx].rm_so != rm[idx].rm_eo) in check_match()
205 if (rm[idx].rm_eo - rm[idx].rm_so != strlen (match) in check_match()
207 rm[idx].rm_eo - rm[idx].rm_so)) in check_match()
A Dbug-regex6.c67 printf ("%d: %.*s\n", j, mat[j].rm_eo - mat[j].rm_so, in main()
A Dbug-regex24.c46 int len = m[i].rm_eo - m[i].rm_so; in do_test()
A Dregexec.c206 length = pmatch[0].rm_eo; in regexec()
448 rval = pmatch[0].rm_eo - start; in re_search_stub()
516 regs->end[i] = pmatch[i].rm_eo; in re_copy_regs()
842 pmatch[0].rm_eo = mctx.match_last; in re_search_internal()
868 pmatch[reg_idx].rm_eo = in re_search_internal()
882 pmatch[nmatch + reg_idx].rm_eo = -1; in re_search_internal()
891 pmatch[reg_idx + 1].rm_eo in re_search_internal()
1278 || regs[subexp_idx].rm_eo == -1) in proceed_next_node()
1501 pmatch[reg_num].rm_eo = -1; in update_regs()
1512 pmatch[reg_num].rm_eo = cur_idx; in update_regs()
[all …]
A Dregex.h520 regoff_t rm_eo; /* Byte offset from string's start to substring's end. */ member
A Dtst-regex.c318 offset += ma[0].rm_eo; in run_test()

Completed in 29 milliseconds