Lines Matching refs:end

930     u_char                          c, *p, *end;  in nxt_http_route_pattern_create()  local
1047 end = test.start + test.length; in nxt_http_route_pattern_create()
1049 if (test.length != 0 && end[-1] != '*') { in nxt_http_route_pattern_create()
1050 p = end - 1; in nxt_http_route_pattern_create()
1062 tmp.length = end - p; in nxt_http_route_pattern_create()
1065 end = p; in nxt_http_route_pattern_create()
1082 while (p != end) { in nxt_http_route_pattern_create()
1126 u_char *start, *end; in nxt_http_route_decode_str() local
1135 end = nxt_decode_uri(start, start, str->length); in nxt_http_route_decode_str()
1136 if (nxt_slow_path(end == NULL)) { in nxt_http_route_decode_str()
1140 str->length = end - start; in nxt_http_route_decode_str()
1146 end = nxt_decode_uri_plus(start, start, str->length); in nxt_http_route_decode_str()
1147 if (nxt_slow_path(end == NULL)) { in nxt_http_route_decode_str()
1151 str->length = end - start; in nxt_http_route_decode_str()
1214 nxt_http_route_t **route, **end; in nxt_http_routes_resolve() local
1221 end = route + routes->items; in nxt_http_routes_resolve()
1223 while (route < end) { in nxt_http_routes_resolve()
1242 nxt_http_route_match_t **match, **end; in nxt_http_route_resolve() local
1245 end = match + route->items; in nxt_http_route_resolve()
1247 while (match < end) { in nxt_http_route_resolve()
1463 nxt_http_route_t **route, **end; in nxt_http_route_find() local
1470 end = route + routes->items; in nxt_http_route_find()
1472 while (route < end) { in nxt_http_route_find()
1545 nxt_http_route_match_t **match, **end; in nxt_http_route_handler() local
1549 end = match + route->items; in nxt_http_route_handler()
1551 while (match < end) { in nxt_http_route_handler()
1571 nxt_http_route_test_t *test, *end; in nxt_http_route_match() local
1574 end = test + match->items; in nxt_http_route_match()
1576 while (test < end) { in nxt_http_route_match()
1612 nxt_http_route_ruleset_t **ruleset, **end; in nxt_http_route_table() local
1616 end = ruleset + table->items; in nxt_http_route_table()
1618 while (ruleset < end) { in nxt_http_route_table()
1636 nxt_http_route_rule_t **rule, **end; in nxt_http_route_ruleset() local
1639 end = rule + ruleset->items; in nxt_http_route_ruleset()
1641 while (rule < end) { in nxt_http_route_ruleset()
1736 match = (in_port >= base->port.start && in_port <= base->port.end); in nxt_http_route_addr_pattern_match()
1755 && memcmp(&sin->sin_addr, &p->addr.v4.end, in nxt_http_route_addr_pattern_match()
1760 match = ((sin->sin_addr.s_addr & p->addr.v4.end) 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()
1801 && memcmp(&sin6->sin6_addr, &p->addr.v6.end, in nxt_http_route_addr_pattern_match()
1808 & p->addr.v6.end.s6_addr[i]) in nxt_http_route_addr_pattern_match()
1933 nxt_http_name_value_t *nv, *end; in nxt_http_route_test_argument() local
1938 end = nv + array->nelts; in nxt_http_route_test_argument()
1940 while (nv < end) { in nxt_http_route_test_argument()
2011 nxt_http_name_value_t *nv, *end; in nxt_http_route_test_cookie() local
2016 end = nv + array->nelts; in nxt_http_route_test_cookie()
2018 while (nv < end) { in nxt_http_route_test_cookie()
2047 nxt_http_route_pattern_t *pattern, *end; in nxt_http_route_test_rule() local
2051 end = pattern + rule->items; in nxt_http_route_test_rule()
2053 while (pattern < end) { in nxt_http_route_test_rule()
2077 u_char *p, *end, *test; in nxt_http_route_pattern() local
2104 end = start + length; in nxt_http_route_pattern()
2127 p = end - test_length; in nxt_http_route_pattern()
2132 end = p; 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()