Searched refs:match (Results 1 - 24 of 24) sorted by relevance

/httpd/build/
H A Dnw_ver.awk20 if (match ($0, /^#define AP_SERVER_COPYRIGHT \\/)) {
25 else if (match ($0, /^#define AP_SERVER_MAJORVERSION_NUMBER /)) {
28 else if (match ($0, /^#define AP_SERVER_MINORVERSION_NUMBER /)) {
31 else if (match ($0, /^#define AP_SERVER_PATCHLEVEL_NUMBER/)) {
34 else if (match ($0, /^#define AP_SERVER_DEVBUILD_BOOLEAN/)) {
43 if (match ($0, /^\/repos\/asf\/!svn\/ver\/[0-9]+\/httpd\/httpd\/(trunk|branches\/[0-9]\.[0-9]\.x)$/)) {
H A DmkconfNW.awk104 match ($0,/^#SSLSessionCache +"dbm:/) {
108 match ($0,/^SSLSessionCache +"shmcb:/) {
112 match ($0,/^# Mutex +default +file:@rel_runtimedir@/) {
116 match ($0,/@@.*@@/) {
121 match ($0,/@rel_.*@/) {
126 match ($0,/@exp_.*@/) {
131 match ($0,/@nonssl_.*@/) {
136 match ($0,/^<IfModule cgid_module>$/) {
/httpd/server/
H A Dutil_regex.c37 * match: m/rx/ or just /rx/
116 /* count size of memory required, starting at 1 for the whole-match
148 rx->match = NULL;
149 return 0; /* no match, nothing to do */
151 rx->match = pattern;
183 return (rx->match != NULL) ? rx->nmatch : 0;
188 * rx->match is a pointer and it's your responsibility to ensure
192 const char **match)
195 *match = rx->match
191 ap_rxplus_match(ap_rxplus_t *rx, int n, int *len, const char **match) argument
206 const char *match; local
[all...]
H A Dapreq_parser_multipart.c143 /* complete match */
155 /* partial match */
182 const char *match = apr_strmatch(pattern, buf, len); local
183 if (match != NULL)
184 idx = match - buf;
196 * already tested the front of the brigade for a potential match.
H A Dutil_expr_eval.c1856 int match; local
1858 match = !strcmp(prov->name, parms->name);
1860 match = !strcasecmp(prov->name, parms->name);
1861 if (match) {
/httpd/modules/cache/
H A Dmod_file_cache.c242 a_file *match; local
258 match = (a_file *) apr_hash_get(sconf->fileht, r->filename, APR_HASH_KEY_STRING);
259 if (match == NULL)
263 ap_set_module_config(r->request_config, &file_cache_module, match);
266 r->finfo = match->finfo;
311 a_file *match; local
326 match = ap_get_module_config(r->request_config, &file_cache_module);
328 if (match == NULL) {
341 ap_update_mtime(r, match->finfo.mtime);
352 if (mod_time == match
[all...]
/httpd/modules/metadata/
H A Dmod_version.c41 * Alternatively you can match the whole version (including some vendor-added
49 * = / == match; regex must be surrounded by slashes
50 * ~ match; regex MAY NOT be surrounded by slashes
140 * match version against a regular expression
177 int reverse = 0, done = 0, match = 0, compare; local
230 match = !compare;
241 match = match_version(cmd->temp_pool,
258 match = ((-1 == compare) || (*p && !compare));
269 match = ((1 == compare) || (*p && !compare));
283 if ((!reverse && match) || (revers
[all...]
H A Dmod_remoteip.c33 /** A proxy IP mask to match */
129 remoteip_proxymatch_t *match; local
138 config->proxymatch_ip = apr_array_make(cmd->pool, 1, sizeof(*match));
140 match = (remoteip_proxymatch_t *) apr_array_push(config->proxymatch_ip);
141 match->internal = cmd->info;
145 rv = apr_ipsubnet_create(&match->ip, ip, s, cmd->pool);
162 rv = apr_ipsubnet_create(&match->ip, ip, NULL, cmd->pool);
166 match = (remoteip_proxymatch_t *)
168 match->internal = cmd->info;
266 remoteip_proxymatch_t *match; local
[all...]
H A Dmod_mime_magic.c226 static int match(request_rec *, unsigned char *, apr_size_t);
685 /* empty - no match, we defer to other Apache modules */
1498 if (match(r, buf, nbytes))
1505 * Go through the whole list, stopping if you find a match. Process all the
1506 * continuations of that match before returning.
1510 * At any time when processing a successful top-level match, there is a current
1516 * preceding them - failed to match.
1530 static int match(request_rec *r, unsigned char *s, apr_size_t nbytes) function
1544 MODNAME ": match conf=%x file=%s m=%s m->next=%s last=%s",
1559 MODNAME ": match
[all...]
/httpd/include/
H A Dap_regex.h68 #define AP_REG_ICASE 0x01 /**< use a case-insensitive match */
69 #define AP_REG_NEWLINE 0x02 /**< don't match newlines against '.' etc */
70 #define AP_REG_NOTBOL 0x04 /**< ^ will not match against start-of-string */
71 #define AP_REG_NOTEOL 0x08 /**< $ will not match against end-of-string */
93 AP_REG_NOMATCH /** match failed */
133 * @param string The string to match
138 * @return 0 for successful match, \p AP_REG_NOMATCH otherwise
147 * @param buff The string to match
148 * @param len Length of the string to match
153 * @return 0 for successful match, AP_REG_NOMATC
192 const char *match; member in struct:__anon10
[all...]
/httpd/modules/aaa/
H A Dmod_allowhandlers.c40 int match = 0; local
59 match = 1;
61 if ((match && conf->op == AH_ALLOW) || (!match && conf->op == AH_DENY)) {
H A Dmod_auth_digest.c1599 /* Hmm, the simple match didn't work (probably a proxy modified the
1600 * request-uri), so lets do a more sophisticated match
1627 * result. however, the uri from the request line won't match
1631 * the workaround is to fake a query string match if in the proper
1633 * is that if MSIE ever fixes itself the simple match ought to
1652 "uri mismatch - <%s> does not match "
1668 /* either exact match */
1680 "uri mismatch - <%s> does not match "
1732 /* authentication denied in the provider before attempting a match */
1762 int match local
[all...]
/httpd/docs/manual/style/scripts/
H A Dprettify.js304 var charsetParts = charSet.substring(1, charSet.length - 1).match(
379 var parts = regex.source.match(
443 // Remove any prefix anchors so that the output will match anywhere.
444 // ^^ really does mean an anchored match though.
644 * something like ['lang-js', /<[s]cript>(.+?)<\/script>/]. This may match
646 * be called with '<script>' which would not match the same rule since
650 * be called with '<\/script>' which would not match the original rule and
653 * Pattern must only match prefixes, and if it matches a prefix, then that
654 * match is considered a token with the same style.
718 var tokens = sourceCode.match(tokenize
[all...]
H A Dprettify.min.js8 function caseFoldCharset(charSet){var charsetParts=charSet.substring(1,charSet.length-1).match(new RegExp('\\\\u[0-9A-Fa-f]{4}'
22 function allowAnywhereFoldCaseAndRenumberGroups(regex){var parts=regex.source.match(new RegExp('(?:'
53 allRegexs.push(/[\0-\uffff]/);tokenizer=combinePrefixPatterns(allRegexs);})();var nPatterns=fallthroughStylePatterns.length;var decorate=function(job){var sourceCode=job.sourceCode,basePos=job.basePos;var decorations=[basePos,PR_PLAIN];var pos=0;var tokens=sourceCode.match(tokenizer)||[];var styleCache={};for(var ti=0,nTokens=tokens.length;ti<nTokens;++ti){var token=tokens[ti];var style=styleCache[token];var match=void 0;var isEmbedded;if(typeof style==='string'){isEmbedded=false;}else{var patternParts=shortcuts[token.charAt(0)];if(patternParts){match=token.match(patternParts[1]);style=patternParts[0];}else{for(var i=0;i<nPatterns;++i){patternParts=fallthroughStylePatterns[i];match=token.match(patternParts[1]);if(match){style=patternParts[0];break;}}
54 if(!match){styl
[all...]
/httpd/modules/filters/
H A Dmod_proxy_html.c207 size_t match; local
227 match = pmatch[0].rm_so;
228 s_from = pmatch[0].rm_eo - match;
233 offs += match;
238 "C/RX: match at %s, substituting %s", f, subs);
258 found = strstr(ctx->buf+match+s_to, m->from.c)) {
259 match = found - ctx->buf;
260 if ((m->flags & M_ATSTART) && (match != 0))
263 if ((m->flags & M_ATEND) && (match < (len - s_from)))
270 memmove(ctx->buf+match
384 size_t s_to, s_from, match; local
[all...]
H A Dmod_xml2enc.c171 ap_regmatch_t match[2] ; local
204 if (ap_regexec(seek_meta_ctype, ctx->buf, 1, match, 0) == 0 ) {
205 /* get markers on the start and end of the match */
206 rv = apr_brigade_partition(ctx->bbsave, match[0].rm_eo, &cute);
208 rv = apr_brigade_partition(ctx->bbsave, match[0].rm_so, &cutb);
211 ctx->bytes = match[0].rm_so;
213 p = apr_pstrndup(r->pool, ctx->buf + match[0].rm_so,
214 match[0].rm_eo - match[0].rm_so) ;
215 if (ap_regexec(seek_charset, p, 2, match,
[all...]
H A Dmod_filter.c138 int match = 0; local
152 match = ap_expr_exec(r, provider->expr, &err);
157 match = 0;
162 match ? "matched" : "did not match");
176 match = 1;
181 "... did not match '%s'", *type);
188 match ? "matched" : "did not match");
192 "Content-Type condition for '%s' did not match
[all...]
H A Dsed1.c67 static int match(sed_eval_t *eval, char *expbuf, int gf,
503 } else if (match(eval, p2, 0, &step_vars)) {
523 } else if (match(eval, p1, 0, &step_vars)) {
580 * match
582 static int match(sed_eval_t *eval, char *expbuf, int gf, function
606 if(match(eval, ipc->re1, 0, step_vars) == 0) return(0);
615 if(match(eval, ipc->re1, 1, step_vars) == 0) break;
H A Dmod_include.c164 ap_regmatch_t match[AP_MAX_REG_MATCH]; member in struct:__anon161
660 * v.s. empty strings on an empty match is deliberate.
675 else if (re->match[idx].rm_so < 0 || re->match[idx].rm_eo < 0) {
680 val = apr_pstrmemdup(ctx->dpool, re->source + re->match[idx].rm_so,
681 re->match[idx].rm_eo - re->match[idx].rm_so);
985 re->match, 0);
1629 eval_ctx->re_pmatch = re->match;
2773 * Returns the count of character that is the first match o
[all...]
/httpd/docs/log-message-tags/
H A Dupdate-log-msg-tags74 my $match = $&;
76 $result .= $match;
/httpd/support/
H A Dfirehose.c137 "within the first fragment for a successful match to occur.\n" \
290 int match = -1; local
300 match = 1;
303 match = 0;
308 return match;
422 * If the parse doesn't match for any reason, an error is returned, otherwise
564 /* does the count match what is expected? */
/httpd/modules/lua/
H A Dmod_lua.c750 ap_regmatch_t match[10]; local
760 if (!ap_regexec(hook_spec->uri_pattern, r->uri, 10, match, 0)) {
778 ap_regmatch_t match[10]; local
790 if (!ap_regexec(hook_spec->uri_pattern, r->uri, 10, match, 0)) {
793 if (match[i].rm_eo >= 0) {
794 values[i] = apr_pstrndup(r->pool, r->uri+match[i].rm_so, match[i].rm_eo - match[i].rm_so);
1468 const char* match, const char *file, const char *function)
1476 return register_mapped_file_function_hook(match, cm
1467 register_map_handler(cmd_parms *cmd, void *_cfg, const char* match, const char *file, const char *function) argument
[all...]
/httpd/modules/ssl/
H A Dssl_engine_io.c1188 "SSL Proxy: Peer certificate does not match "
1195 int match = 0; local
1201 /* Do string match or simplest wildcard match if that
1203 match = strcasecmp(hostname, hostname_note) == 0;
1204 if (!match && strncmp(hostname, "*.", 2) == 0) {
1207 match = p && strcasecmp(p, hostname + 1) == 0;
1210 if (!match) {
/httpd/modules/mappers/
H A Dmod_rewrite.c302 int flags; /* Flags which control the match */
939 * substitute the prefix path 'match' in 'input' with 'subst' (RewriteBase)
941 static char *subst_prefix_path(request_rec *r, char *input, const char *match, argument
944 apr_size_t len = strlen(match);
946 if (len && match[len - 1] == '/') {
950 if (!strncmp(input, match, len) && input[len++] == '/') {
978 /* prefix didn't match */
1304 /* key doesn't match - ignore. */
4054 /* Since we want to match against the (so called) full URL, we have
4063 /* Additionally we strip the physical path from the url to match
[all...]

Completed in 2308 milliseconds