Searched refs:rm_eo (Results 1 – 15 of 15) sorted by relevance
/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/toybox/toys/posix/ |
D | grep.c | 121 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,
|
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()
|
/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 | 5076 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/ |
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 | 127 || off.rm_eo!=strlen(device_name)) in make_device()
|
D | pgrep.c | 58 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/ |
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 | 9687 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
|