Home
last modified time | relevance | path

Searched refs:lws_free_set_NULL (Results 1 - 25 of 57) sorted by relevance

123

/third_party/libwebsockets/lib/roles/http/compression/deflate/
H A Ddeflate.c44 lws_free_set_NULL(ctx->u.deflate); in lcs_init_compression_deflate()
51 lws_free_set_NULL(ctx->u.deflate); in lcs_init_compression_deflate()
105 lws_free_set_NULL(ctx->u.deflate); in lcs_destroy_deflate()
/third_party/libwebsockets/lib/core-net/
H A Dclose.c47 lws_free_set_NULL(wsi->cli_hostname_copy); in __lws_reset_wsi()
102 lws_free_set_NULL(wsi->user_space); in __lws_reset_wsi()
118 lws_free_set_NULL(wsi->udp); in __lws_reset_wsi()
127 lws_free_set_NULL(wsi->cli_hostname_copy); in __lws_reset_wsi()
150 //lws_free_set_NULL(wsi->stash); in __lws_reset_wsi()
151 lws_free_set_NULL(wsi->cli_hostname_copy); in __lws_reset_wsi()
254 lws_free_set_NULL(wsi->stash); in __lws_free_wsi()
394 lws_free_set_NULL(wsi->cli_hostname_copy); in __lws_close_free_wsi()
465 lws_free_set_NULL(wsi->stash); in __lws_close_free_wsi()
588 lws_free_set_NULL(ws in __lws_close_free_wsi()
[all...]
/third_party/libwebsockets/lib/core-net/client/
H A Dconnect.c67 lws_free_set_NULL(wsi->stash); in lws_http_client_connect_via_info2()
76 lws_free_set_NULL(wsi->stash); in lws_http_client_connect_via_info2()
79 lws_free_set_NULL(wsi->stash); in lws_http_client_connect_via_info2()
102 lws_free_set_NULL(wsi->stash); in lws_client_stash_create()
545 lws_free_set_NULL(wsi->stash); in lws_client_connect_via_info()
/third_party/libwebsockets/lib/tls/mbedtls/
H A Dlws-genec.c311 lws_free_set_NULL(el[n].buf); in lws_genecdh_new_keypair()
315 lws_free_set_NULL(ctx->u.ctx_ecdh); in lws_genecdh_new_keypair()
385 lws_free_set_NULL(el[n].buf); in lws_genecdsa_new_keypair()
388 lws_free_set_NULL(ctx->u.ctx_ecdsa); in lws_genecdsa_new_keypair()
H A Dlws-genrsa.c38 lws_free_set_NULL(el[n].buf); in lws_genrsa_destroy_elements()
90 lws_free_set_NULL(ctx->ctx);
107 lws_free_set_NULL(ctx->ctx);
190 lws_free_set_NULL(el[n].buf);
H A Dmbedtls-client.c202 lws_free_set_NULL(data); in lws_ssl_client_bio_create()
225 lws_free_set_NULL(data); in lws_ssl_client_bio_create()
/third_party/libwebsockets/lib/abstract/
H A Dabstract.c345 lws_free_set_NULL(abs); in lws_abstract_alloc()
354 lws_free_set_NULL(*pabs); in lws_abstract_free()
/third_party/libwebsockets/lib/roles/mqtt/
H A Dprimitives.c244 lws_free_set_NULL(s->buf); in lws_mqtt_str_free()
246 lws_free_set_NULL(*ps); in lws_mqtt_str_free()
H A Dops-mqtt.c493 lws_free_set_NULL(pub->topic); in rops_close_role_mqtt()
495 lws_free_set_NULL(wsi->mqtt->rx_cpkt_param); in rops_close_role_mqtt()
497 lws_free_set_NULL(wsi->mqtt); in rops_close_role_mqtt()
H A Dmqtt.c904 lws_free_set_NULL(pub->topic); in _lws_mqtt_rx_parser()
905 lws_free_set_NULL(wsi->mqtt->rx_cpkt_param); in _lws_mqtt_rx_parser()
1319 lws_free_set_NULL(w->user_space); in _lws_mqtt_rx_parser()
1359 lws_free_set_NULL(w->user_space); in _lws_mqtt_rx_parser()
1657 lws_free_set_NULL(pub->topic); in _lws_mqtt_rx_parser()
1658 lws_free_set_NULL(wsi->mqtt->rx_cpkt_param); in _lws_mqtt_rx_parser()
1693 lws_free_set_NULL(pub->topic); in _lws_mqtt_rx_parser()
1694 lws_free_set_NULL(wsi->mqtt->rx_cpkt_param); in _lws_mqtt_rx_parser()
2497 lws_free_set_NULL(wsi->user_space); in lws_wsi_mqtt_adopt()
/third_party/libwebsockets/lib/tls/openssl/
H A Dopenssl-x509.c799 lws_free_set_NULL(jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf);
807 lws_free_set_NULL(jwk->e[LWS_GENCRYPTO_RSA_KEYEL_D].buf);
808 lws_free_set_NULL(jwk->e[LWS_GENCRYPTO_RSA_KEYEL_P].buf);
844 lws_free_set_NULL(*x509);
H A Dopenssl-server.c277 lws_free_set_NULL(p);
314 lws_free_set_NULL(p);
942 lws_free_set_NULL(vhost->tls.ss);
/third_party/libwebsockets/lib/secure-streams/
H A Dpolicy-common.c69 lws_free_set_NULL(omd->value__may_own_heap); in _lws_ss_set_metadata()
125 lws_free_set_NULL(omd->value__may_own_heap); in _lws_ss_alloc_set_metadata()
585 lws_free_set_NULL(context->pol_args); in lws_ss_policy_set()
H A Dsecure-streams.c210 lws_free_set_NULL(h->conmon_json); in lws_conmon_ss_json()
291 lws_free_set_NULL(h->conmon_json); in lws_conmon_ss_json()
1392 lws_free_set_NULL(h->conmon_json); in lws_ss_destroy()
1462 lws_free_set_NULL(pmd->value__may_own_heap); in lws_ss_destroy()
1542 lws_free_set_NULL(h); in lws_ss_destroy()
/third_party/libwebsockets/lib/tls/
H A Dlws-genec-common.c109 lws_free_set_NULL(el[n].buf); in lws_genec_destroy_elements()
H A Dlws-gencrypto-common.c689 lws_free_set_NULL(el[n].buf); in lws_gencrypto_destroy_elements()
/third_party/libwebsockets/lib/misc/
H A Ddaemonize.c89 lws_free_set_NULL(lock_path); in lws_daemon_closing()
/third_party/libwebsockets/lib/roles/http/server/
H A Daccess-log.c116 lws_free_set_NULL(wsi->http.access_log.header_log); in lws_prepare_access_log_info()
132 lws_free_set_NULL(wsi->http.access_log.user_agent); in lws_prepare_access_log_info()
133 lws_free_set_NULL(wsi->http.access_log.header_log); in lws_prepare_access_log_info()
/third_party/libwebsockets/lib/system/dhcpclient/
H A Ddhcpclient.c53 lws_free_set_NULL(r); in lws_dhcpc_destroy()
/third_party/libwebsockets/lib/plat/unix/
H A Dunix-init.c237 lws_free_set_NULL(context->lws_lookup); in lws_plat_context_late_destroy()
/third_party/libwebsockets/lib/core/
H A Dprivate-lib-core.h909 #define lws_free_set_NULL(P) do { lws_free(P); (P) = NULL; } while(0) macro
913 #define lws_free_set_NULL(P) do { lws_realloc(P, 0, "free"); (P) = NULL; } while(0) macro
/third_party/libwebsockets/lib/cose/
H A Dcose_key.c729 lws_free_set_NULL(el[n].buf); in lws_cose_key_destroy_elements()
747 lws_free_set_NULL(*pck); in lws_cose_key_destroy()
902 lws_free_set_NULL(ck); in lws_cose_key_generate()
/third_party/libwebsockets/lib/roles/h2/
H A Dops-h2.c671 lws_free_set_NULL(wsi->h2.h2n); in rops_destroy_role_h2()
739 lws_free_set_NULL(wsi->h2.pending_status_body); in rops_close_kill_connection_h2()
1036 lws_free_set_NULL(w->h2.pending_status_body); in rops_perform_user_POLLOUT_h2()
H A Dhpack.c463 lws_free_set_NULL(dyn->entries[idx].value); in lws_dynamic_free()
537 lws_free_set_NULL(dyn->entries[new_index].value); in lws_dynamic_token_insert()
697 lws_free_set_NULL(dyn->entries[n].value); in lws_hpack_destroy_dynamic_header()
699 lws_free_set_NULL(dyn->entries); in lws_hpack_destroy_dynamic_header()
/third_party/libwebsockets/lib/roles/cgi/
H A Dcgi-server.c437 lws_free_set_NULL(wsi->http.cgi); in lws_cgi()
628 lws_free_set_NULL(wsi->http.cgi->headers_buf); in lws_cgi_write_split_stdout_headers()
1092 lws_free_set_NULL(wsi->http.cgi->headers_buf); in lws_cgi_remove_and_kill()

Completed in 21 milliseconds

123