Home
last modified time | relevance | path

Searched refs:rm_so (Results 1 – 12 of 12) 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()
175 match_str.assign (s + 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/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()
106 tokens.Negate.String = src_str + matches[1].rm_so; in init_rc_normal_src()
108 tokens.Abs.String = src_str + matches[2].rm_so; in init_rc_normal_src()
110 tokens.File.String = src_str + matches[3].rm_so; in init_rc_normal_src()
112 tokens.Index.String = src_str + matches[4].rm_so; in init_rc_normal_src()
114 tokens.Swizzle.String = src_str + matches[5].rm_so; in init_rc_normal_src()
232 tokens.File.String = dst_str + matches[1].rm_so; in init_rc_normal_dst()
234 tokens.Index.String = dst_str + matches[2].rm_so; in init_rc_normal_dst()
236 tokens.WriteMask.String = dst_str + matches[3].rm_so; in init_rc_normal_dst()
[all …]
/external/chromium_org/third_party/mesa/src/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()
106 tokens.Negate.String = src_str + matches[1].rm_so; in init_rc_normal_src()
108 tokens.Abs.String = src_str + matches[2].rm_so; in init_rc_normal_src()
110 tokens.File.String = src_str + matches[3].rm_so; in init_rc_normal_src()
112 tokens.Index.String = src_str + matches[4].rm_so; in init_rc_normal_src()
114 tokens.Swizzle.String = src_str + matches[5].rm_so; in init_rc_normal_src()
232 tokens.File.String = dst_str + matches[1].rm_so; in init_rc_normal_dst()
234 tokens.Index.String = dst_str + matches[2].rm_so; in init_rc_normal_dst()
236 tokens.WriteMask.String = dst_str + matches[3].rm_so; in init_rc_normal_dst()
[all …]
/external/llvm/lib/Support/
DRegex.cpp65 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()
Dregex_impl.h44 llvm_regoff_t rm_so; /* start of match */ member
Dregengine.inc149 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/oprofile/libregex/
Dop_regex.cpp231 if (matched.rm_so == -1 && in do_replace()
234 } else if (matched.rm_so == -1 || in do_replace()
239 inserted += str.substr(matched.rm_so, in do_replace()
240 matched.rm_eo - matched.rm_so); in do_replace()
248 size_t first = match[0].rm_so; in do_replace()
249 size_t count = match[0].rm_eo - match[0].rm_so; in do_replace()
/external/pcre/dist/
Dpcreposix.c367 so = pmatch[0].rm_so; in regexec()
390 pmatch[i].rm_so = ovector[i*2]; in regexec()
394 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1; in regexec()
Dpcreposix.h108 regoff_t rm_so; member
Dpcretest.c5072 if (pmatch[i].rm_so >= 0) in main()
5075 PCHARSV(dbuffer, pmatch[i].rm_so, in main()
5076 pmatch[i].rm_eo - pmatch[i].rm_so, outfile); in main()
/external/lldb/source/Plugins/Disassembler/llvm/
DDisassemblerLLVMC.cpp382 if (matches[1].rm_so != -1) in CalculateMnemonicOperandsAndComment()
383 … m_opcode_name.assign(out_string + matches[1].rm_so, matches[1].rm_eo - matches[1].rm_so); in CalculateMnemonicOperandsAndComment()
384 if (matches[2].rm_so != -1) 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.txt9686 The string is considered to start at string + pmatch[0].rm_so and to
9692 rm_so does not imply REG_NOTBOL; REG_STARTEND affects only the location
9705 bers rm_so and rm_eo. These contain the offset to the first character