/cts/suite/audio_quality/lib/src/audio/ |
AudioHardware.cpp | 50 regmatch_t pmatch[nmatch]; local 51 if (!SimpleScriptExec::checkIfPassed(resultStr, match, nmatch, pmatch)) { 55 LOGV("pmatch 0: %d, %d 1:%d, %d 2:%d, %d", 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) [all...] |
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
tst-regex2.c | 108 regmatch_t pmatch[71]; local 109 err = regexec (&rbuf, string, 71, pmatch, 0); 118 if (pmatch[0].rm_eo != pmatch[0].rm_so + 11 119 || pmatch[0].rm_eo > len 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 [all...] |
/external/llvm/lib/Support/ |
regengine.inc | 74 llvm_regmatch_t *pmatch; /* [nsub+1] (0 element unused) */ 132 llvm_regmatch_t pmatch[], 149 start = string + pmatch[0].rm_so; 150 stop = string + pmatch[0].rm_eo; 171 m->pmatch = NULL; 187 free(m->pmatch); 209 if (m->pmatch == NULL) 210 m->pmatch = (llvm_regmatch_t *)malloc((m->g->nsub + 1) * 212 if (m->pmatch == NULL) { 217 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1 [all...] |
regexec.c | 142 llvm_regmatch_t pmatch[], int eflags) 159 return(smatcher(g, string, nmatch, pmatch, eflags)); 161 return(lmatcher(g, string, nmatch, pmatch, eflags));
|
Regex.cpp | 62 // pmatch needs to have at least one element.
|
/ndk/sources/host-tools/ndk-stack/regex/ |
engine.c | 74 regmatch_t *pmatch; /* [nsub+1] (0 element unused) */ member in struct:match 128 matcher(struct re_guts *g, char *string, size_t nmatch, regmatch_t pmatch[], 145 start = string + pmatch[0].rm_so; 146 stop = string + pmatch[0].rm_eo; 167 m->pmatch = NULL; 183 free(m->pmatch); 205 if (m->pmatch == NULL) 206 m->pmatch = (regmatch_t *)malloc((m->g->nsub + 1) * 208 if (m->pmatch == NULL) { 213 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1 [all...] |
regexec.c | 140 regmatch_t pmatch[], int eflags) 157 return(smatcher(g, (char *)string, nmatch, pmatch, eflags)); 159 return(lmatcher(g, (char *)string, nmatch, pmatch, eflags));
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
fastgrep.c | 205 grep_search(fastgrep_t *fg, const unsigned char *data, size_t len, regmatch_t *pmatch) 210 if (pmatch->rm_so == (ssize_t)len) 213 if (fg->bol && pmatch->rm_so != 0) { 214 pmatch->rm_so = len; 215 pmatch->rm_eo = len; 233 pmatch->rm_so = j; 234 pmatch->rm_eo = j + fg->len; 244 pmatch->rm_so = j - fg->len; 245 pmatch->rm_eo = j; 256 j = pmatch->rm_so [all...] |
util.c | 290 regmatch_t pmatch; local 297 pmatch.rm_so = st; 298 pmatch.rm_eo = l->len; 309 l->len, &pmatch); 311 st = pmatch.rm_eo; 314 &pmatch, eflags); 316 st = pmatch.rm_eo; 322 (pmatch.rm_so != 0 || 323 (size_t)pmatch.rm_eo != l->len)) 326 if (fg_pattern[i].word && pmatch.rm_so != 0) [all...] |
/cts/suite/audio_quality/lib/src/ |
SimpleScriptExec.h | 49 * @param pmatch pattern match elements 53 int nmatch = 0, regmatch_t pmatch[] = NULL);
|
SimpleScriptExec.cpp | 42 int nmatch, regmatch_t pmatch[]) 58 if (regexec(&re, str.string(), nmatch, pmatch, 0) == 0) {
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
engine.c | 110 regmatch_t *pmatch; /* [nsub+1] (0 element unused) */ member in struct:match 129 static int matcher(struct re_guts *g, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags); 173 == size_t nmatch, regmatch_t pmatch[], int eflags); 180 regmatch_t pmatch[], 196 /* pmatch checked below */ 202 _DIAGASSERT(pmatch != NULL); 203 start = string + (size_t)pmatch[0].rm_so; 204 stop = string + (size_t)pmatch[0].rm_eo; 225 m->pmatch = NULL; 261 if (m->pmatch == NULL [all...] |
regexec.c | 207 regmatch_t pmatch[], 231 return(smatcher(g, s, nmatch, pmatch, eflags)); 233 return(lmatcher(g, s, nmatch, pmatch, eflags));
|
/ndk/sources/host-tools/sed-4.2.1/sed/ |
regexp.c | 173 copy_regs (regs, pmatch, nregs) 175 regmatch_t *pmatch; 201 regs->start[i] = pmatch[i].rm_so; 202 regs->end[i] = pmatch[i].rm_eo;
|
/cts/suite/audio_quality/lib/src/task/ |
TaskCase.cpp | 242 regmatch_t pmatch[nmatch]; local 253 while (regexec(&re, src, nmatch, pmatch, 0) == 0) { 254 matchStart = strStart + pmatch[1].rm_so; 255 matchEnd = strStart + pmatch[1].rm_eo; 256 translated.append(StringUtil::substr(orig, strStart, pmatch[1].rm_so - 1)); //-1 for $ 268 src += pmatch[1].rm_eo; 269 strStart += pmatch[1].rm_eo;
|
/external/pcre/dist/doc/ |
pcreposix.3 | |
/external/pcre/dist/ |
pcreposix.c | 318 be set. When this is the case, the nmatch and pmatch arguments are ignored, and 323 regmatch_t pmatch[], int eflags) 343 if (nosub || pmatch == NULL) nmatch = 0; 367 so = pmatch[0].rm_so; 368 eo = pmatch[0].rm_eo; 390 pmatch[i].rm_so = ovector[i*2]; 391 pmatch[i].rm_eo = ovector[i*2+1]; 394 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1;
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
regexec.c | 44 size_t nmatch, regmatch_t pmatch[], 57 static unsigned int re_copy_regs (struct re_registers *regs, regmatch_t *pmatch, 67 static void update_regs (const re_dfa_t *dfa, regmatch_t *pmatch, 77 size_t nmatch, regmatch_t *pmatch, 216 `regcomp', we ignore PMATCH. Otherwise, we assume PMATCH has at 227 regexec (preg, string, nmatch, pmatch, eflags) 231 regmatch_t pmatch[_Restrict_arr_]; 245 start = pmatch[0].rm_so; 246 length = pmatch[0].rm_eo 426 regmatch_t *pmatch; local [all...] |
/external/zlib/src/ |
zlib2ansi | 60 my $pMatch = '(\b' . join('|', keys %pList) . '\b)\W*$' ; 84 my %tmp = map { /$pMatch/; $_ => $pList{$1} }
|
/external/pcre/dist/doc/html/ |
pcreposix.html | 36 <b> size_t <i>nmatch</i>, regmatch_t <i>pmatch</i>[], int <i>eflags</i>);</b> 123 <i>nmatch</i> and <i>pmatch</i> arguments are ignored, and no captured strings 225 The string is considered to start at <i>string</i> + <i>pmatch[0].rm_so</i> and 226 to have a terminating NUL located at <i>string</i> + <i>pmatch[0].rm_eo</i> 236 strings is returned. The <i>nmatch</i> and <i>pmatch</i> arguments of 240 If the value of <i>nmatch</i> is zero, or if the value <i>pmatch</i> is NULL, 245 substrings, are returned via the <i>pmatch</i> argument, which points to an
|
/external/chromium_org/third_party/sqlite/src/src/ |
resolve.c | 141 struct SrcList_item *pMatch = 0; /* The matching pSrcList item */ 188 pMatch = pItem; 196 pMatch = pItem; 315 pMatch = 0; 370 if( pExpr->iColumn>=0 && pMatch!=0 ){ 376 assert( pMatch->iCursor==pExpr->iTable ); 377 pMatch->colUsed |= ((Bitmask)1)<<n; [all...] |
/ndk/sources/host-tools/nawk-20071023/ |
proto.h | 60 extern int pmatch(fa *, const char *);
|
run.c | 580 mf = pmatch; [all...] |
b.c | 488 int pmatch(fa *f, const char *p0) /* longest match, for sub */ function 535 overflo("out of space in pmatch");
|
/external/chromium_org/third_party/sqlite/src/ext/fts1/ |
fts1.c | [all...] |