Searched refs:lws_ring (Results 1 - 17 of 17) sorted by relevance
/third_party/libwebsockets/include/libwebsockets/ |
H A D | lws-ring.h | 25 /** \defgroup lws_ring LWS Ringbuffer APIs 26 * ##lws_ring: generic ringbuffer struct 33 * The lws_ring and its buffer is allocated at runtime on the heap, using 68 * lws_ring only supports a single head, but optionally multiple tails with 80 struct lws_ring; 92 * lws_ring *, or NULL if the allocation failed. 99 LWS_VISIBLE LWS_EXTERN struct lws_ring * 106 * \param ring: the struct lws_ring to destroy 108 * Destroys the ringbuffer allocation and the struct lws_ring itself. 111 lws_ring_destroy(struct lws_ring *rin [all...] |
/third_party/libwebsockets/lib/misc/ |
H A D | lws-ring.c | 27 struct lws_ring * 31 struct lws_ring *ring = lws_malloc(sizeof(*ring), "ring create"); in lws_ring_create() 53 lws_ring_destroy(struct lws_ring *ring) in lws_ring_destroy() 70 lws_ring_get_count_free_elements(struct lws_ring *ring) in lws_ring_get_count_free_elements() 100 lws_ring_get_count_waiting_elements(struct lws_ring *ring, uint32_t *tail) in lws_ring_get_count_waiting_elements() 126 lws_ring_next_linear_insert_range(struct lws_ring *ring, void **start, in lws_ring_next_linear_insert_range() 151 lws_ring_bump_head(struct lws_ring *ring, size_t bytes) in lws_ring_bump_head() 157 lws_ring_insert(struct lws_ring *ring, const void *src, size_t max_count) in lws_ring_insert() 199 lws_ring_consume(struct lws_ring *ring, uint32_t *tail, void *dest, in lws_ring_consume() 255 lws_ring_get_element(struct lws_ring *rin [all...] |
/third_party/libwebsockets/test-apps/ |
H A D | test-sshd.c | 87 struct lws_ring *ring_stdout; 88 struct lws_ring *ring_stderr; 175 struct lws_ring *r; in ssh_ops_tx() 464 struct lws_ring *r = priv->ring_stdout; in ssh_ops_child_process_io()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-broker/ |
H A D | protocol_lws_minimal.c | 61 struct lws_ring *ring; /* ringbuffer holding unsent messages */ 144 vhd->ring, /* lws_ring object */ in callback_minimal()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-ring/ |
H A D | protocol_lws_minimal.c | 9 * This version uses an lws_ring ringbuffer to cache up to 8 messages at a time, 50 struct lws_ring *ring; /* ringbuffer holding unsent messages */ 214 vhd->ring, /* lws_ring object */ in callback_minimal()
|
/third_party/libwebsockets/minimal-examples/client-server/minimal-ws-proxy/ |
H A D | protocol_lws_minimal.c | 9 * This version uses an lws_ring ringbuffer to cache up to 8 messages at a time, 48 struct lws_ring *ring; /* ringbuffer holding unsent messages */ 156 vhd->ring, /* lws_ring object */ in callback_minimal()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-echo/ |
H A D | protocol_lws_minimal_server_echo.c | 34 struct lws_ring *ring;
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-foreign-libuv-smp/ |
H A D | protocol_lws_minimal.c | 52 struct lws_ring *ring; /* {lock_ring} ringbuffer holding unsent content */ 262 vhd->ring, /* lws_ring object */ in callback_minimal()
|
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-echo/ |
H A D | protocol_lws_minimal_client_echo.c | 34 struct lws_ring *ring;
|
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-tx/ |
H A D | minimal-ws-client.c | 50 struct lws_ring *ring; /* ringbuffer holding unsent messages */
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads/ |
H A D | protocol_lws_minimal.c | 48 struct lws_ring *ring; /* {lock_ring} ringbuffer holding unsent content */ 246 vhd->ring, /* lws_ring object */ in callback_minimal()
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-sse-ring/ |
H A D | minimal-http-server-sse-ring.c | 60 struct lws_ring *ring; /* ringbuffer holding unsent messages */ 274 vhd->ring, /* lws_ring object */ in callback_sse()
|
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-smp/ |
H A D | protocol_lws_minimal.c | 48 struct lws_ring *ring; /* {lock_ring} ringbuffer holding unsent content */ 250 vhd->ring, /* lws_ring object */ in callback_minimal()
|
/third_party/libwebsockets/plugins/ |
H A D | protocol_lws_mirror.c | 68 struct lws_ring *ring; 94 * of still unread elements in the ringbuffer and update the lws_ring "oldest
|
/third_party/libwebsockets/lib/core/ |
H A D | private-lib-core.h | 305 struct lws_ring { struct
|
/third_party/libwebsockets/plugins/raw-proxy/ |
H A D | protocol_lws_raw_proxy.c | 66 struct lws_ring *r[2];
|
/third_party/libwebsockets/minimal-examples/dbus-server/minimal-dbus-ws-proxy/ |
H A D | protocol_lws_minimal_dbus_ws_proxy.c | 42 * things in this ringbuffer. But the way lws_ring works, when the message 74 struct lws_ring *ring_out; 342 * freeing it is understood by lws_ring. in dmh_send()
|
Completed in 12 milliseconds