Lines Matching refs:end

243 nxt_memstrn(const u_char *s, const u_char *end, const char *ss, size_t length)  in nxt_memstrn()  argument
251 while (s < end) { in nxt_memstrn()
256 if (s + length > end) { in nxt_memstrn()
277 nxt_memcasestrn(const u_char *s, const u_char *end, const char *ss, in nxt_memcasestrn() argument
287 while (s < end) { in nxt_memcasestrn()
293 if (s + length > end) { in nxt_memcasestrn()
314 nxt_rmemstrn(const u_char *s, const u_char *end, const char *ss, size_t length) in nxt_rmemstrn() argument
319 s1 = end - length; in nxt_rmemstrn()
341 nxt_str_strip(const u_char *start, u_char *end) in nxt_str_strip() argument
345 for (p = end - 1; p >= start; p--) { in nxt_str_strip()
522 u_char *end, ch; in nxt_decode_uri() local
527 end = src + length; in nxt_decode_uri()
529 while (src < end) { in nxt_decode_uri()
533 if (nxt_slow_path(end - src < 2)) { in nxt_decode_uri()
557 u_char *end, ch; in nxt_decode_uri_plus() local
562 end = src + length; in nxt_decode_uri_plus()
564 while (src < end) { in nxt_decode_uri_plus()
569 if (nxt_slow_path(end - src < 2)) { in nxt_decode_uri_plus()
598 u_char *end; in nxt_encode_uri() local
603 end = src + length; in nxt_encode_uri()
611 while (src < end) { in nxt_encode_uri()
623 while (src < end) { in nxt_encode_uri()
644 u_char *reserved, *end, ch; in nxt_encode_complex_uri() local
651 end = src + length; in nxt_encode_complex_uri()
659 while (src < end) { in nxt_encode_complex_uri()
680 while (src < end) { in nxt_encode_complex_uri()
708 u_char *reserved, *end, ch; in nxt_is_complex_uri_encoded() local
713 for (end = src + length; src < end; src++) { in nxt_is_complex_uri_encoded()
718 if (end - src < 2) { in nxt_is_complex_uri_encoded()
753 u_char *end, *p; in nxt_base64_decode() local
777 end = src + length; in nxt_base64_decode()
785 while (src < end) { in nxt_base64_decode()
792 pad = end - src; in nxt_base64_decode()
809 pad = (end[-1] == '=') + (end[-2] == '='); in nxt_base64_decode()
810 end -= (pad + 3) & 4; in nxt_base64_decode()
813 end -= 4 - pad; in nxt_base64_decode()
818 while (src < end) { in nxt_base64_decode()