Searched refs:preg (Results 1 - 5 of 5) sorted by relevance
/httpd/server/ |
H A D | util_pcre.c | 87 AP_DECLARE(apr_size_t) ap_regerror(int errcode, const ap_regex_t *preg, 98 addlength = (preg != NULL && (int)preg->re_erroffset != -1) ? 104 (int)preg->re_erroffset); 119 AP_DECLARE(void) ap_regfree(ap_regex_t *preg) argument 121 (pcre_free)(preg->re_pcre); 133 * preg points to a structure for recording the compiled expression 140 AP_DECLARE(int) ap_regcomp(ap_regex_t * preg, const char *pattern, int cflags) argument 154 preg->re_pcre = 156 preg 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 277 ap_regname(const ap_regex_t *preg, apr_array_header_t *names, const char *prefix, int upper) argument [all...] |
H A D | util_regex.c | 25 static apr_status_t rxplus_cleanup(void *preg) argument 27 ap_regfree((ap_regex_t *) preg);
|
H A D | util.c | 272 static apr_status_t regex_cleanup(void *preg) argument 274 ap_regfree((ap_regex_t *) preg); 281 ap_regex_t *preg = apr_palloc(p, sizeof *preg); local 282 int err = ap_regcomp(preg, pattern, cflags); 289 apr_pool_cleanup_register(p, (void *) preg, regex_cleanup, 292 return preg;
|
/httpd/include/ |
H A D | ap_regex.h | 122 * @param preg Returned compiled regex 128 AP_DECLARE(int) ap_regcomp(ap_regex_t *preg, const char *regex, int cflags); 132 * @param preg The pre-compiled regex 140 AP_DECLARE(int) ap_regexec(const ap_regex_t *preg, const char *string, 146 * @param preg The pre-compiled regex 155 AP_DECLARE(int) ap_regexec_len(const ap_regex_t *preg, const char *buff, 162 * @param preg The precompiled regex 166 AP_DECLARE(apr_size_t) ap_regerror(int errcode, const ap_regex_t *preg, 171 * @param preg The precompiled regex 177 AP_DECLARE(int) ap_regname(const ap_regex_t *preg, 184 AP_DECLARE(void) ap_regfree(ap_regex_t *preg); variable [all...] |
/httpd/modules/metadata/ |
H A D | mod_setenvif.c | 110 ap_regex_t *preg; /* compiled regex */ member in struct:__anon267 345 new->preg = NULL; 348 new->preg = ap_pregcomp(cmd->pool, regex, 350 if (new->preg == NULL) { 447 new->preg = NULL; 590 (b->preg && !ap_regexec(b->preg, val, AP_MAX_REG_MATCH, regm, 0)) ||
|
Completed in 1021 milliseconds