Lines Matching refs:mp

164     nxt_mp_t *mp, nxt_conf_value_t *table_cv, nxt_http_route_object_t object,
167 nxt_mp_t *mp, nxt_conf_value_t *ruleset_cv, nxt_http_route_object_t object,
170 nxt_mp_t *mp, nxt_conf_value_t *rule_cv, nxt_str_t *name,
173 nxt_mp_t *mp, nxt_conf_value_t *cv, nxt_bool_t case_sensitive,
178 static nxt_int_t nxt_http_route_pattern_create(nxt_task_t *task, nxt_mp_t *mp,
198 static nxt_int_t nxt_http_pass_find(nxt_mp_t *mp, nxt_router_conf_t *rtcf,
239 nxt_mp_t *mp; in nxt_http_routes_create() local
250 mp = tmcf->router_conf->mem_pool; in nxt_http_routes_create()
252 routes = nxt_mp_alloc(mp, size); in nxt_http_routes_create()
272 string = nxt_str_dup(mp, &route->name, &name); in nxt_http_routes_create()
398 nxt_mp_t *mp; in nxt_http_route_match_create() local
416 mp = tmcf->router_conf->mem_pool; in nxt_http_route_match_create()
418 match = nxt_mp_alloc(mp, size); in nxt_http_route_match_create()
451 rule = nxt_http_route_rule_create(task, mp, mtcf.scheme, 1, in nxt_http_route_match_create()
464 rule = nxt_http_route_rule_create(task, mp, mtcf.host, 1, in nxt_http_route_match_create()
478 rule = nxt_http_route_rule_create(task, mp, mtcf.uri, 1, in nxt_http_route_match_create()
492 rule = nxt_http_route_rule_create(task, mp, mtcf.method, 1, in nxt_http_route_match_create()
506 table = nxt_http_route_table_create(task, mp, mtcf.headers, in nxt_http_route_match_create()
518 table = nxt_http_route_table_create(task, mp, mtcf.arguments, in nxt_http_route_match_create()
530 table = nxt_http_route_table_create(task, mp, mtcf.cookies, in nxt_http_route_match_create()
542 rule = nxt_http_route_rule_create(task, mp, mtcf.query, 1, in nxt_http_route_match_create()
555 addr_rule = nxt_http_route_addr_rule_create(task, mp, mtcf.source); in nxt_http_route_match_create()
566 addr_rule = nxt_http_route_addr_rule_create(task, mp, mtcf.destination); in nxt_http_route_match_create()
643 nxt_mp_t *mp; in nxt_http_action_init() local
660 mp = rtcf->mem_pool; in nxt_http_action_init()
671 return nxt_http_proxy_init(mp, action, &acf); in nxt_http_action_init()
686 nxt_http_route_table_create(nxt_task_t *task, nxt_mp_t *mp, in nxt_http_route_table_create() argument
700 table = nxt_mp_alloc(mp, size); in nxt_http_route_table_create()
711 ruleset = nxt_http_route_ruleset_create(task, mp, ruleset_cv, object, in nxt_http_route_table_create()
725 nxt_http_route_ruleset_create(nxt_task_t *task, nxt_mp_t *mp, in nxt_http_route_ruleset_create() argument
740 ruleset = nxt_mp_alloc(mp, size); in nxt_http_route_ruleset_create()
758 rule = nxt_http_route_rule_name_create(task, mp, rule_cv, &name, in nxt_http_route_ruleset_create()
773 nxt_http_route_rule_name_create(nxt_task_t *task, nxt_mp_t *mp, in nxt_http_route_rule_name_create() argument
780 rule = nxt_http_route_rule_create(task, mp, rule_cv, case_sensitive, in nxt_http_route_rule_name_create()
787 hash = nxt_http_field_hash(mp, name, case_sensitive, encoding); in nxt_http_route_rule_name_create()
801 nxt_http_route_rule_create(nxt_task_t *task, nxt_mp_t *mp, in nxt_http_route_rule_create() argument
816 rule = nxt_mp_alloc(mp, size); in nxt_http_route_rule_create()
831 ret = nxt_http_route_pattern_create(task, mp, value, &pattern[i], in nxt_http_route_rule_create()
843 nxt_http_route_addr_rule_create(nxt_task_t *task, nxt_mp_t *mp, in nxt_http_route_addr_rule_create() argument
857 addr_rule = nxt_mp_alloc(mp, size); in nxt_http_route_addr_rule_create()
868 if (nxt_http_route_addr_pattern_parse(mp, pattern, value) != NXT_OK) { in nxt_http_route_addr_rule_create()
884 nxt_http_route_types_rule_create(nxt_task_t *task, nxt_mp_t *mp, in nxt_http_route_types_rule_create() argument
887 return nxt_http_route_rule_create(task, mp, types, 0, in nxt_http_route_types_rule_create()
925 nxt_http_route_pattern_create(nxt_task_t *task, nxt_mp_t *mp, in nxt_http_route_pattern_create() argument
966 re = nxt_regex_compile(mp, &test, &err); in nxt_http_route_pattern_create()
989 slices = nxt_array_create(mp, 1, sizeof(nxt_http_route_pattern_slice_t)); in nxt_http_route_pattern_create()
1377 nxt_http_pass_find(nxt_mp_t *mp, nxt_router_conf_t *rtcf, nxt_str_t *pass, in nxt_http_pass_find() argument
1383 ret = nxt_http_pass_segments(mp, pass, segments, 3); in nxt_http_pass_find()
1408 nxt_http_pass_segments(nxt_mp_t *mp, nxt_str_t *pass, nxt_str_t *segments, in nxt_http_pass_segments() argument
1414 if (nxt_slow_path(nxt_str_dup(mp, &rest, pass) == NULL)) { in nxt_http_pass_segments()
1491 nxt_mp_t *mp; in nxt_http_action_create() local
1497 mp = rtcf->mem_pool; in nxt_http_action_create()
1499 action = nxt_mp_alloc(mp, sizeof(nxt_http_action_t)); in nxt_http_action_create()