Searched refs:pmatch (Results 1 – 8 of 8) sorted by relevance
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
D | tst-regex2.c | 108 regmatch_t pmatch[71]; in main() local 109 err = regexec (&rbuf, string, 71, pmatch, 0); in main() 118 if (pmatch[0].rm_eo != pmatch[0].rm_so + 11 in main() 119 || pmatch[0].rm_eo > len in main() 120 || string + pmatch[0].rm_so >= strchr (string, 'R') in main() 121 || strncmp (string + pmatch[0].rm_so, in main() 133 if (pmatch[l].rm_so != pmatch[0].rm_so + j in main() 134 || pmatch[l].rm_eo != pmatch[l].rm_so + 1) in main()
|
/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/sed-4.2.1/sed/ |
D | regexp.c | 172 copy_regs (regs, pmatch, nregs) in copy_regs() argument 174 regmatch_t *pmatch; 200 regs->start[i] = pmatch[i].rm_so; 201 regs->end[i] = pmatch[i].rm_eo;
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
D | 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, 226 regexec (preg, string, nmatch, pmatch, eflags) in regexec() argument 230 regmatch_t pmatch[_Restrict_arr_]; 244 start = pmatch[0].rm_so; 245 length = pmatch[0].rm_eo; 259 length, nmatch, pmatch, eflags); 275 regmatch_t pmatch[], int eflags) in __compat_regexec() argument [all …]
|
/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
|