HomeSort by relevance Sort by last modified time
    Searched refs:pmatch (Results 1 - 15 of 15) sorted by null

  /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/pcre/
pcreposix.c 293 be set. When this is the case, the nmatch and pmatch arguments are ignored, and
298 regmatch_t pmatch[], int eflags)
318 if (nosub || pmatch == NULL) nmatch = 0;
342 so = pmatch[0].rm_so;
343 eo = pmatch[0].rm_eo;
365 pmatch[i].rm_so = ovector[i*2];
366 pmatch[i].rm_eo = ovector[i*2+1];
369 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1;
pcretest.c 2512 regmatch_t *pmatch = NULL; local
    [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));
  /bionic/libc/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));
  /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));
  /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;
  /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...]
  /system/core/sh/
expand.c 110 STATIC int pmatch(char *, char *, int);
1335 return 1 - pmatch(pattern + 2, string);
1338 return pmatch(pattern, string, squoted);
1343 pmatch(char *pattern, char *string, int squoted) function
1386 if (pmatch(p, q, squoted))
  /ndk/sources/host-tools/nawk-20071023/
proto.h 58 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");

Completed in 753 milliseconds