Searched refs:nmatch (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-10.1-release/usr.bin/grep/regex/
H A Dfastmatch.c130 size_t nmatch, regmatch_t pmatch[], int eflags)
136 type, nmatch, pmatch, eflags));
138 return tre_match_fast(preg, string, len, type, nmatch,
143 tre_fastexec(const fastmatch_t *preg, const char *string, size_t nmatch, argument
146 return tre_fastnexec(preg, string, (size_t)-1, nmatch, pmatch, eflags);
151 size_t nmatch, regmatch_t pmatch[], int eflags)
157 type, nmatch, pmatch, eflags));
159 return tre_match_fast(preg, string, len, type, nmatch,
165 size_t nmatch, regmatch_t pmatch[], int eflags)
167 return tre_fastwnexec(preg, string, (size_t)-1, nmatch, pmatc
129 tre_fastnexec(const fastmatch_t *preg, const char *string, size_t len, size_t nmatch, regmatch_t pmatch[], int eflags) argument
150 tre_fastwnexec(const fastmatch_t *preg, const wchar_t *string, size_t len, size_t nmatch, regmatch_t pmatch[], int eflags) argument
164 tre_fastwexec(const fastmatch_t *preg, const wchar_t *string, size_t nmatch, regmatch_t pmatch[], int eflags) argument
[all...]
H A Dtre-fastmatch.h18 tre_str_type_t type, int nmatch, regmatch_t pmatch[], int eflags);
H A Dfastmatch.h44 tre_fastexec(const fastmatch_t *preg, const char *string, size_t nmatch,
58 size_t nmatch, regmatch_t pmatch[], int eflags);
70 size_t nmatch, regmatch_t pmatch[], int eflags);
80 size_t nmatch, regmatch_t pmatch[], int eflags);
H A Dglue.h53 for (unsigned i = 0; (!(eflags & REG_NOSUB) && (i < nmatch)); i++)\
H A Dtre-fastmatch.c843 tre_str_type_t type, int nmatch, regmatch_t pmatch[], int eflags)
868 if (!fg->nosub && nmatch >= 1)
927 if (!fg->nosub && nmatch >= 1)
951 if (!fg->nosub && nmatch >= 1)
842 tre_match_fast(const fastmatch_t *fg, const void *data, size_t len, tre_str_type_t type, int nmatch, regmatch_t pmatch[], int eflags) argument
/freebsd-10.1-release/contrib/llvm/lib/Support/
H A DRegex.cpp58 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; local
62 pm.resize(nmatch > 0 ? nmatch : 1);
66 int rc = llvm_regexec(preg, String.data(), nmatch, pm.data(), REG_STARTEND);
81 for (unsigned i = 0; i != nmatch; ++i) {
H A Dregexec.c141 llvm_regexec(const llvm_regex_t *preg, const char *string, size_t nmatch, argument
159 return(smatcher(g, string, nmatch, pmatch, eflags));
161 return(lmatcher(g, string, nmatch, pmatch, eflags));
H A 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++)
/freebsd-10.1-release/libexec/bootpd/
H A Dgetif.c39 static int nmatch();
89 m = nmatch((u_char *)addrp, (u_char *)&(sip->sin_addr));
113 nmatch(ca, cb) function
/freebsd-10.1-release/contrib/nvi/regex/
H A Dregexec.c160 regexec(const regex_t *preg, const RCHAR_T *string, size_t nmatch, regmatch_t *pmatch, int eflags) argument
177 return(smatcher(g, string, nmatch, pmatch, eflags));
179 return(lmatcher(g, string, nmatch, pmatch, eflags));
H A Dengine.c95 static int matcher __P((struct re_guts *g, const RCHAR_T *string, size_t nmatch, regmatch_t pmatch[], int eflags));
135 == size_t nmatch, regmatch_t pmatch[], int eflags);
138 matcher(g, string, nmatch, pmatch, eflags)
141 size_t nmatch;
157 nmatch = 0;
200 if (nmatch == 0 && !g->backrefs)
213 if (nmatch == 1 && !g->backrefs)
275 if (nmatch > 0) {
279 if (nmatch > 1) {
281 for (i = 1; i < nmatch;
[all...]
/freebsd-10.1-release/lib/libc/regex/
H A Dregexec.c209 size_t nmatch,
228 return(mmatcher(g, (char *)string, nmatch, pmatch, eflags));
230 return(smatcher(g, (char *)string, nmatch, pmatch, eflags));
232 return(lmatcher(g, (char *)string, nmatch, pmatch, eflags));
207 regexec(const regex_t * __restrict preg, const char * __restrict string, size_t nmatch, regmatch_t pmatch[__restrict], int eflags) argument
H A Dengine.c104 static int matcher(struct re_guts *g, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags);
147 == size_t nmatch, regmatch_t pmatch[], int eflags);
152 size_t nmatch,
175 nmatch = 0;
263 if (nmatch == 0 && !g->backrefs)
277 if (nmatch == 1 && !g->backrefs)
341 if (nmatch > 0) {
345 if (nmatch > 1) {
347 for (i = 1; i < nmatch; i++)
150 matcher(struct re_guts *g, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags) argument
/freebsd-10.1-release/contrib/flex/
H A Dscanopt.c653 int nmatch = 0, lastr_val = 0, i;
673 nmatch++;
678 nmatch = 1;
685 s->options[i].r_val) nmatch--;
691 nmatch++;
697 if (nmatch == 0) {
701 else if (nmatch > 1) {
650 int nmatch = 0, lastr_val = 0, i; local
/freebsd-10.1-release/contrib/libgnuregex/
H A Dregexec.c41 size_t nmatch, regmatch_t pmatch[],
63 int cur_idx, int nmatch) internal_function;
71 size_t nmatch, regmatch_t *pmatch,
221 regexec (preg, string, nmatch, pmatch, eflags)
224 size_t nmatch;
252 length, nmatch, pmatch, eflags);
267 const char *__restrict string, size_t nmatch,
270 return regexec (preg, string, nmatch, pmatch,
631 re_search_internal (preg, string, length, start, range, stop, nmatch, pmatch,
636 size_t nmatch;
265 __compat_regexec(const regex_t *__restrict preg, const char *__restrict string, size_t nmatch, regmatch_t pmatch[], int eflags) argument
1415 set_regs(const regex_t *preg, const re_match_context_t *mctx, size_t nmatch, regmatch_t *pmatch, int fl_backtrack) argument
1539 update_regs(const re_dfa_t *dfa, regmatch_t *pmatch, regmatch_t *prev_idx_match, int cur_node, int cur_idx, int nmatch) argument
[all...]
/freebsd-10.1-release/lib/libiconv_modules/ISO2022/
H A Dcitrus_iso2022.c582 int i, cur, nmatch; local
614 nmatch = seqmatch(string, n, sp);
615 if (sp->len == nmatch && n >= (size_t)(sp->len))
690 nmatch = seqmatch(string, n, sp);
691 if (!nmatch)
699 if ((size_t)(nmatch) == n) {
705 if (nmatch == sp->len) {
/freebsd-10.1-release/sbin/pfctl/
H A Dpfctl_table.c135 int rv = 0, flags = 0, nmatch = 0; local
332 &nmatch, flags));
333 xprintf(opts, "%d/%d addresses match", nmatch, b.pfrb_size);
346 if (nmatch < b.pfrb_size)
H A Dpfctl_radix.c328 int *nmatch, int flags)
344 if (nmatch)
345 *nmatch = io.pfrio_nmatch;
327 pfr_tst_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size, int *nmatch, int flags) argument
/freebsd-10.1-release/usr.bin/sort/
H A Dsort.c631 size_t len, nmatch; local
635 nmatch = 4;
641 if (regexec(&re, s, nmatch, pmatch, 0) != 0)
787 size_t len, nmatch; local
790 nmatch = 4;
797 if (regexec(&re, s, nmatch, pmatch, 0) != 0)
/freebsd-10.1-release/contrib/file/src/
H A Dfuncs.c467 file_regexec(file_regex_t *rx, const char *str, size_t nmatch, argument
471 return regexec(&rx->rx, str, nmatch, pmatch, eflags);
/freebsd-10.1-release/contrib/diff/src/
H A Danalyze.c431 lin nmatch;
434 nmatch = counts[equivs[i]];
435 if (nmatch == 0)
437 else if (nmatch > many)
429 lin nmatch; local
/freebsd-10.1-release/contrib/libreadline/
H A Dcomplete.c1200 int nmatch, i; local
1223 for (nmatch = 1; matches[nmatch]; nmatch++)
1237 if (i > 1 && i < nmatch)
/freebsd-10.1-release/contrib/ntp/ntpdc/
H A Dntpdc.c1296 int nmatch; local
1301 nmatch = 0;
1324 nmatch++;
1342 if (nmatch == 1) {
1346 return nmatch;
/freebsd-10.1-release/contrib/gcc/
H A Dcfgcleanup.c1609 int nmatch;
1667 nmatch = flow_find_cross_jump (mode, src1, src2, &newpos1, &newpos2);
1673 if ((nmatch < PARAM_VALUE (PARAM_MIN_CROSSJUMP_INSNS))
1732 src2->index, nmatch);
1739 src1->index, src2->index, nmatch);
1602 int nmatch; local
/freebsd-10.1-release/usr.sbin/ppp/
H A Dcommand.c1038 int nmatch; local
1044 nmatch = 0;
1051 nmatch++;
1058 nmatch++;
1063 *pmatch = nmatch;
1092 int nmatch; local
1096 cmd = FindCommand(cmds, argv[argn], &nmatch);
1097 if (nmatch > 1)

Completed in 480 milliseconds

12