/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-echo/ |
D | protocol_lws_minimal_server_echo.c | 69 const struct msg *pmsg; in callback_minimal_server_echo() local 115 pmsg = lws_ring_get_element(pss->ring, &pss->tail); in callback_minimal_server_echo() 116 if (!pmsg) { in callback_minimal_server_echo() 122 pmsg->binary ? LWS_WRITE_BINARY : LWS_WRITE_TEXT, in callback_minimal_server_echo() 123 pmsg->first, pmsg->final); in callback_minimal_server_echo() 126 m = lws_write(wsi, ((unsigned char *)pmsg->payload) + in callback_minimal_server_echo() 127 LWS_PRE, pmsg->len, (enum lws_write_protocol)flags); in callback_minimal_server_echo() 128 if (m < (int)pmsg->len) { in callback_minimal_server_echo() 134 m, flags, pmsg->first, pmsg->final); in callback_minimal_server_echo() 150 if ((*vhd->options & 1) && pmsg && pmsg->final) in callback_minimal_server_echo()
|
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-echo/ |
D | protocol_lws_minimal_client_echo.c | 108 const struct msg *pmsg; in callback_minimal_client_echo() local 169 pmsg = lws_ring_get_element(pss->ring, &pss->tail); in callback_minimal_client_echo() 170 if (!pmsg) { in callback_minimal_client_echo() 176 pmsg->binary ? LWS_WRITE_BINARY : LWS_WRITE_TEXT, in callback_minimal_client_echo() 177 pmsg->first, pmsg->final); in callback_minimal_client_echo() 180 m = lws_write(wsi, ((unsigned char *)pmsg->payload) + in callback_minimal_client_echo() 181 LWS_PRE, pmsg->len, (enum lws_write_protocol)flags); in callback_minimal_client_echo() 182 if (m < (int)pmsg->len) { in callback_minimal_client_echo() 188 m, flags, pmsg->first, pmsg->final); in callback_minimal_client_echo() 190 if ((*vhd->options & 1) && pmsg && pmsg->final) in callback_minimal_client_echo()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-broker/ |
D | protocol_lws_minimal.c | 86 const struct msg *pmsg; in callback_minimal() local 131 pmsg = lws_ring_get_element(vhd->ring, &pss->tail); in callback_minimal() 132 if (!pmsg) in callback_minimal() 136 m = lws_write(wsi, ((unsigned char *)pmsg->payload) + LWS_PRE, in callback_minimal() 137 pmsg->len, LWS_WRITE_TEXT); in callback_minimal() 138 if (m < (int)pmsg->len) { in callback_minimal()
|
/third_party/libwebsockets/minimal-examples/client-server/minimal-ws-proxy/ |
D | protocol_lws_minimal.c | 98 const struct msg *pmsg; in callback_minimal() local 143 pmsg = lws_ring_get_element(vhd->ring, &pss->tail); in callback_minimal() 144 if (!pmsg) in callback_minimal() 148 m = lws_write(wsi, ((unsigned char *)pmsg->payload) + LWS_PRE, in callback_minimal() 149 pmsg->len, LWS_WRITE_TEXT); in callback_minimal() 150 if (m < (int)pmsg->len) { in callback_minimal()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-ring/ |
D | protocol_lws_minimal.c | 160 const struct msg *pmsg; in callback_minimal() local 201 pmsg = lws_ring_get_element(vhd->ring, &pss->tail); in callback_minimal() 202 if (!pmsg) in callback_minimal() 206 m = lws_write(wsi, ((unsigned char *)pmsg->payload) + in callback_minimal() 207 LWS_PRE, pmsg->len, LWS_WRITE_TEXT); in callback_minimal() 208 if (m < (int)pmsg->len) { in callback_minimal()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads/ |
D | protocol_lws_minimal.c | 154 const struct msg *pmsg; in callback_minimal() local 230 pmsg = lws_ring_get_element(vhd->ring, &pss->tail); in callback_minimal() 231 if (!pmsg) { in callback_minimal() 237 m = lws_write(wsi, ((unsigned char *)pmsg->payload) + LWS_PRE, in callback_minimal() 238 pmsg->len, LWS_WRITE_TEXT); in callback_minimal() 239 if (m < (int)pmsg->len) { in callback_minimal()
|
/third_party/libwebsockets/minimal-examples/dbus-server/minimal-dbus-ws-proxy/ |
D | protocol_lws_minimal_dbus_ws_proxy.c | 641 const struct msg *pmsg; in callback_minimal_dbus_wsproxy() local 700 pmsg = lws_ring_get_element(pss->ring_out, &pss->ring_out_tail); in callback_minimal_dbus_wsproxy() 701 if (!pmsg) { in callback_minimal_dbus_wsproxy() 707 pmsg->binary ? LWS_WRITE_BINARY : LWS_WRITE_TEXT, in callback_minimal_dbus_wsproxy() 708 pmsg->first, pmsg->final); in callback_minimal_dbus_wsproxy() 711 m = lws_write(wsi, ((unsigned char *)pmsg->payload) + LWS_PRE, in callback_minimal_dbus_wsproxy() 712 pmsg->len, flags); in callback_minimal_dbus_wsproxy() 713 if (m < (int)pmsg->len) { in callback_minimal_dbus_wsproxy() 719 m, flags, pmsg->first, pmsg->final); in callback_minimal_dbus_wsproxy()
|
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-tx/ |
D | minimal-ws-client.c | 165 const struct msg *pmsg; in callback_minimal_broker() local 232 pmsg = lws_ring_get_element(vhd->ring, &vhd->tail); in callback_minimal_broker() 233 if (!pmsg) in callback_minimal_broker() 237 m = lws_write(wsi, ((unsigned char *)pmsg->payload) + LWS_PRE, in callback_minimal_broker() 238 pmsg->len, LWS_WRITE_TEXT); in callback_minimal_broker() 239 if (m < (int)pmsg->len) { in callback_minimal_broker()
|
/third_party/openssl/ssl/ |
D | t1_trce.c | 613 const unsigned char **pmsg, size_t *pmsglen) in ssl_print_hexbuf() argument 616 const unsigned char *p = *pmsg; in ssl_print_hexbuf() 627 *pmsg += blen + nlen; in ssl_print_hexbuf() 633 const unsigned char **pmsg, size_t *pmsglen, in ssl_print_version() argument 640 vers = ((*pmsg)[0] << 8) | (*pmsg)[1]; in ssl_print_version() 646 *pmsg += 2; in ssl_print_version() 652 const unsigned char **pmsg, size_t *pmsglen) in ssl_print_random() argument 655 const unsigned char *p = *pmsg; in ssl_print_random() 669 *pmsg += 32; in ssl_print_random() 675 const unsigned char **pmsg, size_t *pmsglen) in ssl_print_signature() argument [all …]
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-foreign-libuv-smp/ |
D | protocol_lws_minimal.c | 157 const struct msg *pmsg; in callback_minimal() local 238 pmsg = lws_ring_get_element(vhd->ring, &pss->tail); in callback_minimal() 239 if (!pmsg) { in callback_minimal() 245 assert(pmsg->payload); in callback_minimal() 249 (char *)pmsg->payload + LWS_PRE); in callback_minimal()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-smp/ |
D | protocol_lws_minimal.c | 154 const struct msg *pmsg; in callback_minimal() local 230 pmsg = lws_ring_get_element(vhd->ring, &pss->tail); in callback_minimal() 231 if (!pmsg) { in callback_minimal() 238 (char *)pmsg->payload + LWS_PRE); in callback_minimal()
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-sse-ring/ |
D | minimal-http-server-sse-ring.c | 161 const struct msg *pmsg; in callback_sse() local 261 pmsg = lws_ring_get_element(vhd->ring, &pss->tail); in callback_sse() 262 if (!pmsg) in callback_sse() 267 (const char *)pmsg->payload); in callback_sse()
|
/third_party/openssl/crypto/ |
D | cryptlib.c | 373 const TCHAR *pmsg = buf; in OPENSSL_showfatal() local 376 1, 0, &pmsg, NULL)) { in OPENSSL_showfatal() 384 OutputDebugString(pmsg); in OPENSSL_showfatal()
|