Searched refs:pmatch (Results 1 – 6 of 6) sorted by relevance
/external/pcre/dist/ |
D | pcreposix.c | 323 regmatch_t pmatch[], int eflags) in regexec() argument 343 if (nosub || pmatch == NULL) nmatch = 0; in regexec() 367 so = pmatch[0].rm_so; in regexec() 368 eo = pmatch[0].rm_eo; in regexec() 390 pmatch[i].rm_so = ovector[i*2]; 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 | pcretest.c | 5049 regmatch_t *pmatch = NULL; in main() local 5051 pmatch = (regmatch_t *)malloc(sizeof(regmatch_t) * use_size_offsets); in main() 5056 rc = regexec(&preg, (const char *)bptr, use_size_offsets, pmatch, eflags); in main() 5072 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() 5081 PCHARSV(dbuffer, pmatch[i].rm_eo, len - pmatch[i].rm_eo, in main() 5088 free(pmatch); in main()
|
D | ChangeLog | 2001 value for nmatch with a NULL value for pmatch, the value of 3599 with this option is matched, the nmatch and pmatch options of regexec() are
|
/external/llvm/lib/Support/ |
D | 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 …]
|
D | regexec.c | 142 llvm_regmatch_t pmatch[], int eflags) in llvm_regexec() argument 159 return(smatcher(g, string, nmatch, pmatch, eflags)); in llvm_regexec() 161 return(lmatcher(g, string, nmatch, pmatch, eflags)); in llvm_regexec()
|
/external/pcre/dist/doc/ |
D | pcre.txt | 9500 size_t nmatch, regmatch_t pmatch[], int eflags); 9584 ing, the nmatch and pmatch arguments are ignored, and no captured 9686 The string is considered to start at string + pmatch[0].rm_so and to 9687 have a terminating NUL located at string + pmatch[0].rm_eo (there need 9696 matched strings is returned. The nmatch and pmatch arguments of 9699 If the value of nmatch is zero, or if the value pmatch is NULL, no data 9703 tured substrings, are returned via the pmatch argument, which points to
|