Home
last modified time | relevance | path

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

12

/third_party/libwebsockets/lib/roles/mqtt/
Dops-mqtt.c122 ebuf.len = (int)wsi->a.context->pt_serv_buf_size; in rops_handle_POLLIN_mqtt()
124 if ((unsigned int)ebuf.len > wsi->a.context->pt_serv_buf_size) in rops_handle_POLLIN_mqtt()
125 ebuf.len = (int)wsi->a.context->pt_serv_buf_size; in rops_handle_POLLIN_mqtt()
177 pending = pending > wsi->a.context->pt_serv_buf_size ? in rops_handle_POLLIN_mqtt()
178 wsi->a.context->pt_serv_buf_size : pending; in rops_handle_POLLIN_mqtt()
/third_party/libwebsockets/lib/roles/mqtt/client/
Dclient-mqtt.c311 ebuf.len = (int)wsi->a.context->pt_serv_buf_size; in lws_mqtt_client_socket_service()
313 if ((unsigned int)ebuf.len > wsi->a.context->pt_serv_buf_size) in lws_mqtt_client_socket_service()
314 ebuf.len = (int)wsi->a.context->pt_serv_buf_size; in lws_mqtt_client_socket_service()
/third_party/libwebsockets/lib/roles/ws/
Dserver-ws.c56 if (lws_hdr_copy(wsi, (char *)pt->serv_buf, (int)context->pt_serv_buf_size, in lws_extension_server_handshake()
671 (char *)pt->serv_buf, (int)context->pt_serv_buf_size); in handshake_0405()
747 context->pt_serv_buf_size, p); in handshake_0405()
830 avail = wsi->a.context->pt_serv_buf_size; in lws_ws_frame_rest_is_payload()
Dops-ws.c423 wsi->ws->rx_ubuf_head != wsi->a.context->pt_serv_buf_size) in lws_ws_rx_sm()
840 n = (int)wsi->a.context->pt_serv_buf_size; in lws_server_init_wsi_for_ws()
1125 ebuf.len = (int)wsi->a.context->pt_serv_buf_size; in rops_handle_POLLIN_ws()
1127 if ((unsigned int)ebuf.len > wsi->a.context->pt_serv_buf_size) in rops_handle_POLLIN_ws()
1128 ebuf.len = (int)wsi->a.context->pt_serv_buf_size; in rops_handle_POLLIN_ws()
1224 pending = pending > wsi->a.context->pt_serv_buf_size ? in rops_handle_POLLIN_ws()
1225 wsi->a.context->pt_serv_buf_size : pending; in rops_handle_POLLIN_ws()
Dclient-ws.c456 if (lws_hdr_copy(wsi, sb, (int)context->pt_serv_buf_size, in lws_client_ws_upgrade()
640 n = (int)context->pt_serv_buf_size; in lws_client_ws_upgrade()
/third_party/libwebsockets/lib/plat/unix/
Dunix-resolv.c45 n = read(fd, r, context->pt_serv_buf_size - 1); in lws_plat_asyncdns_init()
/third_party/libwebsockets/lib/core-net/
Dsocks5-client.c107 uint8_t *p = pt->serv_buf, *end = &p[context->pt_serv_buf_size]; in lws_socks5c_generate_msg()
272 wsi->a.context->pt_serv_buf_size, 0); in lws_socks5c_handle_state()
Dservice.c397 (unsigned int)ebuf->len > wsi->a.context->pt_serv_buf_size - LWS_PRE) in lws_buflist_aware_read()
398 ebuf->len = (int)(wsi->a.context->pt_serv_buf_size - LWS_PRE); in lws_buflist_aware_read()
Doutput.c94 n = context->pt_serv_buf_size; in lws_issue_raw()
/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/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-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/
Dcontext.c453 if (info->pt_serv_buf_size) in lws_create_context()
454 s1 = info->pt_serv_buf_size; in lws_create_context()
651 context->pt_serv_buf_size = (unsigned int)s1; in lws_create_context()
1101 u += context->pt_serv_buf_size; in lws_create_context()
1181 (context->count_threads * context->pt_serv_buf_size), in lws_create_context()
1184 context->pt_serv_buf_size, in lws_create_context()
/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.c163 info.pt_serv_buf_size = 8192; in main()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-proxy/
Dmain.c287 info.pt_serv_buf_size = (unsigned int)((6144 * 2) + 2048); in main()
/third_party/libwebsockets/plugins/raw-proxy/
DREADME.md31 info.pt_serv_buf_size = 8192;
/third_party/libwebsockets/lib/roles/http/
Dheader.c417 unsigned char *end = p + context->pt_serv_buf_size - LWS_PRE; in lws_return_http_status()
418 char *body = (char *)start + context->pt_serv_buf_size - 512; in lws_return_http_status()
/third_party/libwebsockets/lib/tls/
Dtls-client.c214 wsi->a.context->pt_serv_buf_size); in lws_client_create_tls()
Dtls-server.c195 context->pt_serv_buf_size, MSG_PEEK); in lws_server_socket_service_ssl()
/third_party/libwebsockets/lib/roles/ws/ext/
Dextension-permessage-deflate.c55 n = (int)wsi->a.context->pt_serv_buf_size; in lws_extension_pmdeflate_restrict_args()
131 n = (int)context->pt_serv_buf_size; in lws_extension_callback_pm_deflate()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-hugeurl/
Dminimal-secure-streams.c413 info.pt_serv_buf_size = (unsigned int)((hugeurl_size * 2) + 2048); in main()
/third_party/libwebsockets/lwsws/
Dmain.c151 info.pt_serv_buf_size = 8192; in context_creation()
/third_party/libwebsockets/include/libwebsockets/
Dlws-context-vhost.h657 unsigned int pt_serv_buf_size; member
/third_party/libwebsockets/lib/roles/http/client/
Dclient-http.c110 n = (int)recv(wsi->desc.sockfd, sb, context->pt_serv_buf_size, 0); in lws_http_client_socket_service()
1134 char *p = pkt, *p1, *end = p + wsi->a.context->pt_serv_buf_size; in lws_generate_client_handshake()
1275 (unsigned int)((pkt + wsi->a.context->pt_serv_buf_size) - p - 12))) in lws_generate_client_handshake()

12