Home
last modified time | relevance | path

Searched refs:lws_dll2 (Results 1 – 25 of 45) sorted by relevance

12

/external/libwebsockets/include/libwebsockets/
Dlws-dll2.h252 struct lws_dll2;
255 typedef struct lws_dll2 { struct
256 struct lws_dll2 *prev; argument
257 struct lws_dll2 *next; argument
262 struct lws_dll2 *tail;
263 struct lws_dll2 *head;
269 lws_dll2_is_detached(const struct lws_dll2 *d) { return !d->owner; } in lws_dll2_is_detached()
272 lws_dll2_owner(const struct lws_dll2 *d) { return d->owner; } in lws_dll2_owner()
274 static LWS_INLINE struct lws_dll2 *
277 static LWS_INLINE struct lws_dll2 *
[all …]
Dlws-struct.h42 struct lws_dll2 chunks;
193 const struct lws_dll2 *dllpos;
Dlws-dbus.h45 struct lws_dll2 next; /* dbusserver ctx: HEAD of accepted list */
Dlws-timeout-timer.h202 struct lws_dll2 list; /* simplify the code by keeping this at start */
/external/libwebsockets/READMEs/
DREADME.lws_dll.md5 Lws supports two kinds of doubly-linked list, `lws_dll` and `lws_dll2`.
8 best to simply use `lws_dll2`.
14 The basics are the same for lws_dll and lws_dll2.
61 ### lws_dll2 Minimal example
67 lws_dll2 list;
92 If you have a `struct lws_dll2 *d` pointing to `list` in struct mystruct, you
96 struct mystruct *p = lws_container_of(d, struct lws_dll2, list);
99 ## Summary Comparing lws_dll and lws_dll2
106 - for `lws_dll`, it reuses an `lws_dll` as the "owner", for `lws_dll2`, there's a
111 - `lws_dll2` knows which owner's list it is participating on. So it can remove
[all …]
DREADME.lws_struct.md14 linked-lists of child objects automatically using [lws_dll2 linked-lists](./README.lws_dll.md)
/external/libwebsockets/lib/core/
Dlws_dll2.c33 int (*cb)(struct lws_dll2 *d, void *user)) in lws_dll2_foreach_safe()
35 lws_start_foreach_dll_safe(struct lws_dll2 *, p, tp, owner->head) { in lws_dll2_foreach_safe()
44 lws_dll2_add_head(struct lws_dll2 *d, struct lws_dll2_owner *owner) in lws_dll2_add_head()
76 lws_dll2_add_before(struct lws_dll2 *d, struct lws_dll2 *after) in lws_dll2_add_before()
115 lws_dll2_add_tail(struct lws_dll2 *d, struct lws_dll2_owner *owner) in lws_dll2_add_tail()
141 lws_dll2_remove(struct lws_dll2 *d) in lws_dll2_remove()
171 lws_dll2_clear(struct lws_dll2 *d) in lws_dll2_clear()
190 lws_start_foreach_dll_safe(struct lws_dll2 *, p, tp, in lws_dll2_add_sorted()
222 lws_start_foreach_dll_safe(struct lws_dll2 *, p, tp, in lws_dll2_describe()
/external/libwebsockets/lib/core-net/
Dsequencer.c31 struct lws_dll2 seq_event_list;
42 struct lws_dll2 seq_list;
69 lws_start_foreach_dll_safe(struct lws_dll2 *, p, tp, in lws_sul_seq_heartbeat_cb()
135 seq_ev_destroy(struct lws_dll2 *d, void *user) in seq_ev_destroy()
173 lws_start_foreach_dll_safe(struct lws_dll2 *, p, tp, in lws_seq_destroy_all_on_pt()
188 struct lws_dll2 *dh; in lws_seq_sul_pending_cb()
268 struct lws_dll2 *dh; in lws_seq_check_wsi()
Dlws-dsh.c102 search_best_free(struct lws_dll2 *d, void *user) in search_best_free()
120 try_foreign(struct lws_dll2 *d, void *user) in try_foreign()
145 free_foreign(struct lws_dll2 *d, void *user) in free_foreign()
158 evict2(struct lws_dll2 *d, void *user) in evict2()
188 evict1(struct lws_dll2 *d, void *user) in evict1()
479 describe_kind(struct lws_dll2 *d, void *user) in describe_kind()
Dprivate-lib-core-net.h684 struct lws_dll2 dll_buflist; /* guys with pending rxflow */
685 struct lws_dll2 same_vh_protocol;
686 struct lws_dll2 vh_awaiting_socket;
688 struct lws_dll2 adns; /* on adns list of guys to tell result */
692 struct lws_dll2 dll_cli_active_conns;
693 struct lws_dll2 dll2_cli_txn_queue;
883 struct lws_dll2 dll;
Dservice.c330 lws_start_foreach_dll(struct lws_dll2 *, d, pt->dll_buflist_owner.head) { in lws_service_adjust_timeout()
510 lws_start_foreach_dll_safe(struct lws_dll2 *, d, d1, in lws_service_do_ripe_rxflow()
562 lws_start_foreach_dll(struct lws_dll2 *, d, pt->dll_buflist_owner.head) { in lws_service_flag_pending()
583 lws_start_foreach_dll_safe(struct lws_dll2 *, p, p1, in lws_service_flag_pending()
Dstate.c69 lws_start_foreach_dll(struct lws_dll2 *, d, mgr->notify_list.head) { in _report()
Dsorted-usec-list.c77 lws_start_foreach_dll_safe(struct lws_dll2 *, p, tp, in __lws_sul_insert()
/external/libwebsockets/lib/secure-streams/
Dprivate-lib-secure-streams.h46 struct lws_dll2 list; /**< pt lists active ss */
47 struct lws_dll2 to_list; /**< pt lists ss with pending to-s */
222 struct lws_dll2 client_list;
270 lws_ss_destroy_dll(struct lws_dll2 *d, void *user);
273 lws_sspc_destroy_dll(struct lws_dll2 *d, void *user);
Dsecure-streams-client.c373 lws_sspc_destroy_dll(struct lws_dll2 *d, void *user) in lws_sspc_destroy_dll()
416 lws_start_foreach_dll_safe(struct lws_dll2 *, d, d1, in lws_sspc_destroy()
508 lws_start_foreach_dll_safe(struct lws_dll2 *, d, d1, in _lws_sspc_set_metadata()
/external/libwebsockets/lib/abstract/
Dprivate-lib-abstract.h47 struct lws_dll2 bound; /* parent or encapsulator */
49 struct lws_dll2 abstract_instances;
Dabstract.c137 find_compatible(struct lws_dll2 *d, void *user) in find_compatible()
260 __reap_children(struct lws_dll2 *d, void *user) in __reap_children()
/external/libwebsockets/lib/system/async-dns/
Dasync-dns.c46 lws_start_foreach_dll_safe(struct lws_dll2 *, d, d1, in lws_adns_get_query()
81 lws_start_foreach_dll_safe(struct lws_dll2 *, d, d1, in lws_async_dns_complete()
272 lws_start_foreach_dll_safe(struct lws_dll2 *, d, d1, in callback_async_dns()
344 lws_start_foreach_dll_safe(struct lws_dll2 *, d, d1, in lws_adns_get_cache()
372 cache_clean(struct lws_dll2 *d, void *user) in cache_clean()
437 clean(struct lws_dll2 *d, void *user) in clean()
453 cancel(struct lws_dll2 *d, void *user) in cancel()
457 lws_start_foreach_dll_safe(struct lws_dll2 *, d3, d4, in cancel()
482 check_tid(struct lws_dll2 *d, void *user) in check_tid()
/external/libwebsockets/lib/roles/mqtt/
Dprivate-lib-roles-mqtt.h304 struct lws_dll2 active_session_list_head;
305 struct lws_dll2 limbo_session_list_head;
361 struct lws_dll2 session_list;
/external/libwebsockets/lib/abstract/protocols/smtp/
Dprivate-lib-abstract-protocols-smtp.h10 struct lws_dll2 list;
/external/libwebsockets/lib/roles/dbus/
Dprivate-lib-roles-dbus.h34 struct lws_dll2 timer_list;
/external/libwebsockets/lib/tls/openssl/
Dprivate-lib-tls-openssl.h38 struct lws_dll2 cc_list;
/external/libwebsockets/minimal-examples/api-tests/api-test-lws_struct-json/
Dmain.c204 struct lws_dll2 target_list;
300 show_target(struct lws_dll2 *d, void *user) in show_target()
/external/libwebsockets/lib/system/dhcpclient/
Ddhcpclient.c683 lws_start_foreach_dll(struct lws_dll2 *, p, context->dhcpc_owner.head) { in lws_dhcpc_status()
707 lws_start_foreach_dll(struct lws_dll2 *, p, context->dhcpc_owner.head) { in lws_dhcpc_find()
761 _remove_if(struct lws_dll2 *d, void *opaque) in _remove_if()
/external/libwebsockets/minimal-examples/dbus-server/minimal-dbus-server/
Dmain.c398 lws_start_foreach_dll_safe(struct lws_dll2 *, rdt, nx, in destroy_dbus_server_listener()
423 lws_start_foreach_dll_safe(struct lws_dll2 *, rdt, nx, in spam_connected_clients()

12