/cts/suite/audio_quality/lib/src/audio/ |
AudioHardware.cpp | 56 pmatch[0].rm_so, pmatch[0].rm_eo, 57 pmatch[1].rm_so, pmatch[1].rm_eo, 58 pmatch[2].rm_so, pmatch[2].rm_eo); 60 if (pmatch[1].rm_so == -1) { 63 if (pmatch[2].rm_so == -1) { 66 android::String8 product = StringUtil::substr(resultStr, pmatch[1].rm_so, 67 pmatch[1].rm_eo - pmatch[1].rm_so); 69 android::String8 cardNumber = StringUtil::substr(resultStr, pmatch[2].rm_so, 70 pmatch[2].rm_eo - pmatch[2].rm_so);
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
tst-pcre.c | 179 rm[0].rm_so = -1; 197 if (rm[0].rm_so != -1 || rm[0].rm_eo != -1) 200 linenum, pattern, string, rm[0].rm_so, rm[0].rm_eo); 219 if (rm[num].rm_so == -1 || rm[num].rm_eo == -1) 225 rm[num].rm_so, rm[num].rm_eo); 231 if (rm[num].rm_eo < rm[num].rm_so 232 || rm[num].rm_eo - rm[num].rm_so != len - (p + 2 - line) 233 || strncmp (p + 2, string + rm[num].rm_so, 234 rm[num].rm_eo - rm[num].rm_so) != 0) 238 rm[num].rm_so, rm[num].rm_eo) [all...] |
bug-regex9.c | 63 if (rm[0].rm_so != 0 || rm[0].rm_eo != 10 64 || rm[1].rm_so != 8 || rm[1].rm_eo != 8) 67 rm[0].rm_so, rm[0].rm_eo, rm[1].rm_so, rm[1].rm_eo);
|
runtests.c | 98 regs[x].rm_so = regs[x].rm_eo = -1; 108 if (regs[x].rm_so != -1) 111 regs[x].rm_so, 113 regs[x].rm_eo - regs[x].rm_so, 114 t->data + regs[x].rm_so);
|
tst-boost.c | 201 rm[i].rm_so = -1; 210 int rm_so, rm_eo; local 212 rm_so = strtol (p, &q, 10); 222 if (rm[i].rm_so != rm_so || rm[i].rm_eo != rm_eo) 225 i, rm[i].rm_so, rm[i].rm_eo, rm_so, rm_eo);
|
tst-regex2.c | 118 if (pmatch[0].rm_eo != pmatch[0].rm_so + 11 120 || string + pmatch[0].rm_so >= strchr (string, 'R') 121 || strncmp (string + pmatch[0].rm_so, 133 if (pmatch[l].rm_so != pmatch[0].rm_so + j 134 || pmatch[l].rm_eo != pmatch[l].rm_so + 1)
|
runptests.c | 106 if (match[0].rm_so == 0 && tests[cnt].start == 0 109 else if (match[0].rm_so + 1 == tests[cnt].start 115 match[0].rm_so, match[0].rm_eo);
|
bug-regex11.c | 128 if (rm[n].rm_so != tests[i].rm[n].rm_so 131 if (tests[i].rm[n].rm_so == -1 && tests[i].rm[n].rm_eo == -1) 134 tests[i].pattern, i, n, rm[n].rm_so, rm[n].rm_eo);
|
tst-rxspencer.c | 173 if (rm[idx].rm_so == -1 && rm[idx].rm_eo == -1) 179 if (rm[idx].rm_so == -1 || rm[idx].rm_eo == -1) 187 if (rm[idx].rm_so != rm[idx].rm_eo) 193 if (strncmp (string + rm[idx].rm_so, match + 1, strlen (match + 1) 202 if (rm[idx].rm_eo - rm[idx].rm_so != strlen (match) 203 || strncmp (string + rm[idx].rm_so, match, 204 rm[idx].rm_eo - rm[idx].rm_so))
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/tests/ |
rc_test_helpers.c | 32 return matches[index].rm_eo - matches[index].rm_so; 57 matches[i].rm_so, matches[i].rm_eo); 106 tokens.Negate.String = src_str + matches[1].rm_so; 108 tokens.Abs.String = src_str + matches[2].rm_so; 110 tokens.File.String = src_str + matches[3].rm_so; 112 tokens.Index.String = src_str + matches[4].rm_so; 114 tokens.Swizzle.String = src_str + matches[5].rm_so; 232 tokens.File.String = dst_str + matches[1].rm_so; 234 tokens.Index.String = dst_str + matches[2].rm_so; 236 tokens.WriteMask.String = dst_str + matches[3].rm_so; [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
rc_test_helpers.c | 32 return matches[index].rm_eo - matches[index].rm_so; 57 matches[i].rm_so, matches[i].rm_eo); 106 tokens.Negate.String = src_str + matches[1].rm_so; 108 tokens.Abs.String = src_str + matches[2].rm_so; 110 tokens.File.String = src_str + matches[3].rm_so; 112 tokens.Index.String = src_str + matches[4].rm_so; 114 tokens.Swizzle.String = src_str + matches[5].rm_so; 232 tokens.File.String = dst_str + matches[1].rm_so; 234 tokens.Index.String = dst_str + matches[2].rm_so; 236 tokens.WriteMask.String = dst_str + matches[3].rm_so; [all...] |
/external/llvm/lib/Support/ |
Regex.cpp | 65 pm[0].rm_so = 0; 84 if (pm[i].rm_so == -1) { 89 assert(pm[i].rm_eo >= pm[i].rm_so); 90 Matches->push_back(StringRef(String.data()+pm[i].rm_so, 91 pm[i].rm_eo-pm[i].rm_so));
|
regengine.inc | 149 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...] |
regex_impl.h | 44 llvm_regoff_t rm_so; /* start of match */ member in struct:__anon29693
|
/external/lldb/source/Core/ |
RegularExpression.cpp | 167 if (m_matches[idx].rm_eo == m_matches[idx].rm_so) 173 else if (m_matches[idx].rm_eo > m_matches[idx].rm_so) 175 match_str.assign (s + m_matches[idx].rm_so, 176 m_matches[idx].rm_eo - m_matches[idx].rm_so); 188 if (m_matches[idx].rm_eo == m_matches[idx].rm_so) 194 else if (m_matches[idx].rm_eo > m_matches[idx].rm_so) 196 match_str = llvm::StringRef (s + m_matches[idx].rm_so, m_matches[idx].rm_eo - m_matches[idx].rm_so); 208 if (m_matches[idx1].rm_so == m_matches[idx2].rm_eo) 214 else if (m_matches[idx1].rm_so < m_matches[idx2].rm_eo [all...] |
/external/oprofile/libregex/ |
op_regex.cpp | 231 if (matched.rm_so == -1 && 234 } else if (matched.rm_so == -1 || 239 inserted += str.substr(matched.rm_so, 240 matched.rm_eo - matched.rm_so); 248 size_t first = match[0].rm_so; 249 size_t count = match[0].rm_eo - match[0].rm_so;
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
fastgrep.c | 210 if (pmatch->rm_so == (ssize_t)len) 213 if (fg->bol && pmatch->rm_so != 0) { 214 pmatch->rm_so = len; 233 pmatch->rm_so = j; 244 pmatch->rm_so = j - fg->len; 256 j = pmatch->rm_so; 259 pmatch->rm_so = j;
|
util.c | 297 pmatch.rm_so = st; 322 (pmatch.rm_so != 0 || 326 if (fg_pattern[i].word && pmatch.rm_so != 0) { 330 if (pmatch.rm_so != 0 && 331 sscanf(&l->dat[pmatch.rm_so - 1], 357 if (st == (size_t)pmatch.rm_so) 476 fwrite(line->dat + a, matches[i].rm_so - a, 1, 481 fwrite(line->dat + matches[i].rm_so, 482 matches[i].rm_eo - matches[i].rm_so, 1,
|
/ndk/sources/host-tools/ndk-stack/regex/ |
engine.c | 145 start = string + pmatch[0].rm_so; 213 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; 245 assert(m->pmatch[i].rm_so == -1); 265 pmatch[0].rm_so = m->coldp - m->offp; 274 pmatch[i].rm_so = -1; 453 m->pmatch[i].rm_so = sp - m->offp; 579 assert(m->pmatch[i].rm_so != -1); 580 len = m->pmatch[i].rm_eo - m->pmatch[i].rm_so; 586 ssp = m->offp + m->pmatch[i].rm_so; 640 offsave = m->pmatch[i].rm_so; [all...] |
regex.h | 60 regoff_t rm_so; /* start of match */ member in struct:__anon43031
|
/ndk/sources/host-tools/sed-4.2.1/sed/ |
regexp.c | 201 regs->start[i] = pmatch[i].rm_so; 239 regmatch[0].rm_so = CAST(int)buf_start_offset;
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
engine.c | 203 start = string + (size_t)pmatch[0].rm_so; 269 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = (regoff_t)-1; 300 assert(m->pmatch[i].rm_so == (regoff_t)-1); 320 pmatch[0].rm_so = m->coldp - m->offp; 329 pmatch[i].rm_so = (regoff_t)-1; 539 m->pmatch[i].rm_so = sp - m->offp; 676 assert(m->pmatch[i].rm_so != (regoff_t)-1); 677 len = (size_t)(m->pmatch[i].rm_eo - m->pmatch[i].rm_so); 683 ssp = m->offp + (size_t)m->pmatch[i].rm_so; 736 offsave = m->pmatch[i].rm_so; [all...] |
/bionic/libc/include/ |
regex.h | 56 regoff_t rm_so; /* start of match */ member in struct:__anon173
|
/development/ndk/platforms/android-8/include/ |
regex.h | 56 regoff_t rm_so; /* start of match */ member in struct:__anon1629
|
/development/ndk/platforms/android-L/include/ |
regex.h | 56 regoff_t rm_so; /* start of match */ member in struct:__anon2523
|