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

  /ndk/sources/host-tools/sed-4.2.1/testsuite/
bug-regex12.c 38 int flags, nmatch; member in struct:__anon17027
70 if (! regexec (&re, tests[i].string, tests[i].nmatch,
71 tests[i].nmatch ? rm : NULL, 0))
bug-regex11.c 38 int flags, nmatch; member in struct:__anon17026
119 if (regexec (&re, tests[i].string, tests[i].nmatch, rm, 0))
127 for (n = 0; n < tests[i].nmatch; ++n)
  /external/pcre/
pcreposix.c 293 be set. When this is the case, the nmatch and pmatch arguments are ignored, and
297 regexec(const regex_t *preg, const char *string, size_t nmatch,
315 to put it, ensure that nmatch is zero. Otherwise, ensure the vector for holding
318 if (nosub || pmatch == NULL) nmatch = 0;
320 else if (nmatch > 0)
322 if (nmatch <= POSIX_MALLOC_THRESHOLD)
328 if (nmatch > INT_MAX/(sizeof(int) * 3)) return REG_ESPACE;
329 ovector = (int *)malloc(sizeof(int) * nmatch * 3);
352 0, options, ovector, (int)(nmatch * 3));
354 if (rc == 0) rc = (int)nmatch; /* All captured slots were filled in *
    [all...]
  /external/llvm/lib/Support/
Regex.cpp 56 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; local
60 pm.resize(nmatch > 0 ? nmatch : 1);
64 int rc = llvm_regexec(preg, String.data(), nmatch, pm.data(), REG_STARTEND);
79 for (unsigned i = 0; i != nmatch; ++i) {
regexec.c 141 llvm_regexec(const llvm_regex_t *preg, const char *string, size_t nmatch,
159 return(smatcher(g, string, nmatch, pmatch, eflags));
161 return(lmatcher(g, string, nmatch, pmatch, eflags));
regengine.inc 131 matcher(struct re_guts *g, const char *string, size_t nmatch,
147 nmatch = 0;
192 if (nmatch == 0 && !g->backrefs)
205 if (nmatch == 1 && !g->backrefs)
268 if (nmatch > 0) {
272 if (nmatch > 1) {
274 for (i = 1; i < nmatch; i++)
  /bionic/libc/regex/
regexec.c 139 regexec(const regex_t *preg, const char *string, size_t nmatch,
157 return(smatcher(g, (char *)string, nmatch, pmatch, eflags));
159 return(lmatcher(g, (char *)string, nmatch, pmatch, eflags));
engine.c 128 matcher(struct re_guts *g, char *string, size_t nmatch, regmatch_t pmatch[],
143 nmatch = 0;
188 if (nmatch == 0 && !g->backrefs)
201 if (nmatch == 1 && !g->backrefs)
264 if (nmatch > 0) {
268 if (nmatch > 1) {
270 for (i = 1; i < (ssize_t)nmatch; i++)
  /ndk/sources/host-tools/ndk-stack/regex/
regexec.c 139 regexec(const regex_t *preg, const char *string, size_t nmatch,
157 return(smatcher(g, (char *)string, nmatch, pmatch, eflags));
159 return(lmatcher(g, (char *)string, nmatch, pmatch, eflags));
engine.c 128 matcher(struct re_guts *g, char *string, size_t nmatch, regmatch_t pmatch[],
143 nmatch = 0;
188 if (nmatch == 0 && !g->backrefs)
201 if (nmatch == 1 && !g->backrefs)
264 if (nmatch > 0) {
268 if (nmatch > 1) {
270 for (i = 1; i < (ssize_t)nmatch; i++)
  /external/srec/tools/grxmlcompile/
sub_min.cpp 260 int fix, six, fmiss, smiss, nmatch, symTst, newId; local
271 fmiss= smiss= nmatch= 0;
310 nmatch++;
341 assert (nmatch > 0);
345 if (nmatch > 0) {
347 for (int ii= 0; ii < nmatch; ii++) {
354 return nmatch;
  /ndk/sources/host-tools/sed-4.2.1/lib/
regexec.c 44 size_t nmatch, regmatch_t pmatch[],
69 Idx cur_idx, Idx nmatch) internal_function;
77 size_t nmatch, regmatch_t *pmatch,
215 If NMATCH is zero or REG_NOSUB was set in the cflags argument to
217 least NMATCH elements, and we set them to the offsets of the
227 regexec (preg, string, nmatch, pmatch, eflags)
230 size_t nmatch;
260 length, nmatch, pmatch, eflags);
275 const char *_Restrict_ string, size_t nmatch,
278 return regexec (preg, string, nmatch, pmatch
    [all...]
  /external/oprofile/libregex/
op_regex.cpp 47 size_t nmatch)
49 return regexec(&regex, str.c_str(), nmatch, match, 0) != REG_NOMATCH;
  /external/jdiff/src/jdiff/
DiffMyers.java 581 int nmatch; local
584 nmatch = counts[equivs[i]];
585 if (nmatch == 0)
587 else if (nmatch > many)

Completed in 1049 milliseconds