Home
last modified time | relevance | path

Searched refs:nmatch (Results 1 – 24 of 24) sorted by relevance

/external/kmod/libkmod/
Dlibkmod.c428 int err, nmatch = 0; in kmod_lookup_alias_from_alias_bin() local
464 nmatch++; in kmod_lookup_alias_from_alias_bin()
468 return nmatch; in kmod_lookup_alias_from_alias_bin()
471 *list = kmod_list_remove_n_latest(*list, nmatch); in kmod_lookup_alias_from_alias_bin()
635 int err, nmatch = 0; in kmod_lookup_alias_from_config() local
653 nmatch++; in kmod_lookup_alias_from_config()
657 return nmatch; in kmod_lookup_alias_from_config()
660 *list = kmod_list_remove_n_latest(*list, nmatch); in kmod_lookup_alias_from_config()
669 int err, nmatch = 0; in kmod_lookup_alias_from_commands() local
692 nmatch = 1; in kmod_lookup_alias_from_commands()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DRegex.cpp56 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; in match() local
60 pm.resize(nmatch > 0 ? nmatch : 1); in match()
64 int rc = llvm_regexec(preg, String.data(), nmatch, pm.data(), REG_STARTEND); in match()
79 for (unsigned i = 0; i != nmatch; ++i) { in match()
Dregexec.c141 llvm_regexec(const llvm_regex_t *preg, const char *string, size_t nmatch, 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()
Dregengine.inc131 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++)
/external/llvm/lib/Support/
DRegex.cpp60 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; in match() local
64 pm.resize(nmatch > 0 ? nmatch : 1); in match()
68 int rc = llvm_regexec(preg, String.data(), nmatch, pm.data(), REG_STARTEND); in match()
83 for (unsigned i = 0; i != nmatch; ++i) { in match()
Dregexec.c141 llvm_regexec(const llvm_regex_t *preg, const char *string, size_t nmatch, 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()
Dregengine.inc131 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++)
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DRegex.cpp72 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; in match() local
76 pm.resize(nmatch > 0 ? nmatch : 1); in match()
80 int rc = llvm_regexec(preg, String.data(), nmatch, pm.data(), REG_STARTEND); in match()
95 for (unsigned i = 0; i != nmatch; ++i) { in match()
Dregexec.c141 llvm_regexec(const llvm_regex_t *preg, const char *string, size_t nmatch, 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()
Dregengine.inc131 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++)
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DRegex.cpp77 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; in match() local
81 pm.resize(nmatch > 0 ? nmatch : 1); in match()
85 int rc = llvm_regexec(preg, String.data(), nmatch, pm.data(), REG_STARTEND); in match()
100 for (unsigned i = 0; i != nmatch; ++i) { in match()
Dregexec.c141 llvm_regexec(const llvm_regex_t *preg, const char *string, size_t nmatch, 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()
Dregengine.inc131 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++)
/external/pcre/dist2/src/
Dpcre2posix.c299 regexec(const regex_t *preg, const char *string, size_t nmatch, in regexec() argument
316 if ((preg->re_cflags & REG_NOSUB) != 0 || pmatch == NULL) nmatch = 0; in regexec()
344 if ((size_t)rc > nmatch) rc = (int)nmatch; in regexec()
352 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1; in regexec()
/external/jdiff/src/jdiff/
DDiffMyers.java581 int nmatch; in discardable() local
584 nmatch = counts[equivs[i]]; in discardable()
585 if (nmatch == 0) in discardable()
587 else if (nmatch > many) in discardable()
/external/selinux/libsepol/cil/src/
Dcil_resolve_ast.c1284 struct cil_list_item *nmatch = NULL; in __cil_ordered_lists_merge() local
1300 for (nmatch = nfirst; nmatch; nmatch = nmatch->next) { in __cil_ordered_lists_merge()
1301 omatch = __cil_ordered_find_match(nmatch, ofirst); in __cil_ordered_lists_merge()
1307 if (!nmatch) { in __cil_ordered_lists_merge()
1312 if (nmatch != nfirst && omatch != ofirst) { in __cil_ordered_lists_merge()
1317 if (nmatch != nfirst) { in __cil_ordered_lists_merge()
1319 rc = __cil_ordered_list_insert(old, NULL, nfirst, nmatch); in __cil_ordered_lists_merge()
1326 ncurr = nmatch->next; in __cil_ordered_lists_merge()
1336 nmatch = __cil_ordered_find_match(ocurr, ncurr->next); in __cil_ordered_lists_merge()
1337 if (nmatch) { in __cil_ordered_lists_merge()
[all …]
/external/toybox/lib/
Dlib.c1324 int regexec0(regex_t *preg, char *string, long len, int nmatch, in regexec0() argument
1339 rc = regexec(preg, s, nmatch, pmatch, eflags); in regexec0()
1341 for (rc = 0; rc<nmatch && pmatch[rc].rm_so!=-1; rc++) { in regexec0()
Dlib.h259 int regexec0(regex_t *preg, char *string, long len, int nmatch,
/external/guava/guava/lib/
Djdiff.jarMETA-INF/ META-INF/MANIFEST.MF jdiff/ jdiff/API.class API ...
/external/guice/lib/build/jdiff/
Djdiff.jarMETA-INF/ META-INF/MANIFEST.MF jdiff/ jdiff/API.class API ...
/external/pcre/dist2/testdata/
Dtestinput17302 match\nmatch
305 match\nmatch
Dtestoutput17546 match\nmatch
550 match\nmatch
/external/pcre/dist2/doc/
Dpcre2.txt9369 size_t nmatch, regmatch_t pmatch[], int eflags);
9464 for matching, the nmatch and pmatch arguments are ignored, and no cap-
9605 matched strings is returned. The nmatch and pmatch arguments of
9608 The value of nmatch may be zero, and the value pmatch may be NULL
9614 to an array of nmatch structures of type regmatch_t, containing the
/external/pcre/dist2/
DChangeLog962 longer causes PCRE2_NO_AUTO_CAPTURE to be set, though it still ignores nmatch