Lines Matching refs:start

58     u_char                         *start;  member
100 u_char *start; member
204 nxt_http_request_t *r, nxt_http_action_t *start);
228 nxt_http_route_pattern_t *pattern, u_char *start, size_t length);
229 static nxt_int_t nxt_http_route_memcmp(u_char *start, u_char *test,
287 route->name.start = NULL; in nxt_http_routes_create()
793 rule->u.name.start = name->start; in nxt_http_route_rule_name_create()
902 negative1 = (test.length != 0 && test.start[0] == '!'); in nxt_http_pattern_compare()
906 negative2 = (test.length != 0 && test.start[0] == '!'); in nxt_http_pattern_compare()
953 if (test.length != 0 && test.start[0] == '!') { in nxt_http_route_pattern_create()
954 test.start++; in nxt_http_route_pattern_create()
961 if (test.length > 0 && test.start[0] == '~') { in nxt_http_route_pattern_create()
963 test.start++; in nxt_http_route_pattern_create()
1003 slice->start = NULL; in nxt_http_route_pattern_create()
1009 if (test.start[0] == '*') { in nxt_http_route_pattern_create()
1012 test.start++; in nxt_http_route_pattern_create()
1017 tmp.start = test.start; in nxt_http_route_pattern_create()
1019 p = memchr(test.start, '*', test.length); in nxt_http_route_pattern_create()
1026 test.start += test.length; in nxt_http_route_pattern_create()
1031 tmp.length = p - test.start; in nxt_http_route_pattern_create()
1034 test.start = p + 1; in nxt_http_route_pattern_create()
1047 end = test.start + test.length; in nxt_http_route_pattern_create()
1052 while (p != test.start) { in nxt_http_route_pattern_create()
1061 tmp.start = p; in nxt_http_route_pattern_create()
1077 tmp.start = test.start; in nxt_http_route_pattern_create()
1080 p = tmp.start; in nxt_http_route_pattern_create()
1091 tmp.start = p; in nxt_http_route_pattern_create()
1104 tmp.start = p; in nxt_http_route_pattern_create()
1126 u_char *start, *end; in nxt_http_route_decode_str() local
1133 start = str->start; in nxt_http_route_decode_str()
1135 end = nxt_decode_uri(start, start, str->length); in nxt_http_route_decode_str()
1140 str->length = end - start; in nxt_http_route_decode_str()
1144 start = str->start; in nxt_http_route_decode_str()
1146 end = nxt_decode_uri_plus(start, start, str->length); in nxt_http_route_decode_str()
1151 str->length = end - start; in nxt_http_route_decode_str()
1168 u_char *start; in nxt_http_route_pattern_slice() local
1177 start = nxt_mp_nget(slices->mem_pool, test->length); in nxt_http_route_pattern_slice()
1178 if (nxt_slow_path(start == NULL)) { in nxt_http_route_pattern_slice()
1185 nxt_memcpy_upcase(start, test->start, test->length); in nxt_http_route_pattern_slice()
1189 nxt_memcpy_lowcase(start, test->start, test->length); in nxt_http_route_pattern_slice()
1193 nxt_memcpy(start, test->start, test->length); in nxt_http_route_pattern_slice()
1203 slice->start = start; in nxt_http_route_pattern_slice()
1421 p = memchr(rest.start, '/', rest.length); in nxt_http_pass_segments()
1430 segments->length = p - rest.start; in nxt_http_pass_segments()
1431 segments->start = rest.start; in nxt_http_pass_segments()
1434 rest.start = p + 1; in nxt_http_pass_segments()
1445 p = nxt_decode_uri(segments->start, segments->start, segments->length); in nxt_http_pass_segments()
1450 segments->length = p - segments->start; in nxt_http_pass_segments()
1541 nxt_http_action_t *start) in nxt_http_route_handler() argument
1547 route = start->u.route; in nxt_http_route_handler()
1659 u_char *start; in nxt_http_route_rule() local
1700 start = s->start; in nxt_http_route_rule()
1702 return nxt_http_route_test_rule(r, rule, start, length); in nxt_http_route_rule()
1736 match = (in_port >= base->port.start && in_port <= base->port.end); in nxt_http_route_addr_pattern_match()
1747 match = (memcmp(&sin->sin_addr, &p->addr.v4.start, in nxt_http_route_addr_pattern_match()
1753 match = (memcmp(&sin->sin_addr, &p->addr.v4.start, in nxt_http_route_addr_pattern_match()
1761 == p->addr.v4.start); in nxt_http_route_addr_pattern_match()
1782 match = (in_port >= base->port.start && in_port <= base->port.end); in nxt_http_route_addr_pattern_match()
1793 match = (memcmp(&sin6->sin6_addr, &p->addr.v6.start, in nxt_http_route_addr_pattern_match()
1799 match = (memcmp(&sin6->sin6_addr, &p->addr.v6.start, in nxt_http_route_addr_pattern_match()
1809 == p->addr.v6.start.s6_addr[i]); in nxt_http_route_addr_pattern_match()
1893 || nxt_strncasecmp(rule->u.name.start, f->name, f->name_length) in nxt_http_route_header()
1944 && memcmp(rule->u.name.start, nv->name, nv->name_length) == 0) in nxt_http_route_test_argument()
1987 return nxt_http_route_test_rule(r, rule, r->args_decoded.start, in nxt_http_route_query()
2022 && memcmp(rule->u.name.start, nv->name, nv->name_length) == 0) in nxt_http_route_test_cookie()
2044 u_char *start, size_t length) in nxt_http_route_test_rule() argument
2054 ret = nxt_http_route_pattern(r, pattern, start, length); in nxt_http_route_test_rule()
2075 u_char *start, size_t length) in nxt_http_route_pattern() argument
2092 return nxt_regex_match(pattern->u.regex, start, length, r->regex_match); in nxt_http_route_pattern()
2104 end = start + length; in nxt_http_route_pattern()
2107 test = pattern_slice->start; in nxt_http_route_pattern()
2113 nxt_http_route_memcmp(start, test, test_length, in nxt_http_route_pattern()
2117 if (nxt_http_route_memcmp(start, test, test_length, in nxt_http_route_pattern()
2120 start += test_length; in nxt_http_route_pattern()
2140 p = nxt_memstrn(start, end, (char *) test, test_length); in nxt_http_route_pattern()
2143 p = nxt_memcasestrn(start, end, (char *) test, test_length); in nxt_http_route_pattern()
2150 start = p + test_length; in nxt_http_route_pattern()
2159 nxt_http_route_memcmp(u_char *start, u_char *test, size_t test_length, in nxt_http_route_memcmp() argument
2165 n = memcmp(start, test, test_length); in nxt_http_route_memcmp()
2168 n = nxt_memcasecmp(start, test, test_length); in nxt_http_route_memcmp()