/external/libwebsockets/lib/core-net/ |
D | dummy-callback.c | 61 if (lws_write(wsi, (unsigned char *)buf + LWS_PRE, 0, in stream_close() 75 if (lws_write(wsi, (unsigned char *)buf + LWS_PRE, 5, in stream_close() 177 if (lws_write(wsi, ((unsigned char *)&pkt[1]) + in lws_callback_ws_proxy() 221 if (lws_write(wsi, ((unsigned char *)&pkt[1]) + in lws_callback_ws_proxy() 337 lws_write(wsi, (unsigned char *)buf + in lws_callback_http_dummy() 340 lws_write(wsi, (unsigned char *)buf + in lws_callback_http_dummy() 362 n = lws_write(wsi, wsi->http.pending_return_headers + in lws_callback_http_dummy() 453 n = lws_write(lws_get_parent(wsi), in lws_callback_http_dummy() 457 n = lws_write(lws_get_parent(wsi), (unsigned char *)in, in lws_callback_http_dummy() 675 lws_write(wsi, (unsigned char *)buf + LWS_PRE, 0, in lws_callback_http_dummy()
|
/external/libwebsockets/include/libwebsockets/ |
D | lws-write.h | 214 lws_write(struct lws *wsi, unsigned char *buf, size_t len, 219 lws_write(wsi, (unsigned char *)(buf), len, LWS_WRITE_HTTP)
|
/external/libwebsockets/lib/roles/http/ |
D | header.c | 101 if (lws_write(wsi, start, len, LWS_WRITE_HTTP_HEADERS) != len) in lws_finalize_write_http_header() 457 m = lws_write(wsi, start, lws_ptr_diff(p, start), in lws_return_http_status() 488 m = lws_write(wsi, start, n, LWS_WRITE_HTTP); in lws_return_http_status() 524 return lws_write(wsi, start, *p - start, LWS_WRITE_HTTP_HEADERS | in lws_http_redirect()
|
/external/libwebsockets/plugins/ |
D | protocol_post_demo.c | 227 n = lws_write(wsi, start, lws_ptr_diff(p, start), in callback_post_demo() 240 n = lws_write(wsi, (unsigned char *)start, n, in callback_post_demo()
|
D | protocol_esp32_lws_ota.c | 240 n = lws_write(wsi, start, p - start, LWS_WRITE_HTTP_HEADERS | LWS_WRITE_H2_STREAM_END); in callback_esplws_ota() 252 n = lws_write(wsi, (unsigned char *)pss->result + LWS_PRE, in callback_esplws_ota()
|
D | protocol_client_loopback_test.c | 140 n = lws_write(wsi, (unsigned char *)buf + LWS_PRE, in callback_client_loopback_test()
|
D | protocol_dumb_increment.c | 74 m = lws_write(wsi, p, n, LWS_WRITE_TEXT); in callback_dumb_increment()
|
/external/libwebsockets/plugins/generic-sessions/ |
D | protocol_lws_messageboard.c | 278 if (lws_write(wsi, (unsigned char *)start, p - start, in callback_messageboard() 327 n = lws_write(wsi, (unsigned char *)s, 1, LWS_WRITE_HTTP| in callback_messageboard() 355 n = lws_write(wsi, start, p - start, LWS_WRITE_HTTP_HEADERS); in callback_messageboard()
|
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-server-pmd-corner/ |
D | protocol_lws_minimal.c | 247 m = lws_write(wsi, buf + LWS_PRE, corner_lengths[pss->last - 1], in callback_minimal()
|
/external/libwebsockets/lib/roles/cgi/ |
D | cgi-server.c | 450 n = lws_write(wsi, start, p - start, in lws_cgi_write_split_stdout_headers() 569 m = lws_write(wsi, in lws_cgi_write_split_stdout_headers() 812 m = lws_write(wsi, (unsigned char *)start, n, cmd); in lws_cgi_write_split_stdout_headers() 827 if (lws_write(wsi, term + LWS_PRE, 5, in lws_cgi_write_split_stdout_headers() 839 m = lws_write(wsi, (unsigned char *)start, 0, in lws_cgi_write_split_stdout_headers()
|
/external/libwebsockets/test-apps/ |
D | test-client.c | 261 n = lws_write(wsi, (unsigned char *)&buf[LWS_PRE], in callback_dumb_increment() 381 n = lws_write(wsi, &buf[LWS_PRE], block_size, in callback_lws_mirror() 409 n = lws_write(wsi, &buf[LWS_PRE], l, in callback_lws_mirror()
|
/external/libwebsockets/plugin-standalone/ |
D | protocol_example_standalone.c | 94 m = lws_write(wsi, p, n, LWS_WRITE_TEXT); in callback_dumb_increment()
|
/external/libwebsockets/minimal-examples/raw/minimal-raw-fallback-http-server/ |
D | minimal-raw-fallback-http-server.c | 76 lws_write(wsi, pss->buf, pss->len, LWS_WRITE_HTTP); in callback_raw_echo()
|
/external/libwebsockets/minimal-examples/raw/minimal-raw-adopt-tcp/ |
D | minimal-raw-adopt-tcp.c | 61 if (lws_write(wsi, in callback_raw_test()
|
/external/libwebsockets/minimal-examples/raw/minimal-raw-vhost/ |
D | minimal-raw-vhost.c | 88 if (lws_write(wsi, vhd->buf, vhd->len, LWS_WRITE_RAW) != in callback_raw_test()
|
/external/libwebsockets/plugins/deaddrop/ |
D | protocol_lws_deaddrop.c | 531 n = lws_write(wsi, start, lws_ptr_diff(p, start), in callback_deaddrop() 627 n = lws_write(wsi, start, lws_ptr_diff(p, start), in callback_deaddrop() 640 n = lws_write(wsi, (unsigned char *)start, n, in callback_deaddrop()
|
/external/libwebsockets/lib/secure-streams/protocols/ |
D | ss-ws.c | 110 if (lws_write(wsi, buf + LWS_PRE, buflen, f1) != (int)buflen) { in secstream_ws()
|
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-h2-long-poll/ |
D | minimal-http-server.c | 91 m = lws_write(wsi, p, n, LWS_WRITE_HTTP); in callback_http()
|
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-sse/ |
D | minimal-http-server-sse.c | 100 if (lws_write(wsi, (uint8_t *)start, lws_ptr_diff(p, start), in callback_sse()
|
/external/libwebsockets/plugins/generic-table/ |
D | protocol_table_dirlisting.c | 224 if (lws_write(wsi, (unsigned char *)start, strlen(start), in callback_lws_table_dirlisting() 330 if (lws_write(wsi, (unsigned char *)start, p - start, in callback_lws_table_dirlisting()
|
/external/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()
|
/external/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()
|
/external/libwebsockets/lib/roles/mqtt/ |
D | ops-mqtt.c | 299 if (lws_write(wsi, (uint8_t *)&buf[LWS_PRE], 2, in rops_handle_POLLOUT_mqtt() 364 if (lws_write(wsi, (uint8_t *)&buf[LWS_PRE], 4, in rops_handle_POLLOUT_mqtt()
|
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-custom-headers/ |
D | minimal-http-server-custom-headers.c | 92 if (lws_write(wsi, (uint8_t *)pr, pss->len, LWS_WRITE_HTTP_FINAL) != pss->len) in callback_http()
|
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-dynamic/ |
D | minimal-http-server-dynamic.c | 157 if (lws_write(wsi, (uint8_t *)start, lws_ptr_diff(p, start), n) != in callback_dynamic_http()
|