Home
last modified time | relevance | path

Searched refs:rm_eo (Results 1 – 15 of 15) 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/toybox/toys/posix/
Dgrep.c121 skip = matches[which].rm_eo = (s-line)+strlen(seek->arg);
126 skip = matches[which].rm_eo;
130 if (matches[which].rm_so || line[matches[which].rm_eo]) rc = 1;
134 if (rc) skip = matches[which].rm_eo = strlen(start);
138 } else matches[which].rm_eo = matches[which].rm_so;
141 matches[which].rm_eo = strlen(start);
156 if (matches[which].rm_eo == matches[which].rm_so)
167 xprintf("%.*s%c", matches[which].rm_eo - matches[which].rm_so,
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()
/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.c5076 pmatch[i].rm_eo - pmatch[i].rm_so, outfile); in main()
5081 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.c127 || off.rm_eo!=strlen(device_name)) in make_device()
Dpgrep.c58 if ((rm[0].rm_so == 0) && ((rm[0].rm_eo - rm[0].rm_so) == len)) return 1; in regex_match()
/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.txt9687 have a terminating NUL located at string + pmatch[0].rm_eo (there need
9705 bers rm_so and rm_eo. These contain the offset to the first character