/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...] |
/external/libmicrohttpd/src/examples/ |
mhd2spdy_structures.c | 77 regmatch_t pmatch[10]; local 79 if (0 != (ret = regexec(preg, full_uri, nmatch, pmatch, 0))) 88 asprintf(&((*uri)->scheme), "%.*s",pmatch[2].rm_eo - pmatch[2].rm_so, &full_uri[pmatch[2].rm_so]); 89 asprintf(&((*uri)->host_and_port), "%.*s",pmatch[4].rm_eo - pmatch[4].rm_so, &full_uri[pmatch[4].rm_so]); 90 asprintf(&((*uri)->path), "%.*s",pmatch[5].rm_eo - pmatch[5].rm_so, &full_uri[pmatch[5].rm_so]) [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) {
|
/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...] |
/external/pcre/dist2/src/ |
pcre2posix.c | 291 pmatch arguments are ignored, and the only result is yes/no/error. */ 295 regmatch_t pmatch[], int eflags) 309 write to pmatch. */ 311 if ((preg->re_cflags & REG_NOSUB) != 0 || pmatch == NULL) nmatch = 0; 320 if (pmatch == NULL) return REG_INVARG; 321 so = pmatch[0].rm_so; 322 eo = pmatch[0].rm_eo; 342 pmatch[i].rm_so = ovector[i*2]; 343 pmatch[i].rm_eo = ovector[i*2+1]; 345 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1 [all...] |
pcre2test.c | 5936 regmatch_t *pmatch = NULL; local [all...] |
/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));
|
/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));
|
/external/swiftshader/third_party/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));
|
/external/swiftshader/third_party/llvm-subzero/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));
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/ |
regposix.c | 169 regmatch_t pmatch[], int posix_options)
191 pm = pmatch;
201 if (pm != pmatch && pm != NULL) {
202 xmemcpy(pmatch, pm, sizeof(regmatch_t) * nmatch);
208 pmatch[i].rm_so = pmatch[i].rm_eo = ONIG_REGION_NOTPOS;
214 if (pm != pmatch && pm != NULL)
|
/external/libmicrohttpd/src/spdy2http/ |
proxy.c | 240 regmatch_t pmatch[10]; local 242 if (0 != (ret = regexec(preg, full_uri, nmatch, pmatch, 0))) 253 (int) (pmatch[2].rm_eo - pmatch[2].rm_so), 254 &full_uri[pmatch[2].rm_so]); 256 (int) (pmatch[4].rm_eo - pmatch[4].rm_so), 257 &full_uri[pmatch[4].rm_so]); 260 (int) (pmatch[5].rm_eo - pmatch[5].rm_so) [all...] |
/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/toybox/lib/ |
lib.c | 1274 regmatch_t pmatch[], int eflags) 1288 rc = regexec(preg, s, nmatch, pmatch, eflags); 1290 for (rc = 0; rc<nmatch && pmatch[rc].rm_so!=-1; rc++) { 1291 pmatch[rc].rm_so += s-string; 1292 pmatch[rc].rm_eo += s-string;
|
lib.h | 241 regmatch_t pmatch[], int eflags);
|
/external/syslinux/gpxe/src/drivers/net/ |
natsemi.c | 254 u16 pmatch[3]; local 275 /* PMATCH */ 278 pmatch[i] = inw(np->ioaddr + RxFilterData); 310 /* restore PMATCH */ 313 outw (pmatch[i], np->ioaddr + RxFilterData);
|
/external/one-true-awk/ |
proto.h | 55 extern int pmatch(fa *, const char *);
|
run.c | 581 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");
|