Lines Matching defs:end

674 	unsigned char *end = p + sizeof(sym) - 32 - LWS_PRE;
794 HTTP_STATUS_NOT_MODIFIED, &p, end)) {
802 (unsigned char *)sym, n, &p, end))
825 (unsigned char *)cc, cclen, &p, end))
828 if (lws_finalize_http_header(wsi, &p, end))
850 (unsigned char *)sym, n, &p, end))
906 &p, end))
917 args.max_len = lws_ptr_diff(end, p);
1039 *p = start, *end = p + 2048;
1045 if (lws_add_http_header_status(wsi, HTTP_STATUS_UNAUTHORIZED, &p, end))
1051 (unsigned char *)buf, n, &p, end))
1054 if (lws_add_http_header_content_length(wsi, 0, &p, end))
1057 if (lws_finalize_http_header(wsi, &p, end))
1521 * there is an implied / at the end for our purposes since
1531 * / at the end, we must redirect to add it so the browser
1543 *end = p + wsi->a.context->pt_serv_buf_size -
1553 n = lws_snprintf((char *)end, 256, "%s%s",
1564 n = lws_snprintf((char *)end, 256,
1573 n = lws_snprintf((char *)end, 256,
1579 lws_clean_url((char *)end);
1581 end, n, &p, end);
1733 *end = p + wsi->a.context->pt_serv_buf_size -
1743 p += lws_snprintf((char *)p, lws_ptr_diff_size_t(end, p), "https://");
1747 if (uri_len >= lws_ptr_diff(end, p))
1757 lws_ptr_diff(end, p) - 2,
1761 if (p >= end - 2)
1770 start, (int)n, &p, end);
2740 unsigned char *end = p + context->pt_serv_buf_size - LWS_PRE;
2804 if (lws_add_http_header_status(wsi, (unsigned int)n, &p, end))
2812 (unsigned char *)"gzip", 4, &p, end))
2828 lws_http_compression_apply(wsi, NULL, &p, end, 0);
2841 &p, end))
2854 20, &p, end))
2876 rp->start, rp->end, rp->extent);
2896 rp->start, rp->end, rp->extent);
2901 n, &p, end))
2908 (unsigned char *)"bytes", 5, &p, end))
2924 total_content_length, &p, end))
2942 &p, end))
2982 (unsigned char *)cc, cclen, &p, end))
2987 if ((end - p) < other_headers_len)
2993 if (lws_finalize_http_header(wsi, &p, end))
3110 wsi->http.range.end,
3115 wsi->http.range.budget = wsi->http.range.end -