Home
last modified time | relevance | path

Searched refs:regex (Results 1 – 25 of 47) sorted by relevance

12

/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_rewrite_module.c313 if (regex == NULL) { in ngx_http_rewrite()
329 regex->regex = ngx_http_regex_compile(cf, &rc); in ngx_http_rewrite()
330 if (regex->regex == NULL) { in ngx_http_rewrite()
335 regex->uri = 1; in ngx_http_rewrite()
336 regex->name = value[1]; in ngx_http_rewrite()
390 sc.main = regex; in ngx_http_rewrite()
398 regex = sc.main; in ngx_http_rewrite()
400 regex->size = sc.size; in ngx_http_rewrite()
401 regex->args = sc.args; in ngx_http_rewrite()
763 regex->regex = ngx_http_regex_compile(cf, &rc); in ngx_http_rewrite_if_condition()
[all …]
H A Dngx_http_referer_module.c20 ngx_array_t *regex; member
135 && rlcf->regex == NULL in ngx_http_referer_variable()
219 if (rlcf->regex) { in ngx_http_referer_variable()
334 ngx_conf_merge_ptr_value(conf->regex, prev->regex, NULL); in ngx_http_referer_merge_conf()
355 if (sn[n].regex) { in ngx_http_referer_merge_conf()
452 ngx_conf_merge_ptr_value(conf->regex, prev->regex, NULL); in ngx_http_referer_merge_conf()
600 if (rlcf->regex == NULL) { in ngx_http_add_regex_referer()
626 re->regex = rc.regex; in ngx_http_add_regex_referer()
647 ngx_http_regex_t *regex) in ngx_http_add_regex_server_name() argument
664 re->regex = regex->regex; in ngx_http_add_regex_server_name()
[all …]
H A Dngx_http_map_module.c356 map->map.regex = ctx.regexes.elts; in ngx_http_map_block()
531 ngx_http_map_regex_t *regex; in ngx_http_map() local
534 regex = ngx_array_push(&ctx->regexes); in ngx_http_map()
535 if (regex == NULL) { in ngx_http_map()
554 regex->regex = ngx_http_regex_compile(ctx->cf, &rc); in ngx_http_map()
555 if (regex->regex == NULL) { in ngx_http_map()
559 regex->value = var; in ngx_http_map()
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_regex.c128 rc->regex = ngx_pcalloc(rc->pool, sizeof(ngx_regex_t)); in ngx_regex_compile()
129 if (rc->regex == NULL) { in ngx_regex_compile()
133 rc->regex->code = re; in ngx_regex_compile()
143 elt->regex = rc->regex; in ngx_regex_compile()
208 n = ngx_regex_exec(re[i].regex, s, NULL, 0); in ngx_regex_exec_array()
277 if (elts[i].regex->extra != NULL) { in ngx_pcre_free_studies()
278 pcre_free_study(elts[i].regex->extra); in ngx_pcre_free_studies()
341 elts[i].regex->extra = pcre_study(elts[i].regex->code, opt, &errstr); in ngx_regex_module_init()
354 n = pcre_fullinfo(elts[i].regex->code, elts[i].regex->extra, in ngx_regex_module_init()
H A Dngx_regex.h34 ngx_regex_t *regex; member
44 ngx_regex_t *regex; member
/f-stack/dpdk/doc/guides/regexdevs/
H A Docteontx2.rst8 regexdev driver support for the inbuilt regex device found in the **Marvell OCTEON TX2**
20 - Up to 254 matches for each regex operation
35 ``dpdk-devbind.py --status-dev regex`` can be used to see the state of
43 .. table:: OCTEON TX2 regex device debug options
48 | 1 | REE | --log-level='pmd\.regex\.octeontx2,8' |
H A Dmlx5.rst33 for example net / vDPA / RegEx. To select the RegEx PMD ``class=regex`` should
36 For example: ``class=net:regex`` will probe both the net PMD and the RegEx PMD.
/f-stack/dpdk/lib/librte_eal/common/
H A Deal_common_log.c153 rte_log_set_level_regexp(const char *regex, uint32_t level) in rte_log_set_level_regexp() argument
161 if (regcomp(&r, regex, 0) != 0) in rte_log_set_level_regexp()
182 const char *regex, const char *pattern) in rte_log_save_level() argument
192 if (regex) { in rte_log_save_level()
194 if (regcomp(&opt_ll->re_match, regex, 0) != 0) in rte_log_save_level()
210 int rte_log_save_regexp(const char *regex, int tmp) in rte_log_save_regexp() argument
212 return rte_log_save_level(tmp, regex, NULL); in rte_log_save_regexp()
H A Deal_common_options.c1239 const char *regex = NULL; in eal_parse_log_level() local
1248 regex = str; in eal_parse_log_level()
1263 if (regex) { in eal_parse_log_level()
1264 if (rte_log_set_level_regexp(regex, priority) < 0) { in eal_parse_log_level()
1266 regex, priority); in eal_parse_log_level()
1269 if (rte_log_save_regexp(regex, priority) < 0) in eal_parse_log_level()
H A Deal_common_trace.c207 rte_trace_regexp(const char *regex, bool enable) in rte_trace_regexp() argument
213 if (regcomp(&r, regex, 0) != 0) in rte_trace_regexp()
/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http.c692 regex = NULL; in ngx_http_init_locations()
766 if (regex) { in ngx_http_init_locations()
776 for (q = regex; in ngx_http_init_locations()
865 || clcf->regex in ngx_http_add_location()
933 if (first->regex && !second->regex) { in ngx_http_cmp_locations()
938 if (!first->regex && second->regex) { in ngx_http_cmp_locations()
943 if (first->regex || second->regex) { in ngx_http_cmp_locations()
1437 regex = 0; in ngx_http_server_names()
1545 if (regex == 0) { in ngx_http_server_names()
1836 vn->regex = addr[i].regex; in ngx_http_add_addrs()
[all …]
H A Dngx_http_variables.h73 ngx_regex_t *regex; member
82 ngx_http_regex_t *regex; member
98 ngx_http_map_regex_t *regex; member
H A Dngx_http_core_module.h221 ngx_http_regex_t *regex; member
232 ngx_http_server_name_t *regex; member
287 ngx_http_server_name_t *regex; member
308 ngx_http_regex_t *regex; member
/f-stack/app/nginx-1.16.1/src/stream/
H A Dngx_stream_variables.h70 ngx_regex_t *regex; member
79 ngx_stream_regex_t *regex; member
95 ngx_stream_map_regex_t *regex; member
H A Dngx_stream_map_module.c355 map->map.regex = ctx.regexes.elts; in ngx_stream_map_block()
530 ngx_stream_map_regex_t *regex; in ngx_stream_map() local
533 regex = ngx_array_push(&ctx->regexes); in ngx_stream_map()
534 if (regex == NULL) { in ngx_stream_map()
553 regex->regex = ngx_stream_regex_compile(ctx->cf, &rc); in ngx_stream_map()
554 if (regex->regex == NULL) { in ngx_stream_map()
558 regex->value = var; in ngx_stream_map()
/f-stack/freebsd/contrib/openzfs/scripts/
H A Dcommitcheck.sh22 regex='^[[:space:]]*'"$1"':[[:space:]][[:print:]]+[[:space:]]<[[:graph:]]+>$'
23 foundline=$(git log -n 1 "$REF" | grep -E -m 1 "$regex")
/f-stack/dpdk/doc/guides/tools/
H A Dtestregex.rst4 dpdk-test-regex Tool
7 The ``dpdk-test-regex`` tool is a Data Plane Development Kit (DPDK)
73 ./dpdk-test-regex -a 83:00.0 -- --rules rule_file.rof2 --data data_file.txt --job 100
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/vdev_zaps/
H A Dvdev_zaps.kshlib23 typeset regex="$1"
26 dsk_line=$(grep -n "$regex" "$conf" | awk -F: '{print $1}')
/f-stack/dpdk/lib/librte_eal/include/
H A Drte_trace.h101 int rte_trace_regexp(const char *regex, bool enable);
H A Drte_log.h164 int rte_log_set_level_regexp(const char *regex, uint32_t level);
/f-stack/dpdk/doc/guides/regexdevs/features/
H A Docteontx2.ini2 ; Supported features of the 'octeontx2' regex driver.
/f-stack/dpdk/lib/librte_eal/windows/include/
H A Dregex.h35 __rte_unused const char *regex, __rte_unused int cflags) in regcomp() argument
/f-stack/dpdk/drivers/regex/mlx5/
H A Dmlx5_regex.c23 #define MLX5_REGEX_LOG_NAME pmd.regex.mlx5
144 } else if (!attr.regex || attr.regexp_num_of_engines == 0) { in mlx5_regex_pci_probe()
/f-stack/dpdk/app/
H A Dmeson.build21 'test-regex',
/f-stack/freebsd/contrib/dpdk_rte_lpm/
H A Drte_log.h182 int rte_log_set_level_regexp(const char *regex, uint32_t level);

12