/third_party/libwebsockets/include/libwebsockets/ |
H A D | lws-lwsac.h | 25 /** \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 D | lws-struct.h | 64 struct lwsac *ac; 80 struct lwsac *ac_chunks; 273 struct lwsac **ac, int start, int limit);
|
H A D | lws-spa.h | 112 struct lwsac **ac; /* NULL, or pointer to lwsac * to contain all
|
H A D | lws-fts.h | 38 * 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 D | lws-netdev.h | 81 struct lwsac *ac_creds; 82 /**< lwsac holding retreived credentials settings, or NULL */
|
/third_party/libwebsockets/lib/misc/lwsac/ |
H A D | lwsac.c | 26 #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 D | private-lib-misc-lwsac.h | 45 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 D | cached-file.c | 28 #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 D | lwsac.cxx | 28 #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 D | main.c | 2 * 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 D | libwebsockets.hxx | 60 struct lwsac *ac; 61 struct lwsac *iter;
|
H A D | libwebsockets.h | 638 #include <libwebsockets/lws-lwsac.h>
|
/third_party/libwebsockets/lib/cose/ |
H A D | private-lib-cose.h | 81 struct lwsac *ac;
|
/third_party/libwebsockets/lib/misc/fts/ |
H A D | trie.c | 130 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 D | trie-fd.c | 240 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 D | protocol_lws_deaddrop.c | 68 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 D | main.c | 77 struct lwsac *ac = NULL; in main()
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-form-post-lwsac/ |
H A D | minimal-http-server-form-post.c | 2 * lws-minimal-http-server-form-post-lwsac 25 struct lwsac *ac;
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_map/ |
H A D | main.c | 36 struct lwsac *ac = NULL; in main() 100 /* Test 2: Use lwsac item allocators */ in main()
|
/third_party/libwebsockets/lib/secure-streams/ |
H A D | private-lib-secure-streams.h | 84 struct lwsac *imd_ac; /**< for get custom header */ 394 struct lwsac *ac;
|
/third_party/libwebsockets/lib/core/ |
H A D | lws_map.c | 48 * lwsac-aware allocator 54 return lwsac_use((struct lwsac **)map->info.opaque, x, in lws_map_alloc_lwsac()
|
H A D | private-lib-core.h | 650 struct lwsac *ac_policy;
|
/third_party/libwebsockets/plugins/ |
H A D | protocol_fulltext_demo.c | 46 struct lwsac *result;
|
H A D | protocol_lws_openmetrics_export.c | 111 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 D | lws-struct-sqlite.c | 182 struct lwsac **ac, int start, int _limit) in lws_struct_sq3_deserialize()
|