Home
last modified time | relevance | path

Searched refs:buflist (Results 1 – 17 of 17) sorted by relevance

/third_party/libwebsockets/lib/core-net/
Dservice.c256 blen = lws_buflist_next_segment_len(&wsi->buflist, &buffered); in lws_rxflow_cache()
267 lws_buflist_use_segment(&wsi->buflist, blen - len); in lws_rxflow_cache()
279 m = lws_buflist_append_segment(&wsi->buflist, buf + n, len - n); in lws_rxflow_cache()
410 bns = (int)lws_buflist_next_segment_len(&wsi->buflist, &ebuf->token); in lws_buflist_aware_read()
443 n = lws_buflist_append_segment(&wsi->buflist, ebuf->token, (size_t)ebuf->len); in lws_buflist_aware_read()
484 if (wsi->buflist) { in lws_buflist_aware_finished_consuming()
485 m = (int)lws_buflist_use_segment(&wsi->buflist, in lws_buflist_aware_finished_consuming()
500 m = lws_buflist_append_segment(&wsi->buflist, in lws_buflist_aware_finished_consuming()
697 if (!lws_buflist_total_len(&wsi->buflist)) { in lws_service_fd_tsi()
Dclose.c110 lws_buflist_destroy_all_segments(&wsi->buflist); in __lws_reset_wsi()
726 lws_buflist_destroy_all_segments(&wsi->buflist); in __lws_close_free_wsi()
Dadopt.c588 n = lws_buflist_append_segment(&wsi->buflist, (const uint8_t *)readbuf, in adopt_socket_readbuf()
Dprivate-lib-core-net.h732 struct lws_buflist *buflist; /* input-side buflist */ member
Dwsi.c529 if (lws_buflist_next_segment_len(&wsi->buflist, NULL)) { in __lws_rx_flow_control()
/third_party/libwebsockets/lib/misc/cache-ttl/
Dfile.c728 struct lws_buflist *buflist; member
749 if (ctx->buflist) in nsc_get_cb()
790 if (lws_buflist_append_segment(&ctx->buflist, (const uint8_t *)buf, in nsc_get_cb()
801 lws_buflist_total_len(&ctx->buflist), in nsc_get_cb()
810 size_t len = lws_buflist_next_segment_len(&ctx->buflist, &p); in nsc_get_cb()
815 lws_buflist_use_segment(&ctx->buflist, len); in nsc_get_cb()
816 } while (ctx->buflist); in nsc_get_cb()
821 lws_buflist_destroy_all_segments(&ctx->buflist); in nsc_get_cb()
847 ctx.buflist = NULL; in lws_cache_nscookiejar_get()
/third_party/libwebsockets/lib/roles/h2/
Dops-h2.c203 ebuf.len = (int)lws_buflist_next_segment_len(&wsi->buflist, in rops_handle_POLLIN_h2()
307 m = (int)lws_buflist_use_segment(&wsi->buflist, (size_t)n); in rops_handle_POLLIN_h2()
318 m = lws_buflist_append_segment(&wsi->buflist, in rops_handle_POLLIN_h2()
884 (blen = lws_buflist_next_segment_len(&wsi->buflist, &buffered))) { in lws_h2_bind_for_post_before_action()
892 lws_buflist_use_segment(&wsi->buflist, blen); in lws_h2_bind_for_post_before_action()
897 if (!wsi->buflist) in lws_h2_bind_for_post_before_action()
1064 if (w->buflist) { in rops_perform_user_POLLOUT_h2()
Dhttp2.c2185 &h2n->swsi->buflist, NULL)) in lws_h2_parser()
2269 &h2n->swsi->buflist, in - 1, (unsigned int)n); in lws_h2_parser()
2306 &wsi->buflist, NULL))) { in lws_h2_parser()
/third_party/libwebsockets/lib/roles/http/compression/
DREADME.md12 before it can process new input, the transform adds a new kind of buflist
/third_party/libwebsockets/lib/core/
DCMakeLists.txt29 core/buflist.c
/third_party/libwebsockets/lib/roles/mqtt/
Dops-mqtt.c93 ebuf.len = (int)lws_buflist_next_segment_len(&wsi->buflist, &ebuf.token); in rops_handle_POLLIN_mqtt()
183 !lws_buflist_next_segment_len(&wsi->buflist, NULL)) { in rops_handle_POLLIN_mqtt()
/third_party/libwebsockets/lib/roles/ws/
Dops-ws.c1089 ebuf.len = (int)lws_buflist_next_segment_len(&wsi->buflist, in rops_handle_POLLIN_ws()
1215 lws_buflist_total_len(&wsi->buflist)) in rops_handle_POLLIN_ws()
1237 !lws_buflist_next_segment_len(&wsi->buflist, NULL)) { in rops_handle_POLLIN_ws()
/third_party/libwebsockets/
DBUILD.gn44 "//third_party/libwebsockets/lib/core/buflist.c",
336 "//third_party/libwebsockets/lib/core/buflist.c",
/third_party/libwebsockets/lib/roles/http/server/
Dserver.c2046 ebuf.len = (int)lws_buflist_next_segment_len(&wsi->buflist, in lws_http_action()
2639 lws_wsi_tag(wsi), (int)wsi->wsistate, wsi->buflist); in lws_http_transaction_completed()
2673 if (!lws_buflist_next_segment_len(&wsi->buflist, NULL)) { in lws_http_transaction_completed()
2712 if (lws_buflist_next_segment_len(&wsi->buflist, NULL)) in lws_http_transaction_completed()
/third_party/libwebsockets/lib/roles/h1/
Dops-h1.c640 !lws_buflist_total_len(&wsi->buflist)) in rops_handle_POLLIN_h1()
/third_party/libwebsockets/lib/roles/http/client/
Dclient-http.c368 if (lws_buflist_total_len(&wsi->buflist)) in lws_http_client_socket_service()
/third_party/libwebsockets/lib/roles/http/
Dparsers.c132 lws_buflist_next_segment_len(&wsi->buflist, NULL) && in __lws_header_table_reset()