Home
last modified time | relevance | path

Searched refs:pt_serv_buf_size (Results 1 – 25 of 28) sorted by relevance

12

/third_party/libwebsockets/lib/roles/mqtt/
Dops-mqtt.c122 ebuf.len = wsi->context->pt_serv_buf_size; in rops_handle_POLLIN_mqtt()
124 if ((unsigned int)ebuf.len > wsi->context->pt_serv_buf_size) in rops_handle_POLLIN_mqtt()
125 ebuf.len = wsi->context->pt_serv_buf_size; in rops_handle_POLLIN_mqtt()
178 pending = pending > wsi->context->pt_serv_buf_size ? in rops_handle_POLLIN_mqtt()
179 wsi->context->pt_serv_buf_size : pending; in rops_handle_POLLIN_mqtt()
Dmqtt.c1652 (wsi->context->pt_serv_buf_size - LWS_PRE)) { in lws_mqtt_client_send_publish()
1860 wsi->context->pt_serv_buf_size) { in lws_mqtt_client_send_subcribe()
2023 wsi->context->pt_serv_buf_size) { in lws_mqtt_client_send_unsubcribe()
/third_party/libwebsockets/lib/roles/mqtt/client/
Dclient-mqtt.c328 ebuf.len = wsi->context->pt_serv_buf_size; in lws_mqtt_client_socket_service()
330 if ((unsigned int)ebuf.len > wsi->context->pt_serv_buf_size) in lws_mqtt_client_socket_service()
331 ebuf.len = wsi->context->pt_serv_buf_size; in lws_mqtt_client_socket_service()
/third_party/libwebsockets/lib/core/
Dcontext.c260 if (info->pt_serv_buf_size) in lws_create_context()
261 s1 = info->pt_serv_buf_size; in lws_create_context()
278 context->pt_serv_buf_size = (unsigned int)s1; in lws_create_context()
563 u += context->pt_serv_buf_size; in lws_create_context()
625 (context->count_threads * context->pt_serv_buf_size), in lws_create_context()
628 context->pt_serv_buf_size); in lws_create_context()
Dprivate-lib-core.h489 unsigned int pt_serv_buf_size; member
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-echo/
Dminimal-ws-server-echo.c100 info.pt_serv_buf_size = 32 * 1024; in main()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-pmd-bulk/
Dminimal-ws-client-pmd-bulk.c104 info.pt_serv_buf_size = 32 * 1024; in main()
/third_party/libwebsockets/lib/roles/ws/
Dserver-ws.c56 if (lws_hdr_copy(wsi, (char *)pt->serv_buf, context->pt_serv_buf_size, in lws_extension_server_handshake()
615 (char *)pt->serv_buf, context->pt_serv_buf_size); in handshake_0405()
670 context->pt_serv_buf_size, p); in handshake_0405()
753 avail = wsi->context->pt_serv_buf_size; in lws_ws_frame_rest_is_payload()
Dops-ws.c426 wsi->ws->rx_ubuf_head != wsi->context->pt_serv_buf_size) in lws_ws_rx_sm()
841 n = wsi->context->pt_serv_buf_size; in lws_server_init_wsi_for_ws()
1126 ebuf.len = wsi->context->pt_serv_buf_size; in rops_handle_POLLIN_ws()
1128 if ((unsigned int)ebuf.len > wsi->context->pt_serv_buf_size) in rops_handle_POLLIN_ws()
1129 ebuf.len = wsi->context->pt_serv_buf_size; in rops_handle_POLLIN_ws()
1217 pending = pending > wsi->context->pt_serv_buf_size ? in rops_handle_POLLIN_ws()
1218 wsi->context->pt_serv_buf_size : pending; in rops_handle_POLLIN_ws()
Dclient-ws.c466 if (lws_hdr_copy(wsi, sb, context->pt_serv_buf_size, in lws_client_ws_upgrade()
651 n = context->pt_serv_buf_size; in lws_client_ws_upgrade()
Dclient-parser-ws.c366 wsi->ws->rx_ubuf_head != wsi->context->pt_serv_buf_size) in lws_ws_client_rx_sm()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-pmd-bulk/
Dminimal-ws-server-pmd-bulk.c129 info.pt_serv_buf_size = 32 * 1024; in main()
/third_party/libwebsockets/lib/core-net/
Dsocks5-client.c104 uint8_t *p = pt->serv_buf, *end = &p[context->pt_serv_buf_size]; in lws_socks5c_generate_msg()
270 wsi->context->pt_serv_buf_size, 0); in lws_socks5c_handle_state()
Dservice.c366 (unsigned int)ebuf->len > wsi->context->pt_serv_buf_size - LWS_PRE) in lws_buflist_aware_read()
367 ebuf->len = wsi->context->pt_serv_buf_size - LWS_PRE; in lws_buflist_aware_read()
Doutput.c105 n = context->pt_serv_buf_size; in lws_issue_raw()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-echo/
Dminimal-ws-client-echo.c140 info.pt_serv_buf_size = 32 * 1024; in main()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-hugeurl/
Dminimal-http-client-hugeurl.c172 info.pt_serv_buf_size = 8192; in main()
/third_party/libwebsockets/plugins/raw-proxy/
DREADME.md31 info.pt_serv_buf_size = 8192;
/third_party/libwebsockets/lib/roles/http/
Dheader.c387 unsigned char *end = p + context->pt_serv_buf_size - LWS_PRE; in lws_return_http_status()
388 char *body = (char *)start + context->pt_serv_buf_size - 512; in lws_return_http_status()
/third_party/libwebsockets/lib/roles/ws/ext/
Dextension-permessage-deflate.c55 n = wsi->context->pt_serv_buf_size; in lws_extension_pmdeflate_restrict_args()
132 n = context->pt_serv_buf_size; in lws_extension_callback_pm_deflate()
/third_party/libwebsockets/lwsws/
Dmain.c148 info.pt_serv_buf_size = 8192; in context_creation()
/third_party/libwebsockets/include/libwebsockets/
Dlws-context-vhost.h425 unsigned int pt_serv_buf_size; member
/third_party/libwebsockets/lib/tls/
Dtls-server.c188 context->pt_serv_buf_size, MSG_PEEK); in lws_server_socket_service_ssl()
/third_party/libwebsockets/lib/roles/http/server/
Dserver.c1321 *end = p + wsi->context->pt_serv_buf_size - in lws_http_redirect_hit()
1501 *end = p + wsi->context->pt_serv_buf_size - LWS_PRE; in lws_http_action()
2477 unsigned char *end = p + context->pt_serv_buf_size - LWS_PRE; in lws_serve_http_file()
2832 context->pt_serv_buf_size - in lws_serve_http_file_fragment()
2852 poss = context->pt_serv_buf_size - n - in lws_serve_http_file_fragment()
/third_party/libwebsockets/lib/roles/http/client/
Dclient-http.c169 n = recv(wsi->desc.sockfd, sb, context->pt_serv_buf_size, 0); in lws_client_socket_service()
1162 (pkt + wsi->context->pt_serv_buf_size) - p - 12)) in lws_generate_client_handshake()

12