Searched defs:pmatch (Results 1 - 9 of 9) sorted by relevance

/httpd/include/
H A Dap_regex.h135 * @param pmatch Provide information regarding the location of any matches
141 apr_size_t nmatch, ap_regmatch_t *pmatch, int eflags);
150 * @param pmatch Provide information regarding the location of any matches
157 ap_regmatch_t *pmatch, int eflags);
194 ap_regmatch_t *pmatch; member in struct:__anon10
/httpd/server/
H A Dutil_pcre.c188 apr_size_t nmatch, ap_regmatch_t *pmatch,
191 return ap_regexec_len(preg, string, strlen(string), nmatch, pmatch,
197 ap_regmatch_t *pmatch, int eflags)
233 pmatch[i].rm_so = ovector[i * 2];
234 pmatch[i].rm_eo = ovector[i * 2 + 1];
239 pmatch[i].rm_so = pmatch[i].rm_eo = -1;
187 ap_regexec(const ap_regex_t *preg, const char *string, apr_size_t nmatch, ap_regmatch_t *pmatch, int eflags) argument
195 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 Drequest.c1202 ap_regmatch_t *pmatch = NULL; local
1216 pmatch = apr_palloc(rxpool, nmatch*sizeof(ap_regmatch_t));
1219 if (ap_regexec(entry_core->r, r->filename, nmatch, pmatch, 0)) {
1224 if (pmatch[i].rm_so >= 0 && pmatch[i].rm_eo >= 0 &&
1229 r->filename + pmatch[i].rm_so,
1230 pmatch[i].rm_eo - pmatch[i].rm_so));
1439 ap_regmatch_t *pmatch = NULL; local
1446 pmatch
1641 ap_regmatch_t *pmatch = NULL; local
[all...]
H A Dutil_expr_eval.c912 apr_size_t nmatch, ap_regmatch_t *pmatch,
929 ctx.re_pmatch = pmatch;
934 if (!pmatch) {
946 ap_regmatch_t *pmatch,
976 ctx.re_pmatch = pmatch;
982 if (!pmatch) {
911 ap_expr_exec_re(request_rec *r, const ap_expr_info_t *info, apr_size_t nmatch, ap_regmatch_t *pmatch, const char **source, const char **err) argument
943 ap_expr_str_exec_re(request_rec *r, const ap_expr_info_t *info, apr_size_t nmatch, ap_regmatch_t *pmatch, const char **source, const char **err) argument
H A Dutil.c365 * submatches. Pass it the same nmatch and pmatch arguments that you
366 * passed ap_regexec(). pmatch should not be greater than the maximum number
384 ap_regmatch_t pmatch[], apr_size_t maxlen)
421 else if (no < nmatch && pmatch[no].rm_so < pmatch[no].rm_eo) {
422 if (APR_SIZE_MAX - len <= pmatch[no].rm_eo - pmatch[no].rm_so)
424 len += pmatch[no].rm_eo - pmatch[no].rm_so;
458 else if (no < nmatch && pmatch[n
381 regsub_core(apr_pool_t *p, char **result, struct ap_varbuf *vb, const char *input, const char *source, apr_size_t nmatch, ap_regmatch_t pmatch[], apr_size_t maxlen) argument
473 ap_pregsub(apr_pool_t *p, const char *input, const char *source, apr_size_t nmatch, ap_regmatch_t pmatch[]) argument
[all...]
/httpd/modules/metadata/
H A Dmod_headers.c637 ap_regmatch_t pmatch[AP_MAX_REG_MATCH]; local
642 if (ap_regexec(hdr->regex, value, AP_MAX_REG_MATCH, pmatch, 0)) {
649 subs = ap_pregsub(r->pool, process_tags(hdr, r), value, AP_MAX_REG_MATCH, pmatch);
652 diffsz = strlen(subs) - (pmatch[0].rm_eo - pmatch[0].rm_so);
654 remainder = value + pmatch[0].rm_eo;
657 remainder = process_regexp(hdr, value + pmatch[0].rm_eo, r);
660 diffsz += strlen(remainder) - strlen(value + pmatch[0].rm_eo);
663 memcpy(ret, value, pmatch[0].rm_so);
664 strcpy(ret + pmatch[
[all...]
/httpd/modules/filters/
H A Dmod_proxy_html.c210 ap_regmatch_t pmatch[10]; local
226 while (!ap_regexec(m->from.r, ctx->buf+offs, nmatch, pmatch, 0)) {
227 match = pmatch[0].rm_so;
228 s_from = pmatch[0].rm_eo - match;
230 nmatch, pmatch);
388 ap_regmatch_t pmatch[10]; local
495 pmatch, 0)) {
497 offs = match = pmatch[0].rm_so;
498 s_from = pmatch[0].rm_eo - match;
500 ctx->buf, nmatch, pmatch);
683 ap_regmatch_t pmatch[2]; local
[all...]
/httpd/modules/proxy/
H A Dmod_proxy.c770 ap_regmatch_t *pmatch = NULL; local
782 pmatch = apr_palloc(rxpool, nmatch*sizeof(ap_regmatch_t));
785 if (ap_regexec(entry_proxy->r, proxyname, nmatch, pmatch, 0)) {
790 if (pmatch[i].rm_so >= 0 && pmatch[i].rm_eo >= 0 &&
795 proxyname + pmatch[i].rm_so,
796 pmatch[i].rm_eo - pmatch[i].rm_so));
H A Dmod_proxy_http.c128 ap_regmatch_t pmatch[3]; local
151 while (!ap_regexec(warn_rx, val, nmatch, pmatch, 0)) {
152 warning = apr_pstrndup(pool, val+pmatch[0].rm_so,
153 pmatch[0].rm_eo - pmatch[0].rm_so);
155 if (pmatch[2].rm_eo > pmatch[2].rm_so) {
157 date = apr_pstrndup(pool, val+pmatch[2].rm_so,
158 pmatch[2].rm_eo - pmatch[
[all...]

Completed in 49 milliseconds