/macosx-10.10/tcl-105/tcl84/tcl/generic/ |
H A D | regfronts.c | 62 regexec(re, str, nmatch, pmatch, flags) 66 regmatch_t pmatch[]; 74 start = str + pmatch[0].rm_so; 75 len = pmatch[0].rm_eo - pmatch[0].rm_so; 82 return re_exec(re, start, len, nmatch, pmatch, f);
|
H A D | regexec.c | 101 regmatch_t *pmatch; member in struct:vars 164 exec(re, string, len, details, nmatch, pmatch, flags) 170 regmatch_t pmatch[]; 204 v->pmatch = mat; 206 v->pmatch = (regmatch_t *)MALLOC((v->g->nsub + 1) * 208 if (v->pmatch == NULL) 212 v->pmatch = pmatch; 226 if (v->pmatch != pmatch [all...] |
/macosx-10.10/tcl-105/tcl/tcl/generic/ |
H A D | regfronts.c | 68 regmatch_t pmatch[], 76 start = str + pmatch[0].rm_so; 77 len = pmatch[0].rm_eo - pmatch[0].rm_so; 84 return re_exec(re, start, len, nmatch, pmatch, f); 62 regexec( regex_t *re, CONST char *str, size_t nmatch, regmatch_t pmatch[], int flags) argument
|
H A D | regexec.c | 105 regmatch_t *pmatch; member in struct:vars 172 regmatch_t pmatch[], 223 v->pmatch = mat; 225 v->pmatch = (regmatch_t *) 228 if (v->pmatch == NULL) { 234 v->pmatch = pmatch; 253 if (v->pmatch != pmatch && v->pmatch ! 164 exec( regex_t *re, CONST chr *string, size_t len, rm_detail_t *details, size_t nmatch, regmatch_t pmatch[], int flags) argument [all...] |
/macosx-10.10/Libc-1044.1.2/regex/TRE/lib/ |
H A D | regexec.c | 148 tre_fill_pmatch(size_t nmatch, regmatch_t pmatch[], int cflags, argument 184 pmatch[i].rm_so = match_eo; 186 pmatch[i].rm_so = tre_tag_get(tags, submatch_data[i].so_tag); 189 pmatch[i].rm_eo = match_eo; 191 pmatch[i].rm_eo = tre_tag_get(tags, submatch_data[i].eo_tag); 195 if (pmatch[i].rm_so == -1 || pmatch[i].rm_eo == -1) 196 pmatch[i].rm_so = pmatch[i].rm_eo = -1; 198 DPRINT(("pmatch[ 242 tre_match(const tre_tnfa_t *tnfa, const void *string, size_t len, tre_str_type_t type, size_t nmatch, regmatch_t pmatch[], int eflags) argument 346 tre_regnexec(const regex_t *preg, const char *str, size_t len, size_t nmatch, regmatch_t pmatch[], int eflags) argument 360 tre_regexec(const regex_t *preg, const char *str, size_t nmatch, regmatch_t pmatch[], int eflags) argument 370 tre_regwnexec(const regex_t *preg, const wchar_t *str, size_t len, size_t nmatch, regmatch_t pmatch[], int eflags) argument 383 tre_regwexec(const regex_t *preg, const wchar_t *str, size_t nmatch, regmatch_t pmatch[], int eflags) argument 393 tre_reguexec(const regex_t *preg, const tre_str_source *str, size_t nmatch, regmatch_t pmatch[], int eflags) argument [all...] |
H A D | tre.h | 163 regmatch_t pmatch[ __restrict ], int eflags); 183 size_t nmatch, regmatch_t pmatch[ __restrict ], int eflags); 193 size_t nmatch, regmatch_t pmatch[ __restrict ], int eflags); 201 size_t nmatch, regmatch_t pmatch[ __restrict ], int eflags); 240 size_t nmatch; /* Length of pmatch[] array. */ 241 regmatch_t *pmatch; /* Submatch data. */ member in struct:__anon2828 289 size_t nmatch, regmatch_t pmatch[ __restrict ], int eflags);
|
H A D | tre-match-backtrack.c | 142 if (pmatch) \ 143 xfree(pmatch); \ 157 if (pmatch) \ 158 xfree(pmatch); \ 272 regmatch_t *pmatch = NULL; local 303 pbytes = sizeof(*pmatch) * tnfa->num_submatches; 323 pmatch = (void *)tmp_buf; 535 ret = tre_fill_pmatch(bt + 1, pmatch, tnfa->cflags & ~REG_NOSUB, 538 so = pmatch[bt].rm_so; 539 eo = pmatch[b [all...] |
/macosx-10.10/apache-793/httpd/server/ |
H A D | util_regex.c | 134 ret->pmatch = apr_palloc(pool, ret->nmatch*sizeof(ap_regmatch_t)); 147 if (ap_regexec(&rx->rx, pattern, rx->nmatch, rx->pmatch, rx->flags) != 0) { 154 rx->nmatch, rx->pmatch); 158 startl = rx->pmatch[0].rm_so; 159 oldl = rx->pmatch[0].rm_eo - startl; 195 *match = rx->match + rx->pmatch[n].rm_so; 196 *len = rx->pmatch[n].rm_eo - rx->pmatch[n].rm_so;
|
H A D | util_pcre.c | 171 apr_size_t nmatch, ap_regmatch_t *pmatch, 174 return ap_regexec_len(preg, string, strlen(string), nmatch, pmatch, 180 ap_regmatch_t *pmatch, int eflags) 216 pmatch[i].rm_so = ovector[i * 2]; 217 pmatch[i].rm_eo = ovector[i * 2 + 1]; 222 pmatch[i].rm_so = pmatch[i].rm_eo = -1; 170 ap_regexec(const ap_regex_t *preg, const char *string, apr_size_t nmatch, ap_regmatch_t *pmatch, int eflags) argument 178 ap_regexec_len(const ap_regex_t *preg, const char *buff, apr_size_t len, apr_size_t nmatch, ap_regmatch_t *pmatch, int eflags) argument
|
H A D | request.c | 1198 ap_regmatch_t *pmatch = NULL; local 1212 pmatch = apr_palloc(rxpool, nmatch*sizeof(ap_regmatch_t)); 1215 if (ap_regexec(entry_core->r, r->filename, nmatch, pmatch, 0)) { 1220 if (pmatch[i].rm_so >= 0 && pmatch[i].rm_eo >= 0 && 1225 r->filename + pmatch[i].rm_so, 1226 pmatch[i].rm_eo - pmatch[i].rm_so)); 1435 ap_regmatch_t *pmatch = NULL; local 1442 pmatch 1637 ap_regmatch_t *pmatch = NULL; local [all...] |
/macosx-10.10/apache-793/httpd/include/ |
H A D | ap_regex.h | 120 * @param pmatch Provide information regarding the location of any matches 126 apr_size_t nmatch, ap_regmatch_t *pmatch, int eflags); 135 * @param pmatch Provide information regarding the location of any matches 142 ap_regmatch_t *pmatch, int eflags); 177 ap_regmatch_t *pmatch; member in struct:__anon6089
|
H A D | ap_expr.h | 88 * @param nmatch size of the regex match vector pmatch 89 * @param pmatch information about regex matches 90 * @param source the string that pmatch applies to 94 * @note nmatch/pmatch/source can be used both to make previous matches 101 apr_size_t nmatch, ap_regmatch_t *pmatch, 166 * @param nmatch size of the regex match vector pmatch 167 * @param pmatch information about regex matches 168 * @param source the string that pmatch applies to 172 * @note nmatch/pmatch/source can be used both to make previous matches 181 ap_regmatch_t *pmatch, [all...] |
H A D | util_varbuf.h | 153 * @param pmatch the pmatch array returned from ap_pregex 157 * *source before the matching part (i.e. the first pmatch[0].rm_so 166 ap_regmatch_t pmatch[],
|
/macosx-10.10/pcre-7/pcre/ |
H A D | pcreposix.c | 284 be set. When this is the case, the nmatch and pmatch arguments are ignored, and 289 regmatch_t pmatch[], int eflags) 309 if (nosub || pmatch == NULL) nmatch = 0; 333 so = pmatch[0].rm_so; 334 eo = pmatch[0].rm_eo; 356 pmatch[i].rm_so = ovector[i*2]; 357 pmatch[i].rm_eo = ovector[i*2+1]; 360 for (; i < nmatch; i++) pmatch[i].rm_so = pmatch[i].rm_eo = -1; 288 regexec(const regex_t *preg, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags) argument
|
/macosx-10.10/llvmCore-3425.0.34/lib/Support/ |
H A D | 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[ [all...] |
H A D | 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)); 141 llvm_regexec(const llvm_regex_t *preg, const char *string, size_t nmatch, llvm_regmatch_t pmatch[], int eflags) argument
|
/macosx-10.10/cups-408/cups/vcnet/regex/ |
H A D | engine.c | 35 regmatch_t *pmatch; /* [nsub+1] (0 element unused) */ member in struct:match 63 == size_t nmatch, regmatch_t pmatch[], int eflags); 66 matcher(g, string, nmatch, pmatch, eflags) 70 regmatch_t pmatch[]; 87 start = string + pmatch[0].rm_so; 88 stop = string + pmatch[0].rm_eo; 109 m->pmatch = NULL; 145 if (m->pmatch == NULL) 146 m->pmatch = (regmatch_t *)malloc((m->g->nsub + 1) * 148 if (m->pmatch [all...] |
H A D | regexec.c | 113 regexec(preg, string, nmatch, pmatch, eflags) 117 regmatch_t pmatch[]; 135 return(smatcher(g, (char *)string, nmatch, pmatch, eflags)); 137 return(lmatcher(g, (char *)string, nmatch, pmatch, eflags));
|
H A D | engine.ih | 7 static int matcher(register struct re_guts *g, char *string, size_t nmatch, regmatch_t pmatch[], int eflags);
|
/macosx-10.10/postfix-255/postfix/src/util/ |
H A D | dict_regexp.c | 113 regmatch_t *pmatch; /* matched substring info */ member in struct:__anon11871 157 regmatch_t *pmatch; local 171 pmatch = dict_regexp->pmatch + n; 172 if (pmatch->rm_so < 0 || pmatch->rm_so == pmatch->rm_eo) 175 ctxt->lookup_string + pmatch->rm_so, 176 pmatch->rm_eo - pmatch [all...] |
/macosx-10.10/apache-793/httpd/modules/filters/ |
H A D | mod_proxy_html.c | 208 ap_regmatch_t pmatch[10]; local 224 while (!ap_regexec(m->from.r, ctx->buf+offs, nmatch, pmatch, 0)) { 225 match = pmatch[0].rm_so; 226 s_from = pmatch[0].rm_eo - match; 228 nmatch, pmatch); 358 ap_regmatch_t pmatch[10]; local 465 pmatch, 0)) { 467 offs = match = pmatch[0].rm_so; 468 s_from = pmatch[0].rm_eo - match; 470 ctx->buf, nmatch, pmatch); 653 ap_regmatch_t pmatch[2]; local [all...] |
/macosx-10.10/text_cmds-88/split/ |
H A D | split.c | 259 regmatch_t pmatch; local 261 pmatch.rm_so = 0; 262 pmatch.rm_eo = len - 1; 263 if (regexec(&rgx, bfr, 0, &pmatch, REG_STARTEND) == 0)
|
/macosx-10.10/shell_cmds-179/killall/ |
H A D | killall.c | 177 regmatch_t pmatch; local 467 pmatch.rm_so = 0; 468 pmatch.rm_eo = strlen(thiscmd); 469 if (regexec(&rgx, thiscmd, 0, &pmatch, 499 pmatch.rm_so = 0; 500 pmatch.rm_eo = strlen(thiscmd); 501 if (regexec(&rgx, thiscmd, 0, &pmatch,
|
/macosx-10.10/gnutar-453/gnutar/lib/ |
H A D | regexec.c | 42 size_t nmatch, regmatch_t pmatch[], 55 static unsigned int re_copy_regs (struct re_registers *regs, regmatch_t *pmatch, 65 static void update_regs (const re_dfa_t *dfa, regmatch_t *pmatch, 75 size_t nmatch, regmatch_t *pmatch, 225 regexec (preg, string, nmatch, pmatch, eflags) 229 regmatch_t pmatch[_Restrict_arr_]; 243 start = pmatch[0].rm_so; 244 length = pmatch[0].rm_eo; 258 length, nmatch, pmatch, eflags); 274 regmatch_t pmatch[], in 271 __compat_regexec(const regex_t *_Restrict_ preg, const char *_Restrict_ string, size_t nmatch, regmatch_t pmatch[], int eflags) argument 424 regmatch_t *pmatch; local 511 re_copy_regs(struct re_registers *regs, regmatch_t *pmatch, Idx nregs, int regs_allocated) argument 641 re_search_internal(const regex_t *preg, const char *string, Idx length, Idx start, Idx last_start, Idx stop, size_t nmatch, regmatch_t pmatch[], int eflags) argument 1430 set_regs(const regex_t *preg, const re_match_context_t *mctx, size_t nmatch, regmatch_t *pmatch, bool fl_backtrack) argument 1554 update_regs(const re_dfa_t *dfa, regmatch_t *pmatch, regmatch_t *prev_idx_match, Idx cur_node, Idx cur_idx, Idx nmatch) argument [all...] |
/macosx-10.10/apache-793/httpd/modules/metadata/ |
H A D | mod_headers.c | 608 ap_regmatch_t pmatch[AP_MAX_REG_MATCH]; local 613 if (ap_regexec(hdr->regex, value, AP_MAX_REG_MATCH, pmatch, 0)) { 620 subs = ap_pregsub(r->pool, process_tags(hdr, r), value, AP_MAX_REG_MATCH, pmatch); 623 diffsz = strlen(subs) - (pmatch[0].rm_eo - pmatch[0].rm_so); 625 remainder = value + pmatch[0].rm_eo; 628 remainder = process_regexp(hdr, value + pmatch[0].rm_eo, r); 631 diffsz += strlen(remainder) - strlen(value + pmatch[0].rm_eo); 634 memcpy(ret, value, pmatch[0].rm_so); 635 strcpy(ret + pmatch[ [all...] |