Home
last modified time | relevance | path

Searched refs:lwsac (Results 1 - 25 of 26) sorted by relevance

12

/third_party/libwebsockets/include/libwebsockets/
H A Dlws-lwsac.h25 /** \defgroup lwsac lwsac
35 * lwsac (LWS Allocated Chunks) allocates chunks intended to be larger
50 struct lwsac;
58 * allocated using lwsac.
85 * lwsac_use - allocate / use some memory from a lwsac
87 * \param head: pointer to the lwsac list object
94 * This also serves to init the lwsac if *head is NULL. Basically it does
104 lwsac_use(struct lwsac **head, size_t ensure, size_t chunk_size);
107 * lwsac_use_backfill - allocate / use some memory from a lwsac
[all...]
H A Dlws-struct.h64 struct lwsac *ac;
80 struct lwsac *ac_chunks;
273 struct lwsac **ac, int start, int limit);
H A Dlws-spa.h112 struct lwsac **ac; /* NULL, or pointer to lwsac * to contain all
H A Dlws-fts.h38 * Queries produce their results in an lwsac, using these public API types.
39 * The first thing in the lwsac is always a struct lws_fts_result (see below)
70 * The results lwsac always starts with this. If no results and / or no
96 * lws_fts_destroy() - Finalize a new index file / destroy the trie lwsac
171 /* will be set to the results lwsac */
172 struct lwsac *results_head;
193 * ftsp->results_head is the results lwsac, or NULL. It should be freed with
196 * Returns a pointer into the results lwsac that is a struct lws_fts_result
199 * to be freed since freeing the lwsac will also remove this and everything it
H A Dlws-netdev.h81 struct lwsac *ac_creds;
82 /**< lwsac holding retreived credentials settings, or NULL */
/third_party/libwebsockets/lib/misc/lwsac/
H A Dlwsac.c26 #include "private-lib-misc-lwsac.h"
57 return sizeof(struct lwsac) + (first ? sizeof(struct lwsac_head) : 0); in lwsac_sizeof()
61 lwsac_get_tail_pos(struct lwsac *lac) in lwsac_get_tail_pos()
66 struct lwsac *
67 lwsac_get_next(struct lwsac *lac) in lwsac_get_next()
73 lwsac_extend(struct lwsac *head, size_t amount) in lwsac_extend()
76 struct lwsac *bf; in lwsac_extend()
96 _lwsac_use(struct lwsac **head, size_t ensure, size_t chunk_size, char backfill) in _lwsac_use()
100 struct lwsac *bf = *head; in _lwsac_use()
202 lwsac_use(struct lwsac **hea
[all...]
H A Dprivate-lib-misc-lwsac.h45 struct lwsac { struct
46 struct lwsac *next;
47 struct lwsac *head; /* pointer back to the first chunk */
53 * One of these per lwsac, at start of first chunk
57 struct lwsac *curr;
H A Dcached-file.c28 #include "private-lib-misc-lwsac.h"
72 #define cache_file_to_lac(c) ((struct lwsac *)((char *)c - \
75 sizeof(struct lwsac)))
80 struct lwsac *lac = cache_file_to_lac(cache); in lwsac_use_cached_file_start()
90 struct lwsac *lac; in lwsac_use_cached_file_end()
111 struct lwsac *lac = cache_file_to_lac(*cache); in lwsac_use_cached_file_detach()
131 struct lwsac *lac = NULL; in lwsac_cached_file()
H A Dlwsac.cxx28 #include "private-lib-misc-lwsac.h"
34 struct lwsac *ac2 = NULL, *i; in start()
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lwsac/
H A Dmain.c2 * lws-api-test-lwsac
26 struct lwsac *lwsac = NULL; in main() local
34 lwsl_user("LWS API selftest: lwsac\n"); in main()
41 m = lwsac_use(&lwsac, sizeof(*m), 0); in main()
50 * 2) report some debug info about the lwsac state... those 1000 in main()
54 lwsac_info(lwsac); in main()
74 * 4) deallocate everything (lwsac is also set to NULL). It just in main()
78 lwsac_free(&lwsac); in main()
/third_party/libwebsockets/include/
H A Dlibwebsockets.hxx60 struct lwsac *ac;
61 struct lwsac *iter;
H A Dlibwebsockets.h638 #include <libwebsockets/lws-lwsac.h>
/third_party/libwebsockets/lib/cose/
H A Dprivate-lib-cose.h81 struct lwsac *ac;
/third_party/libwebsockets/lib/misc/fts/
H A Dtrie.c130 struct lwsac *lwsac_head;
131 struct lwsac *lwsac_input_head;
256 struct lwsac *lwsac_head = NULL; in lws_fts_create()
316 struct lwsac *lwsac_head = (*trie)->lwsac_head; in lws_fts_destroy()
H A Dtrie-fd.c240 struct lwsac **linetable_head) in lws_fts_cache_chunktable()
334 ac_record(struct lws_fts_file *jtf, struct lwsac **results_head, in ac_record()
620 struct lwsac *lt_head = NULL; in lws_fts_search()
/third_party/libwebsockets/plugins/deaddrop/
H A Dprotocol_lws_deaddrop.c68 struct lwsac *lwsac_head;
88 struct lwsac *lwsac_head;
136 struct lwsac *lwsac_head = NULL; in scan_upload_dir()
234 /* the old lwsac continues to live while someone else is consuming it */ in scan_upload_dir()
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_struct_sqlite/
H A Dmain.c77 struct lwsac *ac = NULL; in main()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-form-post-lwsac/
H A Dminimal-http-server-form-post.c2 * lws-minimal-http-server-form-post-lwsac
25 struct lwsac *ac;
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_map/
H A Dmain.c36 struct lwsac *ac = NULL; in main()
100 /* Test 2: Use lwsac item allocators */ in main()
/third_party/libwebsockets/lib/secure-streams/
H A Dprivate-lib-secure-streams.h84 struct lwsac *imd_ac; /**< for get custom header */
394 struct lwsac *ac;
/third_party/libwebsockets/lib/core/
H A Dlws_map.c48 * lwsac-aware allocator
54 return lwsac_use((struct lwsac **)map->info.opaque, x, in lws_map_alloc_lwsac()
H A Dprivate-lib-core.h650 struct lwsac *ac_policy;
/third_party/libwebsockets/plugins/
H A Dprotocol_fulltext_demo.c46 struct lwsac *result;
H A Dprotocol_lws_openmetrics_export.c111 struct lwsac *ac; /* the translated metrics, one ac per line */
112 struct lwsac *walk; /* iterator for ac when writing */
336 * lwsac without backfill. Since it's not backfilling, use areas are in in append_om_metric()
337 * linear sequence simplifying walking them. Limiting the lwsac alloc in append_om_metric()
376 * Let's pregenerate the output into an lwsac all at once and
382 * - lwsac block list provides the per-metric structure to
861 * pss lwsac before worrying about anything else in callback_lws_openmetrics_prox_server()
875 /* the lwsac is complete */ in callback_lws_openmetrics_prox_server()
/third_party/libwebsockets/lib/misc/
H A Dlws-struct-sqlite.c182 struct lwsac **ac, int start, int _limit) in lws_struct_sq3_deserialize()

Completed in 16 milliseconds

12