Home
last modified time | relevance | path

Searched refs:rm_so (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Support/
H A DRegex.cpp101 pm[0].rm_so = 0; in match()
122 if (pm[i].rm_so == -1) { in match()
127 assert(pm[i].rm_eo >= pm[i].rm_so); in match()
128 Matches->push_back(StringRef(String.data()+pm[i].rm_so, in match()
129 pm[i].rm_eo-pm[i].rm_so)); in match()
H A Dregex_impl.h44 llvm_regoff_t rm_so; /* start of match */ member
H A Dregengine.inc151 start = string + pmatch[0].rm_so;
219 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1;
251 assert(m->pmatch[i].rm_so == -1);
271 pmatch[0].rm_so = m->coldp - m->offp;
280 pmatch[i].rm_so = -1;
496 m->pmatch[i].rm_so = sp - m->offp;
622 assert(m->pmatch[i].rm_so != -1);
629 ssp = m->offp + m->pmatch[i].rm_so;
683 offsave = m->pmatch[i].rm_so;
684 m->pmatch[i].rm_so = sp - m->offp;
[all …]
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Posix/
H A Dregex.cpp31 if (rm[i].rm_so == -1 && rm[i].rm_eo == -1) in test_print_matches()
33 printf("matched[%zu]='%.*s'\n", i, (int)(rm[i].rm_eo - rm[i].rm_so), in test_print_matches()
34 string + rm[i].rm_so); in test_print_matches()
H A Dregex_startend.cpp22 match[0].rm_so = start; in test_matched()
25 int matchlen = (int)(match[0].rm_eo - match[0].rm_so); in test_matched()
26 const char *matchstart = string + match[0].rm_so; in test_matched()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_netbsd.h65 OFF_T rm_so; member