Lines Matching refs:end

11     u_char **pos, const u_char *end);
13 u_char **pos, const u_char *end);
15 u_char **pos, const u_char *end);
17 u_char **pos, const u_char *end);
18 static u_char *nxt_http_lookup_field_end(u_char *p, const u_char *end);
20 u_char **pos, const u_char *end);
65 nxt_http_parse_target(u_char **pos, const u_char *end) in nxt_http_parse_target() argument
72 while (nxt_fast_path(end - p >= 10)) { in nxt_http_parse_target()
101 while (p != end) { in nxt_http_parse_target()
161 const u_char *end) in nxt_http_parse_request_line() argument
178 while (nxt_fast_path(end - p >= 8)) { in nxt_http_parse_request_line()
202 while (p != end) { in nxt_http_parse_request_line()
237 if (nxt_slow_path(p == end)) { in nxt_http_parse_request_line()
246 rc = nxt_http_parse_unusual_target(rp, &p, end); in nxt_http_parse_request_line()
264 trap = nxt_http_parse_target(&p, end); in nxt_http_parse_request_line()
321 trap = nxt_http_parse_target(&p, end); in nxt_http_parse_request_line()
349 if (nxt_slow_path(end - p < 10)) { in nxt_http_parse_request_line()
354 if (p == end) { in nxt_http_parse_request_line()
360 if (memcmp(p, "HTTP/", nxt_min(end - p, 5)) == 0) { in nxt_http_parse_request_line()
362 switch (end - p) { in nxt_http_parse_request_line()
423 if (nxt_slow_path(p == end)) { in nxt_http_parse_request_line()
449 return nxt_http_parse_field_name(rp, pos, end); in nxt_http_parse_request_line()
464 return nxt_http_parse_field_name(rp, pos, end); in nxt_http_parse_request_line()
482 const u_char *end) in nxt_http_parse_unusual_target() argument
496 if (nxt_slow_path(p == end)) { in nxt_http_parse_unusual_target()
520 const u_char *end) in nxt_http_parse_field_name() argument
544 while (nxt_fast_path(end - p >= 8)) { in nxt_http_parse_field_name()
577 while (nxt_fast_path(p != end)) { in nxt_http_parse_field_name()
614 return nxt_http_parse_field_value(rp, pos, end); in nxt_http_parse_field_name()
621 return nxt_http_parse_field_end(rp, pos, end); in nxt_http_parse_field_name()
627 const u_char *end) in nxt_http_parse_field_value() argument
635 if (nxt_slow_path(p == end)) { in nxt_http_parse_field_value()
655 p = nxt_http_lookup_field_end(p, end); in nxt_http_parse_field_value()
657 if (nxt_slow_path(p == end)) { in nxt_http_parse_field_value()
702 return nxt_http_parse_field_end(rp, pos, end); in nxt_http_parse_field_value()
707 nxt_http_lookup_field_end(u_char *p, const u_char *end) in nxt_http_lookup_field_end() argument
709 while (nxt_fast_path(end - p >= 16)) { in nxt_http_lookup_field_end()
742 while (nxt_fast_path(end - p >= 4)) { in nxt_http_lookup_field_end()
752 switch (end - p) { in nxt_http_lookup_field_end()
774 const u_char *end) in nxt_http_parse_field_end() argument
784 if (nxt_slow_path(p == end)) { in nxt_http_parse_field_end()