/external/lldb/source/Core/ |
D | RegularExpression.cpp | 167 if (m_matches[idx].rm_eo == m_matches[idx].rm_so) in GetMatchAtIndex() 173 else if (m_matches[idx].rm_eo > m_matches[idx].rm_so) in GetMatchAtIndex() 176 m_matches[idx].rm_eo - m_matches[idx].rm_so); in GetMatchAtIndex() 188 if (m_matches[idx].rm_eo == m_matches[idx].rm_so) in GetMatchAtIndex() 194 else if (m_matches[idx].rm_eo > m_matches[idx].rm_so) in GetMatchAtIndex() 196 …match_str = llvm::StringRef (s + m_matches[idx].rm_so, m_matches[idx].rm_eo - m_matches[idx].rm_so… in GetMatchAtIndex() 208 if (m_matches[idx1].rm_so == m_matches[idx2].rm_eo) in GetMatchSpanningIndices() 214 else if (m_matches[idx1].rm_so < m_matches[idx2].rm_eo) in GetMatchSpanningIndices() 216 …match_str = llvm::StringRef (s + m_matches[idx1].rm_so, m_matches[idx2].rm_eo - m_matches[idx1].rm… in GetMatchSpanningIndices()
|
/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 …asprintf(&((*uri)->host_and_port), "%.*s",pmatch[4].rm_eo - pmatch[4].rm_so, &full_uri[pmatch[4].r… 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 …asprintf(&((*uri)->path_and_more), "%.*s",pmatch[9].rm_eo - pmatch[5].rm_so, &full_uri[pmatch[5].r… 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 | 135 skip = matches.rm_eo = (s-line)+strlen(seek->arg); in do_grep() 140 skip = matches.rm_eo; in do_grep() 144 if (matches.rm_so || line[matches.rm_eo]) rc = 1; in do_grep() 154 c = start[matches.rm_eo]; in do_grep() 166 if (rc) skip = matches.rm_eo = strlen(start); in do_grep() 170 } else matches.rm_eo = matches.rm_so; in do_grep() 173 matches.rm_eo = strlen(start); in do_grep() 193 if (matches.rm_eo == matches.rm_so) in do_grep() 213 matches.rm_eo-matches.rm_so); in do_grep()
|
D | sed.c | 234 pmatch[rc].rm_eo += s-string; in ghostwheel() 497 mlen = match[0].rm_eo-match[0].rm_so; in walk_pattern() 508 rline += match[0].rm_eo; in walk_pattern() 509 rlen -= match[0].rm_eo; in walk_pattern() 515 if (match[0].rm_eo > INT_MAX) perror_exit(0); in walk_pattern() 527 newlen += match[cc].rm_eo-match[cc].rm_so; in walk_pattern() 536 memcpy(rswap+newlen, rline+match[0].rm_eo, (rlen -= match[0].rm_eo)+1); in walk_pattern() 556 ll = match[cc].rm_eo-match[cc].rm_so; in walk_pattern()
|
D | ps.c | 1511 if (match.rm_so || match.rm_eo!=strlen(name)) continue; in match_pgrep()
|
/external/llvm/lib/Support/ |
D | Regex.cpp | 66 pm[0].rm_eo = String.size(); in match() 89 assert(pm[i].rm_eo >= pm[i].rm_so); in match() 91 pm[i].rm_eo-pm[i].rm_so)); in match()
|
D | regex_impl.h | 45 llvm_regoff_t rm_eo; /* end of match */ member
|
D | regengine.inc | 150 stop = string + pmatch[0].rm_eo; 217 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; 250 assert(m->pmatch[i].rm_eo == -1); 270 pmatch[0].rm_eo = endp - m->offp; 279 pmatch[i].rm_eo = -1; 467 m->pmatch[i].rm_eo = sp - m->offp; 586 if (m->pmatch[i].rm_eo == -1) 589 len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so; 660 offsave = m->pmatch[i].rm_eo; 661 m->pmatch[i].rm_eo = sp - m->offp; [all …]
|
/external/pcre/dist/ |
D | pcreposix.c | 368 eo = pmatch[0].rm_eo; in regexec() 391 pmatch[i].rm_eo = ovector[i*2+1]; in regexec() 394 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1; in regexec()
|
D | pcreposix.h | 109 regoff_t rm_eo; member
|
D | pcretest.c | 5079 pmatch[i].rm_eo - pmatch[i].rm_so, outfile); in main() 5084 PCHARSV(dbuffer, pmatch[i].rm_eo, len - pmatch[i].rm_eo, in main()
|
/external/toybox/toys/pending/ |
D | expr.c | 92 lhs->s = xmprintf("%.*s", rm[1].rm_eo - rm[1].rm_so, lhs->s+rm[1].rm_so); in re() 94 lhs->i = rm[0].rm_eo; in re()
|
D | mdev.c | 123 || off.rm_eo!=strlen(device_name)) in make_device()
|
/external/libmicrohttpd/src/spdy2http/ |
D | proxy.c | 253 (int) (pmatch[2].rm_eo - pmatch[2].rm_so), in parse_uri() 256 (int) (pmatch[4].rm_eo - pmatch[4].rm_so), in parse_uri() 260 (int) (pmatch[5].rm_eo - pmatch[5].rm_so), in parse_uri() 264 (int) (pmatch[9].rm_eo - pmatch[5].rm_so), in parse_uri() 268 (int) (pmatch[7].rm_eo - pmatch[7].rm_so), in parse_uri() 272 (int) (pmatch[9].rm_eo - pmatch[9].rm_so), in parse_uri()
|
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
D | rc_test_helpers.c | 32 return matches[index].rm_eo - matches[index].rm_so; in match_length() 57 matches[i].rm_so, matches[i].rm_eo); in regex_helper()
|
/external/lldb/source/Plugins/Disassembler/llvm/ |
D | DisassemblerLLVMC.cpp | 383 … m_opcode_name.assign(out_string + matches[1].rm_so, matches[1].rm_eo - matches[1].rm_so); in CalculateMnemonicOperandsAndComment() 385 … m_mnemonics.assign(out_string + matches[2].rm_so, matches[2].rm_eo - matches[2].rm_so); in CalculateMnemonicOperandsAndComment()
|
/external/pcre/dist/doc/ |
D | pcre.txt | 9711 have a terminating NUL located at string + pmatch[0].rm_eo (there need 9729 bers rm_so and rm_eo. These contain the offset to the first character
|