Lines Matching refs:u

70     } u;  member
104 } u; member
471 rule->u.offset = offsetof(nxt_http_request_t, host); in nxt_http_route_match_create()
485 rule->u.offset = offsetof(nxt_http_request_t, path); in nxt_http_route_match_create()
499 rule->u.offset = offsetof(nxt_http_request_t, method); in nxt_http_route_match_create()
676 action->u.var = nxt_var_compile(&pass, mp, rtcf->var_fields, 0); in nxt_http_action_init()
677 if (nxt_slow_path(action->u.var == NULL)) { in nxt_http_action_init()
792 rule->u.name.hash = hash; in nxt_http_route_rule_name_create()
793 rule->u.name.start = name->start; in nxt_http_route_rule_name_create()
794 rule->u.name.length = name->length; in nxt_http_route_rule_name_create()
945 pattern->u.pattern_slices = NULL; in nxt_http_route_pattern_create()
979 pattern->u.regex = re; in nxt_http_route_pattern_create()
994 pattern->u.pattern_slices = slices; in nxt_http_route_pattern_create()
1275 if (nxt_var_is_const(action->u.var)) { in nxt_http_action_resolve()
1276 nxt_var_raw(action->u.var, &pass); in nxt_http_action_resolve()
1300 var = action->u.var; in nxt_http_pass_var()
1317 action->u.pass = nxt_pointer_to(action, sizeof(nxt_http_action_t)); in nxt_http_pass_var()
1319 nxt_var_query(task, r->var_query, var, action->u.pass); in nxt_http_pass_var()
1345 nxt_debug(task, "http pass lookup: %V", action->u.pass); in nxt_http_pass_var_ready()
1347 ret = nxt_http_pass_find(r->mem_pool, rtcf, action->u.pass, action); in nxt_http_pass_var_ready()
1470 action->u.route = *route; in nxt_http_route_find()
1500 action->u.var = nxt_var_compile(pass, mp, rtcf->var_fields, 0); in nxt_http_action_create()
1501 if (nxt_slow_path(action->u.var == NULL)) { in nxt_http_action_create()
1543 route = start->u.route; in nxt_http_route_handler()
1680 p = nxt_pointer_to(r, rule->u.offset); in nxt_http_route_rule()
1719 switch (sa->u.sockaddr.sa_family) { in nxt_http_route_addr_pattern_match()
1729 sin = &sa->u.sockaddr_in; in nxt_http_route_addr_pattern_match()
1775 sin6 = &sa->u.sockaddr_in6; in nxt_http_route_addr_pattern_match()
1887 if (rule->u.name.hash != f->hash in nxt_http_route_header()
1888 || rule->u.name.length != f->name_length in nxt_http_route_header()
1889 || nxt_strncasecmp(rule->u.name.start, f->name, f->name_length) in nxt_http_route_header()
1938 if (rule->u.name.hash == nv->hash in nxt_http_route_test_argument()
1939 && rule->u.name.length == nv->name_length in nxt_http_route_test_argument()
1940 && nxt_memcmp(rule->u.name.start, nv->name, nv->name_length) == 0) in nxt_http_route_test_argument()
1966 pattern_slice = rule->pattern[0].u.pattern_slices->elts; in nxt_http_route_scheme()
2016 if (rule->u.name.hash == nv->hash in nxt_http_route_test_cookie()
2017 && rule->u.name.length == nv->name_length in nxt_http_route_test_cookie()
2018 && nxt_memcmp(rule->u.name.start, nv->name, nv->name_length) == 0) in nxt_http_route_test_cookie()
2088 return nxt_regex_match(pattern->u.regex, start, length, r->regex_match); in nxt_http_route_pattern()
2096 nxt_assert(pattern->u.pattern_slices != NULL); in nxt_http_route_pattern()
2098 pattern_slices = pattern->u.pattern_slices; in nxt_http_route_pattern()