/external/libcups/vcnet/regex/ |
D | main.c | 92 subs[0].rm_so = startoff; 103 len = (int)(subs[0].rm_eo - subs[0].rm_so); 104 if (subs[0].rm_so != -1) { 107 argv[optind] + subs[0].rm_so); 110 argv[optind] + subs[0].rm_so); 113 if (subs[i].rm_so != -1) 115 (int)(subs[i].rm_eo - subs[i].rm_so), 116 argv[optind] + subs[i].rm_so); 256 subs[0].rm_so = strchr(f2, '(') - f2 + 1; 424 if (sub.rm_so > sub.rm_eo || (sub.rm_so == -1 && sub.rm_eo != -1) || [all …]
|
D | engine.c | 87 start = string + pmatch[0].rm_so; 153 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; 185 assert(m->pmatch[i].rm_so == -1); 204 pmatch[0].rm_so = m->coldp - m->offp; 213 pmatch[i].rm_so = -1; 397 m->pmatch[i].rm_so = sp - m->offp; 530 assert(m->pmatch[i].rm_so != -1); 531 len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so; 535 ssp = m->offp + m->pmatch[i].rm_so; 589 offsave = m->pmatch[i].rm_so; [all …]
|
D | regex.h | 17 regoff_t rm_so; /* start of match */ member
|
/external/toybox/toys/posix/ |
D | grep.c | 190 mm->rm_so = (s-start); in do_grep() 198 mm->rm_so = mm->rm_eo = INT_MAX; in do_grep() 204 shoe->m.rm_so -= baseline; in do_grep() 206 if (!matched || shoe->m.rm_so<0) in do_grep() 212 if (!shoe->rc && (shoe->m.rm_so < mm->rm_so || in do_grep() 213 (shoe->m.rm_so == mm->rm_so && shoe->m.rm_eo >= mm->rm_eo))) in do_grep() 226 if (!rc && FLAG(x) && (mm->rm_so || ulen-(start-line)!=mm->rm_eo)) rc = 1; in do_grep() 231 if ((start+mm->rm_so)!=line) { in do_grep() 232 c = start[mm->rm_so-1]; in do_grep() 240 start += mm->rm_so+1; in do_grep() [all …]
|
D | sed.c | 435 mlen = match[0].rm_eo-match[0].rm_so; in sed_line() 466 newlen += match[cc].rm_eo-match[cc].rm_so; in sed_line() 474 if (match[0].rm_so) { in sed_line() 475 memcpy(l2+l2used, rline, match[0].rm_so); in sed_line() 476 l2used += match[0].rm_so; in sed_line() 497 if (match[cc].rm_so != -1) { in sed_line() 498 ll = match[cc].rm_eo-match[cc].rm_so; in sed_line() 499 memcpy(l2+l2used+mlen, rline+match[cc].rm_so, ll); in sed_line()
|
/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() 152 tokens.Negate.String = src_str + matches[1].rm_so; in init_rc_normal_src() 154 tokens.Abs.String = src_str + matches[2].rm_so; in init_rc_normal_src() 156 tokens.File.String = src_str + matches[3].rm_so; in init_rc_normal_src() 158 tokens.Index.String = src_str + matches[4].rm_so; in init_rc_normal_src() 160 tokens.Swizzle.String = src_str + matches[5].rm_so; in init_rc_normal_src() 280 tokens.File.String = dst_str + matches[1].rm_so; in init_rc_normal_dst() 282 tokens.Index.String = dst_str + matches[2].rm_so; in init_rc_normal_dst() 284 tokens.WriteMask.String = dst_str + matches[3].rm_so; in init_rc_normal_dst() [all …]
|
/external/llvm/lib/Support/ |
D | Regex.cpp | 65 pm[0].rm_so = 0; in match() 84 if (pm[i].rm_so == -1) { in match() 89 assert(pm[i].rm_eo >= pm[i].rm_so); in match() 90 Matches->push_back(StringRef(String.data()+pm[i].rm_so, in match() 91 pm[i].rm_eo-pm[i].rm_so)); in match()
|
D | regex_impl.h | 44 llvm_regoff_t rm_so; /* start of match */ member
|
D | regengine.inc | 149 start = string + pmatch[0].rm_so; 217 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; 249 assert(m->pmatch[i].rm_so == -1); 269 pmatch[0].rm_so = m->coldp - m->offp; 278 pmatch[i].rm_so = -1; 462 m->pmatch[i].rm_so = sp - m->offp; 588 assert(m->pmatch[i].rm_so != -1); 589 len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so; 595 ssp = m->offp + m->pmatch[i].rm_so; 649 offsave = m->pmatch[i].rm_so; [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Regex.cpp | 77 pm[0].rm_so = 0; in match() 96 if (pm[i].rm_so == -1) { in match() 101 assert(pm[i].rm_eo >= pm[i].rm_so); in match() 102 Matches->push_back(StringRef(String.data()+pm[i].rm_so, in match() 103 pm[i].rm_eo-pm[i].rm_so)); in match()
|
D | regex_impl.h | 44 llvm_regoff_t rm_so; /* start of match */ member
|
D | regengine.inc | 149 start = string + pmatch[0].rm_so; 217 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; 249 assert(m->pmatch[i].rm_so == -1); 269 pmatch[0].rm_so = m->coldp - m->offp; 278 pmatch[i].rm_so = -1; 462 m->pmatch[i].rm_so = sp - m->offp; 588 assert(m->pmatch[i].rm_so != -1); 589 len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so; 595 ssp = m->offp + m->pmatch[i].rm_so; 649 offsave = m->pmatch[i].rm_so; [all …]
|
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
D | regex.cpp | 31 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | Regex.cpp | 97 pm[0].rm_so = 0; in match() 118 if (pm[i].rm_so == -1) { in match() 123 assert(pm[i].rm_eo >= pm[i].rm_so); in match() 124 Matches->push_back(StringRef(String.data()+pm[i].rm_so, in match() 125 pm[i].rm_eo-pm[i].rm_so)); in match()
|
D | regex_impl.h | 44 llvm_regoff_t rm_so; /* start of match */ member
|
D | regengine.inc | 149 start = string + pmatch[0].rm_so; 217 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; 249 assert(m->pmatch[i].rm_so == -1); 269 pmatch[0].rm_so = m->coldp - m->offp; 278 pmatch[i].rm_so = -1; 462 m->pmatch[i].rm_so = sp - m->offp; 588 assert(m->pmatch[i].rm_so != -1); 589 len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so; 595 ssp = m->offp + m->pmatch[i].rm_so; 649 offsave = m->pmatch[i].rm_so; [all …]
|
/external/llvm-project/llvm/lib/Support/ |
D | Regex.cpp | 101 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()
|
D | regex_impl.h | 44 llvm_regoff_t rm_so; /* start of match */ member
|
D | regengine.inc | 149 start = string + pmatch[0].rm_so; 217 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; 249 assert(m->pmatch[i].rm_so == -1); 269 pmatch[0].rm_so = m->coldp - m->offp; 278 pmatch[i].rm_so = -1; 462 m->pmatch[i].rm_so = sp - m->offp; 588 assert(m->pmatch[i].rm_so != -1); 589 len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so; 595 ssp = m->offp + m->pmatch[i].rm_so; 649 offsave = m->pmatch[i].rm_so; [all …]
|
/external/toybox/toys/pending/ |
D | expr.c | 113 if (!regexec(&pat, target, 2, m, 0) && !m[0].rm_so) { in re() 116 ret->s = xmprintf("%.*s", (int)(m[1].rm_eo-m[1].rm_so), in re() 117 target+m[1].rm_so); in re()
|
/external/pcre/dist2/src/ |
D | pcre2posix.c | 374 so = pmatch[0].rm_so; in pcre2_regexec() 395 pmatch[i].rm_so = (ovector[i*2] == PCRE2_UNSET)? -1 : in pcre2_regexec() 400 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1; in pcre2_regexec()
|
D | pcre2posix.h | 115 regoff_t rm_so; member
|
/external/igt-gpu-tools/tools/ |
D | intel_reg_spec.c | 229 p = strndup(line + match[i].rm_so, in parse_line() 230 match[i].rm_eo - match[i].rm_so); in parse_line()
|
/external/libcups/cgi-bin/ |
D | template.c | 555 (int)matches[i].rm_so); in cgi_copy() 556 if (matches[i].rm_so < 0) in cgi_copy()
|
D | search.c | 343 if (matches[i].rm_so < 0) in cgiDoSearch()
|