Searched defs:nmatch (Results 1 - 8 of 8) sorted by relevance

/httpd/include/
H A Dap_regex.h134 * @param nmatch Provide information regarding the location of any matches
141 apr_size_t nmatch, ap_regmatch_t *pmatch, int eflags);
149 * @param nmatch Provide information regarding the location of any matches
156 apr_size_t len, apr_size_t nmatch,
193 apr_size_t nmatch; member in struct:__anon10
230 * This may be 0 if no match is in memory, or up to nmatch from compilation
236 #define ap_rxplus_nmatch(rx) (((rx)->match != NULL) ? (rx)->nmatch : 0)
243 * @param n The match number to retrieve (must be between 0 and nmatch)
255 * @param n The match number to retrieve (must be between 0 and nmatch)
/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,
196 apr_size_t len, apr_size_t nmatch,
212 if (nmatch > 0) {
213 if (nmatch <= POSIX_MALLOC_THRESHOLD) {
217 ovector = (int *)malloc(sizeof(int) * nmatch * 3);
225 0, options, ovector, nmatch * 3);
228 rc = nmatch; /* All captured slots were filled in */
238 for (; i < nmatch; i++)
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.c1200 int nmatch = 0; local
1215 nmatch = entry_core->refs->nelts;
1216 pmatch = apr_palloc(rxpool, nmatch*sizeof(ap_regmatch_t));
1219 if (ap_regexec(entry_core->r, r->filename, nmatch, pmatch, 0)) {
1223 for (i = 0; i < nmatch; i++) {
1437 int nmatch = 0; local
1445 nmatch = entry_core->refs->nelts;
1446 pmatch = apr_palloc(rxpool, nmatch*sizeof(ap_regmatch_t));
1449 if (ap_regexec(entry_core->r, r->uri, nmatch, pmatch, 0)) {
1453 for (i = 0; i < nmatch;
1639 int nmatch = 0; local
[all...]
H A Dutil_expr_eval.c912 apr_size_t nmatch, ap_regmatch_t *pmatch,
928 ctx.re_nmatch = nmatch;
945 apr_size_t nmatch,
975 ctx.re_nmatch = nmatch;
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
369 * nmatch must be <=AP_MAX_REG_MATCH (10).
383 const char *source, apr_size_t nmatch,
393 if (!source || nmatch>AP_MAX_REG_MATCH)
395 if (!nmatch) {
421 else if (no < nmatch && pmatch[no].rm_so < pmatch[no].rm_eo) {
458 else if (no < nmatch && pmatch[no].rm_so < pmatch[no].rm_eo) {
474 const char *source, apr_size_t nmatch,
478 apr_status_t rc = regsub_core(p, &result, NULL, input, source, nmatch,
487 apr_size_t nmatch, ap_regmatch_
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/filters/
H A Dmod_proxy_html.c209 int nmatch; local
224 nmatch = 10;
226 while (!ap_regexec(m->from.r, ctx->buf+offs, nmatch, pmatch, 0)) {
230 nmatch, pmatch);
387 size_t nmatch; local
493 nmatch = 10;
494 if (!ap_regexec(m->from.r, ctx->buf, nmatch,
500 ctx->buf, nmatch, pmatch);
561 nmatch = 10;
564 nmatch, pmatc
[all...]
/httpd/modules/proxy/
H A Dmod_proxy.c768 int nmatch = 0; local
781 nmatch = entry_proxy->refs->nelts;
782 pmatch = apr_palloc(rxpool, nmatch*sizeof(ap_regmatch_t));
785 if (ap_regexec(entry_proxy->r, proxyname, nmatch, pmatch, 0)) {
789 for (i = 0; i < nmatch; i++) {
H A Dmod_proxy_http.c127 const int nmatch = 3; local
151 while (!ap_regexec(warn_rx, val, nmatch, pmatch, 0)) {

Completed in 245 milliseconds