/third_party/libwebsockets/lib/core-net/ |
D | dummy-callback.c | 71 if (lws_write(wsi, (unsigned char *)buf + LWS_PRE, 0, in stream_close() 84 if (lws_write(wsi, (unsigned char *)buf + LWS_PRE, 5, in stream_close() 188 if (lws_write(wsi, ((unsigned char *)&pkt[1]) + in lws_callback_ws_proxy() 232 if (lws_write(wsi, ((unsigned char *)&pkt[1]) + in lws_callback_ws_proxy() 361 lws_write(wsi, (unsigned char *)buf + in lws_callback_http_dummy() 364 lws_write(wsi, (unsigned char *)buf + in lws_callback_http_dummy() 387 n = lws_write(wsi, wsi->http.pending_return_headers + in lws_callback_http_dummy() 478 n = lws_write(lws_get_parent(wsi), in lws_callback_http_dummy() 482 n = lws_write(lws_get_parent(wsi), (unsigned char *)in, in lws_callback_http_dummy() 702 lws_write(wsi, (unsigned char *)buf + LWS_PRE, 0, in lws_callback_http_dummy()
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-write.h | 226 lws_write(struct lws *wsi, unsigned char *buf, size_t len, 231 lws_write(wsi, (unsigned char *)(buf), len, LWS_WRITE_HTTP)
|
/third_party/libwebsockets/lib/roles/http/ |
D | header.c | 129 if (lws_write(wsi, start, (unsigned int)len, LWS_WRITE_HTTP_HEADERS) != len) in lws_finalize_write_http_header() 484 m = lws_write(wsi, start, lws_ptr_diff_size_t(p, start), in lws_return_http_status() 515 m = lws_write(wsi, start, (unsigned int)n, LWS_WRITE_HTTP); in lws_return_http_status() 551 return lws_write(wsi, start, lws_ptr_diff_size_t(*p, start), in lws_http_redirect()
|
/third_party/libwebsockets/lib/roles/mqtt/client/ |
D | client-mqtt-handshake.c | 170 if (lws_write(wsi, (unsigned char *)&b[LWS_PRE], lws_ptr_diff_size_t(p, start), in lws_mqtt_client_send_connect() 192 if (lws_write(wsi, (unsigned char *)&b[LWS_PRE], lws_ptr_diff_size_t(p, start), in lws_mqtt_client_send_disconnect()
|
/third_party/libwebsockets/plugins/ |
D | protocol_post_demo.c | 238 n = lws_write(wsi, start, lws_ptr_diff_size_t(p, start), in callback_post_demo() 251 n = lws_write(wsi, (unsigned char *)start, (unsigned int)n, in callback_post_demo()
|
D | protocol_lws_openmetrics_export.c | 529 if (lws_write(wsi, start, lws_ptr_diff_size_t(p, start), in callback_lws_openmetrics_export() 719 if (lws_write(wsi, start, lws_ptr_diff_size_t(p, start), in callback_lws_openmetrics_prox_agg() 918 if (lws_write(wsi, start, 1, in callback_lws_openmetrics_prox_server() 1071 if (lws_write(wsi, start, in callback_lws_openmetrics_prox_client() 1122 if (lws_write(wsi, start, lws_ptr_diff_size_t(p, start), in callback_lws_openmetrics_prox_client()
|
D | protocol_dumb_increment.c | 78 m = lws_write(wsi, p, (unsigned int)n, LWS_WRITE_TEXT); in callback_dumb_increment()
|
D | protocol_client_loopback_test.c | 144 n = lws_write(wsi, (unsigned char *)buf + LWS_PRE, in callback_client_loopback_test()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-pmd-corner/ |
D | protocol_lws_minimal.c | 247 m = lws_write(wsi, buf + LWS_PRE, (unsigned int)corner_lengths[pss->last - 1], in callback_minimal()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-raw-proxy/ |
D | minimal-ws-raw-proxy.c | 181 m = lws_write(wsi, data, msg->len, LWS_WRITE_TEXT); in callback_proxy_ws_server() 341 m = lws_write(wsi, data, msg->len, LWS_WRITE_TEXT); in callback_proxy_raw_client()
|
/third_party/libwebsockets/lib/roles/mqtt/ |
D | ops-mqtt.c | 298 if (lws_write(wsi, (uint8_t *)&buf[LWS_PRE], 2, in rops_handle_POLLOUT_mqtt() 334 if (lws_write(wsi, (uint8_t *)&buf[LWS_PRE], 4, in rops_handle_POLLOUT_mqtt() 400 if (lws_write(wsi, (uint8_t *)&buf[LWS_PRE], 4, in rops_handle_POLLOUT_mqtt()
|
/third_party/libwebsockets/plugin-standalone/ |
D | protocol_example_standalone.c | 100 m = lws_write(wsi, p, n, LWS_WRITE_TEXT); in callback_dumb_increment()
|
/third_party/libwebsockets/lib/roles/cgi/ |
D | cgi-server.c | 496 n = lws_write(wsi, start, lws_ptr_diff_size_t(p, start), in lws_cgi_write_split_stdout_headers() 615 m = lws_write(wsi, in lws_cgi_write_split_stdout_headers() 867 m = lws_write(wsi, (unsigned char *)start, (unsigned int)n, (enum lws_write_protocol)cmd); in lws_cgi_write_split_stdout_headers() 882 if (lws_write(wsi, term + LWS_PRE, 5, in lws_cgi_write_split_stdout_headers() 894 m = lws_write(wsi, (unsigned char *)start, 0, in lws_cgi_write_split_stdout_headers()
|
/third_party/libwebsockets/test-apps/ |
D | test-client.c | 275 n = lws_write(wsi, (unsigned char *)&buf[LWS_PRE], in callback_dumb_increment() 403 n = lws_write(wsi, &buf[LWS_PRE], block_size, in callback_lws_mirror() 431 n = (int)lws_write(wsi, &buf[LWS_PRE], (unsigned int)l, in callback_lws_mirror()
|
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-fallback-http-server/ |
D | minimal-raw-fallback-http-server.c | 76 lws_write(wsi, pss->buf, (unsigned int)pss->len, LWS_WRITE_HTTP); in callback_raw_echo()
|
/third_party/libwebsockets/plugins/deaddrop/ |
D | protocol_lws_deaddrop.c | 540 n = lws_write(wsi, start, lws_ptr_diff_size_t(p, start), in callback_deaddrop() 637 n = lws_write(wsi, start, lws_ptr_diff_size_t(p, start), in callback_deaddrop() 650 n = lws_write(wsi, (unsigned char *)start, (unsigned int)n, in callback_deaddrop()
|
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-vhost/ |
D | minimal-raw-vhost.c | 88 if (lws_write(wsi, vhd->buf, (unsigned int)vhd->len, LWS_WRITE_RAW) != in callback_raw_test()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server/ |
D | protocol_lws_minimal.c | 105 m = lws_write(wsi, ((unsigned char *)vhd->amsg.payload) + in callback_minimal()
|
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-adopt-tcp/ |
D | minimal-raw-adopt-tcp.c | 63 if (lws_write(wsi, in callback_raw_test()
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-h2-long-poll/ |
D | minimal-http-server.c | 90 m = lws_write(wsi, p, (unsigned int)n, LWS_WRITE_HTTP); in callback_http()
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-sse/ |
D | minimal-http-server-sse.c | 106 if (lws_write(wsi, (uint8_t *)start, lws_ptr_diff_size_t(p, start), in callback_sse()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-pmd/ |
D | protocol_lws_minimal.c | 111 m = lws_write(wsi, ((unsigned char *)vhd->amsg.payload) + in callback_minimal()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-broker/ |
D | protocol_lws_minimal.c | 136 m = lws_write(wsi, ((unsigned char *)pmsg->payload) + LWS_PRE, in callback_minimal()
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-custom-headers/ |
D | minimal-http-server-custom-headers.c | 93 if (lws_write(wsi, (uint8_t *)pr, (unsigned int)pss->len, LWS_WRITE_HTTP_FINAL) != pss->len) in callback_http()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-pmd-bulk/ |
D | protocol_lws_minimal_pmd_bulk.c | 161 m = lws_write(wsi, start, (unsigned int)n, (enum lws_write_protocol)flags); in callback_minimal_pmd_bulk()
|