Home
last modified time | relevance | path

Searched refs:lws_container_of (Results 1 – 25 of 51) sorted by relevance

123

/external/libwebsockets/lib/core-net/
Dsequencer.c64 struct lws_context_per_thread *pt = lws_container_of(sul, in lws_sul_seq_heartbeat_cb()
71 lws_seq_t *s = lws_container_of(p, lws_seq_t, seq_list); in lws_sul_seq_heartbeat_cb()
137 lws_seq_event_t *seqe = lws_container_of(d, lws_seq_event_t, in seq_ev_destroy()
175 lws_seq_t *s = lws_container_of(p, lws_seq_t, in lws_seq_destroy_all_on_pt()
186 lws_seq_t *seq = lws_container_of(sul, lws_seq_t, sul_pending); in lws_seq_sul_pending_cb()
197 seqe = lws_container_of(dh, lws_seq_event_t, seq_event_list); in lws_seq_sul_pending_cb()
274 seqe = lws_container_of(dh, lws_seq_event_t, seq_event_list); in lws_seq_check_wsi()
291 lws_seq_t *s = lws_container_of(sul, lws_seq_t, sul_timeout); in lws_seq_sul_timeout_cb()
Dlws-dsh.c105 lws_dsh_obj_t *obj = lws_container_of(d, lws_dsh_obj_t, list); in search_best_free()
123 lws_dsh_t *dsh1 = lws_container_of(d, lws_dsh_t, list); in try_foreign()
147 lws_dsh_obj_t *obj = lws_container_of(d, lws_dsh_obj_t, list); in free_foreign()
160 lws_dsh_obj_t *obj = lws_container_of(d, lws_dsh_obj_t, list); in evict2()
190 lws_dsh_t *dsh1 = lws_container_of(d, lws_dsh_t, list); in evict1()
481 lws_dsh_obj_t *obj = lws_container_of(d, lws_dsh_obj_t, list); in describe_kind()
Dwsi-timeout.c49 struct lws *wsi = lws_container_of(sul, struct lws, sul_hrtimer); in lws_sul_hrtimer_cb()
80 struct lws *wsi = lws_container_of(sul, struct lws, sul_timeout); in lws_sul_wsitimeout_cb()
212 struct lws_timed_vh_protocol *tvp = lws_container_of(sul, in lws_sul_timed_callback_vh_protocol_cb()
282 struct lws *wsi = lws_container_of(sul, struct lws, sul_validity); in lws_validity_cb()
Dservice.c331 struct lws *wsi = lws_container_of(d, struct lws, dll_buflist); in lws_service_adjust_timeout()
512 struct lws *wsi = lws_container_of(d, struct lws, dll_buflist); in lws_service_do_ripe_rxflow()
563 struct lws *wsi = lws_container_of(d, struct lws, dll_buflist); in lws_service_flag_pending()
585 struct lws *wsi = lws_container_of(p, struct lws, in lws_service_flag_pending()
Dstate.c71 lws_container_of(d, lws_state_notify_link_t, list); in _report()
Dsorted-usec-list.c111 lws_container_of(own, struct lws_context_per_thread, in __lws_sul_service_ripe()
/external/libwebsockets/lib/system/async-dns/
Dasync-dns.c48 lws_adns_q_t *q = lws_container_of(d, lws_adns_q_t, list); in lws_adns_get_query()
83 struct lws *w = lws_container_of(d, struct lws, adns); in lws_async_dns_complete()
112 lws_adns_q_t *q = lws_container_of(sul, lws_adns_q_t, sul); in lws_async_dns_sul_cb_retry()
274 lws_adns_q_t *q = lws_container_of(d, lws_adns_q_t, in callback_async_dns()
346 c = lws_container_of(d, lws_adns_cache_t, list); in lws_adns_get_cache()
374 lws_adns_cache_destroy(lws_container_of(d, lws_adns_cache_t, list)); in cache_clean()
382 lws_adns_cache_t *c = lws_container_of(sul, lws_adns_cache_t, sul); in sul_cb_expire()
426 c1 = lws_container_of(lws_dll2_get_tail(&dns->cached), in lws_async_dns_trim_cache()
439 lws_adns_q_destroy(lws_container_of(d, lws_adns_q_t, list)); in clean()
455 lws_adns_q_t *q = lws_container_of(d, lws_adns_q_t, list); in cancel()
[all …]
/external/libwebsockets/lib/secure-streams/
Dsecure-streams-client.c25 lws_sspc_handle_t *h = lws_container_of(sul, lws_sspc_handle_t, sul_retry); in lws_sspc_sul_retry_cb()
204 lws_sspc_metadata_t *md = lws_container_of( in callback_sspc_client()
238 lws_sspc_metadata_t *md = lws_container_of( in callback_sspc_client()
375 lws_sspc_handle_t *h = lws_container_of(d, lws_sspc_handle_t, client_list); in lws_sspc_destroy_dll()
419 lws_container_of(d, lws_sspc_metadata_t, list); in lws_sspc_destroy()
510 md = lws_container_of(d, lws_sspc_metadata_t, list); in _lws_sspc_set_metadata()
Dsecure-streams-serialize.c576 h = lws_container_of(par, lws_sspc_handle_t, parser); in lws_ss_deserialize_parse()
621 h = lws_container_of(par, lws_sspc_handle_t, parser); in lws_ss_deserialize_parse()
684 h = lws_container_of(par, lws_sspc_handle_t, parser); in lws_ss_deserialize_parse()
816 h = lws_container_of(par, lws_sspc_handle_t, parser); in lws_ss_deserialize_parse()
831 h = lws_container_of(par, lws_sspc_handle_t, parser); in lws_ss_deserialize_parse()
846 h = lws_container_of(par, lws_sspc_handle_t, parser); in lws_ss_deserialize_parse()
/external/libwebsockets/lib/system/ntpclient/
Dntpclient.c72 struct vhd_ntpc *v = lws_container_of(sul, struct vhd_ntpc, sul_conn); in lws_ntpc_retry_conn()
99 struct vhd_ntpc *v = lws_container_of(sul, struct vhd_ntpc, sul_write); in lws_ntpc_retry_write()
111 struct vhd_ntpc *v = lws_container_of(l, struct vhd_ntpc, notify_link); in lws_sys_ntpc_notify_cb()
/external/libwebsockets/lib/abstract/
Dabstract.c140 *ai2 = lws_container_of(d, lws_abs_t, abstract_instances); in find_compatible()
213 lws_abs_t *ai2 = lws_container_of(ai->bound.owner, lws_abs_t, in lws_abs_bind_and_create_instance()
262 lws_abs_t *ac = lws_container_of(d, lws_abs_t, bound); in __reap_children()
/external/libwebsockets/READMEs/
DREADME.lws_dll.md16 The list objects point only to themselves, and you use the `lws_container_of`
58 struct mystruct *p = lws_container_of(d, struct lws_dll, list);
96 struct mystruct *p = lws_container_of(d, struct lws_dll2, list);
/external/libwebsockets/lib/secure-streams/system/auth-api.amazon.com/
Dauth.c57 struct lws_context *context = lws_container_of(sul, struct lws_context, in lws_ss_sys_auth_api_amazon_com_kick()
67 struct lws_context *context = lws_container_of(sul, struct lws_context, in lws_ss_sys_auth_api_amazon_com_renew()
/external/libwebsockets/lib/system/dhcpclient/
Ddhcpclient.c190 lws_dhcpc_req_t *r = lws_container_of(sul, lws_dhcpc_req_t, sul_conn); in lws_dhcpc_retry_conn()
227 lws_dhcpc_req_t *r = lws_container_of(sul, lws_dhcpc_req_t, sul_write); in lws_dhcpc_retry_write()
240 lws_dhcpc_req_t *r = lws_container_of(l, lws_dhcpc_req_t, notify_link);
763 lws_dhcpc_req_t *r = lws_container_of(d, lws_dhcpc_req_t, list); in _remove_if()
/external/libwebsockets/lib/abstract/protocols/smtp/
Dsmtp-sequencer.c91 e = lws_container_of(pd2, lws_smtp_email_t, list); in lws_smtpc_kick_internal()
176 e = lws_container_of(d, lws_smtp_email_t, list); in cleanup()
/external/libwebsockets/lib/roles/dbus/
Ddbus.c311 struct lws_role_dbus_timer *r = lws_container_of(rdt, in lws_dbus_remove_timeout()
478 struct lws_context_per_thread *pt = lws_container_of(sul, in lws_dbus_sul_cb()
483 struct lws_role_dbus_timer *r = lws_container_of(rdt, in lws_dbus_sul_cb()
/external/libwebsockets/include/
Dlibwebsockets.h312 #ifndef lws_container_of
313 #define lws_container_of(P,T,M) ((T *)((char *)(P) - offsetof(T, M))) macro
/external/libwebsockets/lib/core/
Dcontext.c55 struct lws_context_per_thread *pt = lws_container_of(sul, in lws_sul_stats_cb()
67 struct lws_context_per_thread *pt = lws_container_of(sul, in lws_sul_peer_limits_cb()
104 struct lws_context *context = lws_container_of(mgr, struct lws_context, in lws_state_notify_protocol_init()
179 struct lws_context *context = lws_container_of(sul, struct lws_context, in lws_context_creation_completion_cb()
1318 return lws_container_of(mgr, struct lws_context, mgr_system); in lws_system_context_from_system_mgr()
/external/libwebsockets/lib/roles/cgi/
Dops-cgi.c90 struct lws_context_per_thread *pt = lws_container_of(sul, in lws_cgi_sul_cb()
/external/libwebsockets/plugin-standalone/
Dprotocol_example_standalone.c49 struct per_vhost_data__dumb_increment *vhd = lws_container_of(w, in uv_timeout_cb_dumb_increment()
/external/libwebsockets/lib/secure-streams/system/fetch-policy/
Dfetch-policy.c72 ss_fetch_policy_t *m = lws_container_of(sul, ss_fetch_policy_t, sul); in policy_set()
/external/libwebsockets/lib/plat/unix/
Dunix-init.c43 lws_container_of(sul, struct lws_context_per_thread, sul_plat); in lws_sul_plat_unix()
/external/libwebsockets/minimal-examples/http-server/minimal-http-server-h2-long-poll/
Dminimal-http-server.c44 struct pss *pss = (struct pss *)lws_container_of(sul, struct pss, sul); in sul_cb()
/external/libwebsockets/minimal-examples/dbus-server/minimal-dbus-server/
Dmain.c401 lws_container_of(rdt, struct lws_dbus_ctx, next); in destroy_dbus_server_listener()
426 lws_container_of(rdt, struct lws_dbus_ctx, next); in spam_connected_clients()
/external/libwebsockets/lib/event-libs/libev/
Dlibev.c46 struct lws_context_per_thread *pt = lws_container_of(handle, in lws_ev_idle_cb()
81 struct lws_io_watcher *lws_io = lws_container_of(watcher, in lws_accept_cb()

123