Home
last modified time | relevance | path

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

/external/lldb/source/Core/
DRegularExpression.cpp167 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/
Dmhd2spdy_structures.c88 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/
Dgrep.c135 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()
Dsed.c234 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()
Dps.c1511 if (match.rm_so || match.rm_eo!=strlen(name)) continue; in match_pgrep()
/external/llvm/lib/Support/
DRegex.cpp66 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()
Dregex_impl.h45 llvm_regoff_t rm_eo; /* end of match */ member
Dregengine.inc150 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/
Dpcreposix.c368 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()
Dpcreposix.h109 regoff_t rm_eo; member
Dpcretest.c5079 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/
Dexpr.c92 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()
Dmdev.c123 || off.rm_eo!=strlen(device_name)) in make_device()
/external/libmicrohttpd/src/spdy2http/
Dproxy.c253 (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/
Drc_test_helpers.c32 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/
DDisassemblerLLVMC.cpp383 … 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/
Dpcre.txt9711 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