Searched refs:regex (Results 1 - 19 of 19) sorted by relevance

/tldk/app/nginx/src/core/
H A Dngx_regex.h34 ngx_regex_t *regex; member in struct:__anon51
44 ngx_regex_t *regex; member in struct:__anon52
H A Dngx_regex.c46 ngx_string("regex"),
128 rc->regex = ngx_pcalloc(rc->pool, sizeof(ngx_regex_t));
129 if (rc->regex == NULL) {
133 rc->regex->code = re;
143 elt->regex = rc->regex;
190 "regex \"%V\" compilation failed: no memory",
208 n = ngx_regex_exec(re[i].regex, s, NULL, 0);
277 if (elts[i].regex->extra != NULL) {
278 pcre_free_study(elts[i].regex
[all...]
/tldk/app/nginx/src/http/modules/
H A Dngx_http_rewrite_module.c315 ngx_http_script_regex_code_t *regex; local
319 regex = ngx_http_script_start_code(cf->pool, &lcf->codes,
321 if (regex == NULL) {
325 ngx_memzero(regex, sizeof(ngx_http_script_regex_code_t));
337 regex->regex = ngx_http_regex_compile(cf, &rc);
338 if (regex->regex == NULL) {
342 regex->code = ngx_http_script_regex_start_code;
343 regex
659 ngx_http_script_regex_code_t *regex; local
[all...]
H A Dngx_http_referer_module.c20 ngx_array_t *regex; member in struct:__anon211
46 ngx_http_referer_conf_t *rlcf, ngx_http_regex_t *regex);
131 && rlcf->regex == NULL
215 if (rlcf->regex) {
219 rc = ngx_regex_exec_array(rlcf->regex, &referer, r->connection->log);
285 conf->regex = NGX_CONF_UNSET_PTR;
313 ngx_conf_merge_ptr_value(conf->regex, prev->regex, NULL);
334 if (sn[n].regex) {
336 if (ngx_http_add_regex_server_name(cf, conf, sn[n].regex)
635 ngx_http_add_regex_server_name(ngx_conf_t *cf, ngx_http_referer_conf_t *rlcf, ngx_http_regex_t *regex) argument
[all...]
H A Dngx_http_map_module.c356 map->map.regex = ctx.regexes.elts;
531 ngx_http_map_regex_t *regex; local
534 regex = ngx_array_push(&ctx->regexes);
535 if (regex == NULL) {
554 regex->regex = ngx_http_regex_compile(ctx->cf, &rc);
555 if (regex->regex == NULL) {
559 regex->value = var;
H A Dngx_http_proxy_module.c30 ngx_http_regex_t *regex; member in union:ngx_http_proxy_rewrite_s::__anon201
199 ngx_http_proxy_rewrite_t *pr, ngx_str_t *regex, ngx_uint_t caseless);
2658 if (ngx_http_regex_exec(r, pr->pattern.regex, &pattern) != NGX_OK) {
3737 || clcf->regex
4082 ngx_str_t *regex, ngx_uint_t caseless)
4090 rc.pattern = *regex;
4098 pr->pattern.regex = ngx_http_regex_compile(cf, &rc);
4099 if (pr->pattern.regex == NULL) {
4110 "using regex \"%V\" requires PCRE library", regex);
4081 ngx_http_proxy_rewrite_regex(ngx_conf_t *cf, ngx_http_proxy_rewrite_t *pr, ngx_str_t *regex, ngx_uint_t caseless) argument
[all...]
H A Dngx_http_ssi_filter_module.c1910 rc = ngx_regex_exec(rgc.regex, str, captures, n);
1977 "the using of the regex \"%V\" in SSI requires PCRE library",
H A Dngx_http_fastcgi_module.c3605 flcf->split_regex = rc.regex;
/tldk/app/nginx/src/http/
H A Dngx_http_variables.h71 ngx_regex_t *regex; member in struct:__anon333
80 ngx_http_regex_t *regex; member in struct:__anon334
96 ngx_http_map_regex_t *regex; member in struct:__anon335
H A Dngx_http.c681 ngx_queue_t *regex; local
695 regex = NULL;
713 if (clcf->regex) {
716 if (regex == NULL) {
717 regex = q;
769 if (regex) {
779 for (q = regex;
790 ngx_queue_split(locations, regex, &tail);
868 || clcf->regex
936 if (first->regex
1435 ngx_uint_t regex, i; local
[all...]
H A Dngx_http_core_module.h216 ngx_http_regex_t *regex; member in struct:__anon277
227 ngx_http_server_name_t *regex; member in struct:__anon278
282 ngx_http_server_name_t *regex; member in struct:__anon283
313 ngx_http_regex_t *regex; member in struct:ngx_http_core_loc_conf_s
H A Dngx_http_script.h118 ngx_http_regex_t *regex; member in struct:__anon311
H A Dngx_http_core_module.c44 ngx_http_core_loc_conf_t *clcf, ngx_str_t *regex, ngx_uint_t caseless);
1512 * NGX_OK - exact or regex match
1515 * NGX_ERROR - regex error
1564 n = ngx_http_regex_exec(r, (*clcfp)->regex, &r->uri);
3191 if (clcf->regex == NULL
3222 ngx_str_t *regex, ngx_uint_t caseless)
3230 rc.pattern = *regex;
3240 clcf->regex = ngx_http_regex_compile(cf, &rc);
3241 if (clcf->regex == NULL) {
3245 clcf->name = *regex;
3221 ngx_http_core_regex_location(ngx_conf_t *cf, ngx_http_core_loc_conf_t *clcf, ngx_str_t *regex, ngx_uint_t caseless) argument
[all...]
H A Dngx_http_variables.c2356 reg = map->regex;
2360 n = ngx_http_regex_exec(r, reg[i].regex, match);
2417 re->regex = rc->regex;
2490 rc = ngx_regex_exec(re->regex, s, r->captures, len);
2522 "http regex set $%V to \"%v\"", &v[index].name, vv);
H A Dngx_http_request.c2128 sn = virtual_names->regex;
2137 n = ngx_regex_exec(sn[i].regex->regex, host, NULL, 0);
2145 hc->ssl_servername_regex = sn[i].regex;
2154 n, host, &sn[i].regex->name);
2166 n = ngx_http_regex_exec(r, sn[i].regex, host);
H A Dngx_http_script.c924 "http script regex: \"%V\"", &code->name);
934 rc = ngx_http_regex_exec(r, code->regex, &e->line);
1079 "http script regex end");
/tldk/app/nginx/src/stream/
H A Dngx_stream_variables.h68 ngx_regex_t *regex; member in struct:__anon478
77 ngx_stream_regex_t *regex; member in struct:__anon479
93 ngx_stream_map_regex_t *regex; member in struct:__anon480
H A Dngx_stream_map_module.c355 map->map.regex = ctx.regexes.elts;
530 ngx_stream_map_regex_t *regex; local
533 regex = ngx_array_push(&ctx->regexes);
534 if (regex == NULL) {
553 regex->regex = ngx_stream_regex_compile(ctx->cf, &rc);
554 if (regex->regex == NULL) {
558 regex->value = var;
H A Dngx_stream_variables.c905 reg = map->regex;
909 n = ngx_stream_regex_exec(s, reg[i].regex, match);
966 re->regex = rc->regex;
1040 rc = ngx_regex_exec(re->regex, str, s->captures, len);
1072 "stream regex set $%V to \"%v\"", &v[index].name, vv);

Completed in 29 milliseconds