/external/libmicrohttpd/src/examples/ |
D | mhd2spdy_structures.c | 88 asprintf(&((*uri)->scheme), "%.*s",pmatch[2].rm_eo - pmatch[2].rm_so, &full_uri[pmatch[2].rm_so]); in parse_uri() 89 …tf(&((*uri)->host_and_port), "%.*s",pmatch[4].rm_eo - pmatch[4].rm_so, &full_uri[pmatch[4].rm_so]); in parse_uri() 90 asprintf(&((*uri)->path), "%.*s",pmatch[5].rm_eo - pmatch[5].rm_so, &full_uri[pmatch[5].rm_so]); in parse_uri() 91 …tf(&((*uri)->path_and_more), "%.*s",pmatch[9].rm_eo - pmatch[5].rm_so, &full_uri[pmatch[5].rm_so]); in parse_uri() 92 asprintf(&((*uri)->query), "%.*s",pmatch[7].rm_eo - pmatch[7].rm_so, &full_uri[pmatch[7].rm_so]); in parse_uri() 93 …asprintf(&((*uri)->fragment), "%.*s",pmatch[9].rm_eo - pmatch[9].rm_so, &full_uri[pmatch[9].rm_so]… in parse_uri()
|
/external/toybox/toys/posix/ |
D | grep.c | 148 matches.rm_so = (s-line); in do_grep() 158 if (matches.rm_so || line[matches.rm_eo]) rc = 1; in do_grep() 163 if ((start+matches.rm_so)!=line) { in do_grep() 164 c = start[matches.rm_so-1]; in do_grep() 172 start += matches.rm_so+1; in do_grep() 181 else if (!matches.rm_so) { in do_grep() 184 } else matches.rm_eo = matches.rm_so; in do_grep() 189 matches.rm_so = 0; in do_grep() 210 if (matches.rm_eo == matches.rm_so) in do_grep() 215 ((toys.optflags & FLAG_o) ? matches.rm_so : 0); in do_grep() [all …]
|
D | sed.c | 473 mlen = match[0].rm_eo-match[0].rm_so; in process_line() 503 newlen += match[cc].rm_eo-match[cc].rm_so; in process_line() 510 rswap = swap+(rline-line)+match[0].rm_so; in process_line() 511 memcpy(swap, line, (rline-line)+match[0].rm_so); in process_line() 525 } else if (match[cc].rm_so == -1) error_exit("no s//\\%d/", cc); in process_line() 532 ll = match[cc].rm_eo-match[cc].rm_so; in process_line() 533 memcpy(rswap+mlen, rline+match[cc].rm_so, ll); in process_line()
|
D | ps.c | 1710 if (match.rm_so || match.rm_eo!=strlen(name)) continue; in match_pgrep()
|
/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/swiftshader/third_party/LLVM/lib/Support/ |
D | Regex.cpp | 61 pm[0].rm_so = 0; in match() 80 if (pm[i].rm_so == -1) { in match() 85 assert(pm[i].rm_eo >= pm[i].rm_so); in match() 86 Matches->push_back(StringRef(String.data()+pm[i].rm_so, in match() 87 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/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/libmicrohttpd/src/spdy2http/ |
D | proxy.c | 253 (int) (pmatch[2].rm_eo - pmatch[2].rm_so), in parse_uri() 254 &full_uri[pmatch[2].rm_so]); in parse_uri() 256 (int) (pmatch[4].rm_eo - pmatch[4].rm_so), in parse_uri() 257 &full_uri[pmatch[4].rm_so]); in parse_uri() 260 (int) (pmatch[5].rm_eo - pmatch[5].rm_so), in parse_uri() 261 &full_uri[pmatch[5].rm_so]); in parse_uri() 264 (int) (pmatch[9].rm_eo - pmatch[5].rm_so), in parse_uri() 265 &full_uri[pmatch[5].rm_so]); in parse_uri() 268 (int) (pmatch[7].rm_eo - pmatch[7].rm_so), in parse_uri() 269 &full_uri[pmatch[7].rm_so]); in parse_uri() [all …]
|
/external/pcre/dist2/src/ |
D | pcre2posix.c | 321 so = pmatch[0].rm_so; in regexec() 342 pmatch[i].rm_so = ovector[i*2]; in regexec() 345 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1; in regexec()
|
D | pcre2posix.h | 109 regoff_t rm_so; member
|
D | pcre2test.c | 5985 if (pmatch[i].rm_so >= 0) in process_data() 5988 PCHARSV(pp, pmatch[i].rm_so, in process_data() 5989 pmatch[i].rm_eo - pmatch[i].rm_so, utf, outfile); in process_data()
|
/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()
|
D | mdev.c | 122 if (result || off.rm_so in make_device()
|
/external/toybox/lib/ |
D | lib.c | 1210 for (rc = 0; rc<nmatch && pmatch[rc].rm_so!=-1; rc++) { in regexec0() 1211 pmatch[rc].rm_so += s-string; in regexec0()
|
/external/pcre/dist2/doc/ |
D | pcre2.txt | 8756 The string is considered to start at string + pmatch[0].rm_so and to 8762 rm_so does not imply REG_NOTBOL; REG_STARTEND affects only the location 8778 members rm_so and rm_eo. These contain the byte offset to the first
|