/freebsd-10.1-release/usr.bin/grep/regex/ |
H A D | fastmatch.c | 130 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 D | tre-fastmatch.h | 18 tre_str_type_t type, int nmatch, regmatch_t pmatch[], int eflags);
|
H A D | fastmatch.h | 44 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 D | glue.h | 53 for (unsigned i = 0; (!(eflags & REG_NOSUB) && (i < nmatch)); i++)\
|
H A D | tre-fastmatch.c | 843 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 D | Regex.cpp | 58 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 D | regexec.c | 141 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 D | 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++)
|
/freebsd-10.1-release/libexec/bootpd/ |
H A D | getif.c | 39 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 D | regexec.c | 160 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 D | engine.c | 95 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 D | regexec.c | 209 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 D | engine.c | 104 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 D | scanopt.c | 653 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 D | regexec.c | 41 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 D | citrus_iso2022.c | 582 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 D | pfctl_table.c | 135 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 D | pfctl_radix.c | 328 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 D | sort.c | 631 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 D | funcs.c | 467 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 D | analyze.c | 431 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 D | complete.c | 1200 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 D | ntpdc.c | 1296 int nmatch; local 1301 nmatch = 0; 1324 nmatch++; 1342 if (nmatch == 1) { 1346 return nmatch;
|
/freebsd-10.1-release/contrib/gcc/ |
H A D | cfgcleanup.c | 1609 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 D | command.c | 1038 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)
|