Searched refs:pmatch (Results 1 – 5 of 5) sorted by relevance
/ndk/sources/host-tools/ndk-stack/regex/ |
D | engine.c | 74 regmatch_t *pmatch; /* [nsub+1] (0 element unused) */ member 128 matcher(struct re_guts *g, char *string, size_t nmatch, regmatch_t pmatch[], in matcher() argument 145 start = string + pmatch[0].rm_so; in matcher() 146 stop = string + pmatch[0].rm_eo; in matcher() 167 m->pmatch = NULL; in matcher() 183 free(m->pmatch); in matcher() 205 if (m->pmatch == NULL) in matcher() 206 m->pmatch = (regmatch_t *)malloc((m->g->nsub + 1) * in matcher() 208 if (m->pmatch == NULL) { in matcher() 213 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; in matcher() [all …]
|
D | regexec.c | 140 regmatch_t pmatch[], int eflags) in regexec() argument 157 return(smatcher(g, (char *)string, nmatch, pmatch, eflags)); in regexec() 159 return(lmatcher(g, (char *)string, nmatch, pmatch, eflags)); in regexec()
|
/ndk/sources/host-tools/nawk-20071023/ |
D | proto.h | 60 extern int pmatch(fa *, const char *);
|
D | run.c | 580 mf = pmatch; in matchop() 1766 if (pmatch(pfa, t)) { in sub() 1828 if (pmatch(pfa, t)) { in gsub() 1885 } while (pmatch(pfa,t)); in gsub()
|
D | b.c | 488 int pmatch(fa *f, const char *p0) /* longest match, for sub */ in pmatch() function
|